Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-05-17 13:29:16

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

[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

#2 2012-05-17 15:13:58

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

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

Board footer

Powered by FluxBB