Main node problem with browse action

Author Message

Francisca Hernandez

Tuesday 21 October 2003 11:17:44 am

When you do a browse from an object it loses the main node.
How to fix this problem?
Thanks in advanced!
Francisca

Paul Forsyth

Tuesday 21 October 2003 11:21:20 am

Can you give a detailed example of when this happens?

paul

Thomas Schamm

Tuesday 21 October 2003 5:45:24 pm

Do you use a custom template for browsing, if so, you have to pass the main_node_id with a post variable.
I use <input type="hidden" name="MainNodeID" value="{$object.main_parent_node_id}" /> for this.

If not, please give like Paul said, a more concret example.

Greetings, Thomas

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 18 2025 16:25:05
Script start
Timing: Jan 18 2025 16:25:05
Module start 'layout'
Timing: Jan 18 2025 16:25:05
Module start 'content'
Timing: Jan 18 2025 16:25:06
Module end 'content'
Timing: Jan 18 2025 16:25:06
Script end

Main resources:

Total runtime0.9356 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 589.0703152.6250
Module start 'layout' 0.00590.0025 741.695339.4453
Module start 'content' 0.00840.9256 781.1406499.5703
Module end 'content' 0.93400.0016 1,280.71098.1563
Script end 0.9356  1,288.8672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3318160.0002
Check MTime0.00130.1366160.0001
Mysql Total
Database connection0.00090.095110.0009
Mysqli_queries0.895795.7294590.0152
Looping result0.00050.0576570.0000
Template Total0.907497.020.4537
Template load0.00200.217620.0010
Template processing0.905496.766920.4527
Template load and register function0.00020.017210.0002
states
state_id_array0.00110.118310.0011
state_identifier_array0.00210.221020.0010
Override
Cache load0.00160.1763150.0001
Sytem overhead
Fetch class attribute can translate value0.00050.055930.0002
Fetch class attribute name0.00190.199730.0006
XML
Image XML parsing0.00030.034930.0001
class_abstraction
Instantiating content class attribute0.00000.000830.0000
General
dbfile0.00060.0617100.0001
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs