Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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
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
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