Thursday 18 August 2011 7:28:43 am
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!
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 |
Total runtime | 0.1879 sec |
Peak memory usage | 8,192.0000 KB |
Database Queries | 53 |
Checkpoint | Start (sec) | Duration (sec) | Memory at start (KB) | Memory used (KB) |
---|---|---|---|---|
Script start | 0.0000 | 0.0083 | 588.1563 | 151.2109 |
Module start 'layout' | 0.0083 | 0.0048 | 739.3672 | 220.6953 |
Module start 'content' | 0.0131 | 0.1738 | 960.0625 | 3,493.7344 |
Module end 'content' | 0.1869 | 0.0009 | 4,453.7969 | 14.0859 |
Script end | 0.1878 | 4,467.8828 |
Accumulator | Duration (sec) | Duration (%) | Count | Average (sec) |
---|---|---|---|---|
Ini load | ||||
Load cache | 0.0034 | 1.8072 | 15 | 0.0002 |
Check MTime | 0.0015 | 0.8000 | 15 | 0.0001 |
Mysql Total | ||||
Database connection | 0.0006 | 0.3178 | 1 | 0.0006 |
Mysqli_queries | 0.0989 | 52.6162 | 53 | 0.0019 |
Looping result | 0.0005 | 0.2799 | 50 | 0.0000 |
Template Total | 0.1096 | 58.3 | 2 | 0.0548 |
Template load | 0.0019 | 1.0374 | 2 | 0.0010 |
Template processing | 0.1076 | 57.2792 | 2 | 0.0538 |
Template load and register function | 0.0016 | 0.8612 | 1 | 0.0016 |
states | ||||
state_id_array | 0.0030 | 1.6026 | 2 | 0.0015 |
state_identifier_array | 0.0020 | 1.0678 | 3 | 0.0007 |
Override | ||||
Cache load | 0.0015 | 0.8151 | 27 | 0.0001 |
Sytem overhead | ||||
Fetch class attribute name | 0.0037 | 1.9949 | 1 | 0.0037 |
class_abstraction | ||||
Instantiating content class attribute | 0.0000 | 0.0027 | 1 | 0.0000 |
General | ||||
dbfile | 0.0007 | 0.3596 | 10 | 0.0001 |
String conversion | 0.0000 | 0.0055 | 4 | 0.0000 |
Note: percentages do not add up to 100% because some accumulators overlap |
Usage | Requested template | Template | Template loaded | Edit | Override |
---|---|---|---|---|---|
1 | node/view/full.tpl | forum_topic/full.tpl | extension/community_design/design/suncana/override/templates/forum_topic/full.tpl | ||
1 | content/datatype/view/ezxmltext.tpl | <No override> | extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tpl | ||
1 | content/datatype/view/ezxmltags/line.tpl | <No override> | design/standard/templates/content/datatype/view/ezxmltags/line.tpl | ||
1 | content/datatype/view/ezxmltags/paragraph.tpl | <No override> | extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tpl | ||
1 | print_pagelayout.tpl | <No override> | extension/community/design/community/templates/print_pagelayout.tpl | ||
Number of times templates used: 5 Number of unique templates used: 5 |
Time used to render debug report: 0.0001 secs