Textpattern 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: 4,884
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>

Yiannis
——————————
neme.org | neme-imca.org | hblack.net | LABS

Offline

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

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 4,884
Website

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

solved – I had a typo in the category name


Yiannis
——————————
neme.org | neme-imca.org | hblack.net | LABS

Offline

Board footer

Powered by FluxBB