Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#16 2010-06-03 22:13:55
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Outputing a list of articles for specific category on landing page
What the tag trace seems to say is that your articles 56, 57 and 58 don’t have a value in custom field ‘Subcategorie’. If you are sure you entered a value, is the name of the custom field spelled correctly? Does it output anything if you just put <txp:custom_field name="Subcategorie" /> in your form -landing-subcat?
Edit: I noticed your post in the glz_custom_fields thread. If this is about the same site, and my above suggestions don’t help, did you check if the plugin could be interfering?
Last edited by els (2010-06-03 22:21:10)
Offline
Re: Outputing a list of articles for specific category on landing page
Thx for your pointers! It’s now working. For the sake of reference here is the sectionpage code:-
<txp:if_individual_article>
<h1>single article needs own form</h1>
<txp:article />
<txp:else />
<txp:if_category>
<txp:if_category name="export-landingpage">
<h1>Export-landingpage</h1>
<ul class="category" <txp:category />>
<txp:article form="-landingpg-cat-export" />
</ul>
<txp:else />
<h1><txp:category title="1" />: This is a child category page</h1>
<ul class="category" <txp:category />>
<txp:article form="-landingpg-cat-child" />
</ul>
</txp:if_category>
<txp:else />
<h1>Assortiment - This is the section landing page</h1>
<ul class="main-categories">
<txp:article_custom section="assortiment" category="assortiment" sort="title" form="-landingpg-cat" />
</ul>
</txp:if_category>
</txp:if_individual_article>
I wouldn’t have got here without your pointers Els, many many thx.
Last edited by Timid&friendly (2010-06-04 05:26:33)
I think, therefore I AM, … … er … I think :-?
Offline
#18 2010-06-04 08:00:06
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Outputing a list of articles for specific category on landing page
Glad you got it to work :)
Offline