Forums / Setup & design / friend deleted show children attribute . need serious help!

friend deleted show children attribute . need serious help!

Author Message

Shawn Snyder

Tuesday 14 March 2006 10:03:07 pm

i recently lost the show children attribute. No articles were being displayed after the deletion. I atempted to re-create it. When I recreated it, it appeared to work, but new content no longer appears on my site. I'm fearing that show children attrib is hard coded somewhere for node id 158. My new show children node id is 235.

I attempted to change the node id to 158 in the ezcontentclass attribute table, but this didn't actually work...

Any ideas!! I would be so grateful..

Thanks,

Shawn

Antoine Schmid

Thursday 16 March 2006 5:43:01 am

Hello,

I'm not sure to understand what you mean by "I've lost the show children attribute". But this parameter is fetched in the template who display your node.

At the beginning, there should be something like this:

{default with_children=$node.data_map.show_children.content}

Later in your template, you can control the displaying of the children with a simple test like
{if $with_children}...
or
{section show=$with_children}...

Try to see which template is called to display your node with the 'Quick Settings'->Debug output, Template debug, Inline template debug, List of used templates.

If this doesn't work, give us more details to have a better help

Antoine