is this bug ?

Author Message

Selmah Maxim

Sunday 04 May 2003 2:07:01 pm

i had made class for test, named with mycats, and it`s have 3 input (cat_name,desc,active), and i have insert some values to the site with this class.
now, i worte this lines to list the names, work fine, but strange, coz want`n show up the values just with item.name attribute , but the are no attribute with like this in the class !!
------------------
with item.cat_name, i got this bug line :
Error: eZTemplate @ test.tpl:18[0] May 05 2002 00:08:53
No such attribute for object(ezcontentobjecttreenode): cat_name
Choose one of following:
---------------------
not listing the attributes !!!

____________ tpl code _______

{let test=fetch( 'content', 'list', hash(parent_node_id, 321))}
{section name=CAT loop=$test}
{$CAT:item.name|wash}<br>
{/section}
{/let}

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.