2012-05-17 13:29:16

colak
Admin
omega
Real name: Yiannis
From: Cyprus
Known languages: el, en
Website

[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>

Offline

 

2012-05-17 15:13:58

colak
Admin
omega
Real name: Yiannis
From: Cyprus
Known languages: el, en
Website

Re: [SOLVED] category list - what am I doing wrong?

solved – I had a typo in the category name

Offline

 

Powered by FluxBB