Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[SOLVED] category list - what am I doing wrong?
I am trying to generate a category list as I have done many times before but this time it is not parsing the categories and is producing the following error.
Tag error: <txp:category_list break="li" wraptag="" parent="gallery-c" exclude="gallery-c" children="0"> -> Notice: Undefined variable: rs on line 1185
This is the code I am using. Can anyone see why the error is produced?
<txp:article_custom section="gallery" limit="1" time="any">
<ul id="nav" class="sf-menu">
<li><a href="<txp:site_url />gallery/">Gallery Home</a></li>
<txp:category_list break="li" wraptag="" parent="gallery-c" exclude="gallery-c" children="0">
<txp:category title="1" link="1" section="gallery" />
</txp:category_list>
</ul>
</txp:article_custom>
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: [SOLVED] category list - what am I doing wrong?
solved – I had a typo in the category name
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline