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

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

eZ debug

Timing: Jan 31 2025 01:24:27
Script start
Timing: Jan 31 2025 01:24:27
Module start 'layout'
Timing: Jan 31 2025 01:24:27
Module start 'content'
Timing: Jan 31 2025 01:24:27
Module end 'content'
Timing: Jan 31 2025 01:24:27
Script end

Main resources:

Total runtime0.0208 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.3906151.2422
Module start 'layout' 0.00550.0032 739.6328220.7500
Module start 'content' 0.00870.0109 960.3828997.8828
Module end 'content' 0.01960.0012 1,958.265629.9922
Script end 0.0207  1,988.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002411.7650140.0002
Check MTime0.00104.9566140.0001
Mysql Total
Database connection0.00115.414410.0011
Mysqli_queries0.002210.707130.0007
Looping result0.00000.053910.0000
Template Total0.00094.210.0009
Template load0.00073.276810.0007
Template processing0.00020.919010.0002
Override
Cache load0.00052.300410.0005
General
dbfile0.00021.155480.0000
String conversion0.00000.027540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs