Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-07-18 10:52:21

leonm
New Member
Registered: 2013-07-18
Posts: 3

<txp:section /> not working with <txp:custom_article>

Hi,

I’m having trouble with the following code:
<txp:article_custom form="myform" section="<txp:section />" />
I want to list all articles of the current section. When inserting the name of the section instead of <txp:section />
it works properly.
Is there a workaround or a plugin to solve this issue?

Thanks for your help.

Last edited by leonm (2013-07-18 10:52:55)

Offline

#2 2013-07-18 10:57:49

[Axel]
Member
From: Switzerland/Denmark
Registered: 2007-07-26
Posts: 65
Website

Re: <txp:section /> not working with <txp:custom_article>

what do you have in the form “myform”?


Greetz [Axel]

Offline

#3 2013-07-18 11:00:19

leonm
New Member
Registered: 2013-07-18
Posts: 3

Re: <txp:section /> not working with <txp:custom_article>

I’m using textpattern tags to create a list of articles:
<txp:if_first_article><ul></txp:if_first_article> <txp:permlink><li><txp:title /><li></txp:permlink> <txp:if_last_article></ul></txp:if_last_article>

Offline

#4 2013-07-18 11:01:07

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,549
Website GitHub Twitter

Re: <txp:section /> not working with <txp:custom_article>

you should use simple cote around txp:section like this:

<txp:article_custom form="myform" section='<txp:section />' />

Offline

#5 2013-07-18 11:03:23

leonm
New Member
Registered: 2013-07-18
Posts: 3

Re: <txp:section /> not working with <txp:custom_article>

Dragondz schrieb:

you should use simple cote around txp:section like this:

<txp:article_custom form="myform" section='<txp:section />' />

Thank you for your answer. Now everything just works fine!

Offline

Board footer

Powered by FluxBB