Path templates (Links) broken in 3.2 final?

Author Message

Marco Zinn

Saturday 20 September 2003 1:22:45 pm

Before I file a bug report:
Can anyone confirm this:
I think, that the pagelayout.tpl is broken in 3.2 final, as the links on the navigation path do not work anymore. They did on 3.2beta2.
Currently, the Links are created with this:
<a href="{concat($Path:item.url, "/")|ezurl}">{$Path:item.text|wash}</a>

In page_toppath.tpl (probably some remainder from 3.2 betas), it is
<a class="path" href={$Path:item.url|ezurl}>
This works, while the concat-construct does not work.

Edit:
I just found, that <a href={concat($Path:item.url, "/")|ezurl}> works. So, the quotes around the { } are the problem.

Marco
http://www.hyperroad-design.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 31 2025 08:04:36
Script start
Timing: Jan 31 2025 08:04:36
Module start 'layout'
Timing: Jan 31 2025 08:04:36
Module start 'content'
Timing: Jan 31 2025 08:04:36
Module end 'content'
Timing: Jan 31 2025 08:04:36
Script end

Main resources:

Total runtime0.0353 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.2891151.2266
Module start 'layout' 0.00590.0028 739.515636.6797
Module start 'content' 0.00870.0247 776.195390.2188
Module end 'content' 0.03330.0019 866.414129.9922
Script end 0.0352  896.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00277.7121140.0002
Check MTime0.00123.2631140.0001
Mysql Total
Database connection0.00082.151510.0008
Mysqli_queries0.00236.391730.0008
Looping result0.00000.054110.0000
Template Total0.00143.910.0014
Template load0.00113.123210.0011
Template processing0.00030.764910.0003
Override
Cache load0.00082.179210.0008
General
dbfile0.014240.120880.0018
String conversion0.00000.025740.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