Thursday 18 August 2011 7:28:43 am

» Back to Roadmap

Description

FROM Customer:
we are currently upgrading to eZ 4 from eZ 3 and noticed now that we got some problems with our paths and overrides. We are using about 15 different languages. In the new system we also want to use the new urlalias system iri.
In the past we where used to set an override like this
[left_column_top_images2]
Source=left_column_top.tpl
MatchFile=left_column/top_images.tpl
Subdir=templates
Match[url_alias]=contact
Since now it looks like we need to amp stuff for each language
English
[left_column_top_images2]
Source=left_column_top.tpl
MatchFile=left_column/top_images.tpl
Subdir=templates
Match[url_alias]=Contact
German
[left_column_top_images2]
Source=left_column_top.tpl
MatchFile=left_column/top_images.tpl
Subdir=templates
Match[url_alias]=Kontact
and so on.....
AS you can see this is impossible for us to maintain this. What is the preferred way in doing this?
Ideally we need would like to use for example the tree path identification string or Some numeric representation "/2/123"

No reply yet!

You must be logged in to post messages in this topic!

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 30 2025 07:11:14
Script start
Timing: Jan 30 2025 07:11:14
Module start 'layout'
Timing: Jan 30 2025 07:11:14
Module start 'content'
Timing: Jan 30 2025 07:11:14
Module end 'content'
Timing: Jan 30 2025 07:11:14
Script end

Main resources:

Total runtime0.1879 sec
Peak memory usage8,192.0000 KB
Database Queries53

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0083 588.1563151.2109
Module start 'layout' 0.00830.0048 739.3672220.6953
Module start 'content' 0.01310.1738 960.06253,493.7344
Module end 'content' 0.18690.0009 4,453.796914.0859
Script end 0.1878  4,467.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00341.8072150.0002
Check MTime0.00150.8000150.0001
Mysql Total
Database connection0.00060.317810.0006
Mysqli_queries0.098952.6162530.0019
Looping result0.00050.2799500.0000
Template Total0.109658.320.0548
Template load0.00191.037420.0010
Template processing0.107657.279220.0538
Template load and register function0.00160.861210.0016
states
state_id_array0.00301.602620.0015
state_identifier_array0.00201.067830.0007
Override
Cache load0.00150.8151270.0001
Sytem overhead
Fetch class attribute name0.00371.994910.0037
class_abstraction
Instantiating content class attribute0.00000.002710.0000
General
dbfile0.00070.3596100.0001
String conversion0.00000.005540.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.tplforum_topic/full.tplextension/community_design/design/suncana/override/templates/forum_topic/full.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.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/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: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs