change breadcrumb location

Author Message

Fátima Chapri

Tuesday 17 May 2011 2:51:46 am

Hi,

I wan to include the breadcrumb in templates full view, instead of the pagelayout.

Whenever i try including in (for example) full/article.tpl the breadcrumb doesn't appear.

I'm using the same include code as the one used in pagelayout.tpl:

"

{if $pagedata.show_path}
{include uri='design:page_toppath.tpl'}
{/if}

"

Jean-Luc Nguyen

Thursday 19 May 2011 5:48:42 am

Hi Fátima,

I don't think the $pagedata variable exist in your article.tpl.

You should remove the if condition.

http://www.acidre.com

Fátima Chapri

Monday 23 May 2011 1:49:05 am

Thanks for your reply jean.

I removed the if condition, but it doesn't appear.

Any other suggestions?

Jean-Luc Nguyen

Monday 23 May 2011 2:03:27 am

Hi,

You should activate the debug mode to display the template error.

http://www.acidre.com

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

Main resources:

Total runtime1.8406 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0092 589.0313152.6250
Module start 'layout' 0.00920.0032 741.656339.4531
Module start 'content' 0.01241.8264 781.1094539.2734
Module end 'content' 1.83880.0018 1,320.382812.1641
Script end 1.8405  1,332.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00480.2607160.0003
Check MTime0.00150.0838160.0001
Mysql Total
Database connection0.00060.034110.0006
Mysqli_queries1.784096.9290600.0297
Looping result0.00060.0331580.0000
Template Total1.793897.520.8969
Template load0.00220.118320.0011
Template processing1.791697.339520.8958
Template load and register function0.00020.009210.0002
states
state_id_array0.00190.102610.0019
state_identifier_array0.00290.158820.0015
Override
Cache load0.00180.1002240.0001
Sytem overhead
Fetch class attribute can translate value0.00070.038920.0004
Fetch class attribute name0.00100.057050.0002
XML
Image XML parsing0.00080.045720.0004
class_abstraction
Instantiating content class attribute0.00000.001060.0000
General
dbfile0.00090.0499160.0001
String conversion0.00000.000440.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs