URL translation in ez admin interface(a bug?)

Author Message

K259

Wednesday 10 November 2004 1:23:13 am

Translations at level 1 is ok.

e.g. content/view/full/342 with virtual url: companyinfo
but this don't work:
content/view/full/342 with virtual url: company/info

Translation at level 2-> is not working. Is this a bug, or is it supposed to be this way?

Marco Zinn

Monday 15 November 2004 1:44:30 pm

Are you talking about "manual" URL translations? I guess, these are not supporessed to have / in the "virtual URLs" (so, just "1 level virtual URLs" can be created) ?

But you know, that eZ publish automatically creates "nice URLs" from the names of your objects?
So, if you have an object named "company" at level 1 (ie a folder) and another object called "info" as a child of "company", you should be able to access that page by the URL
http://bla.com/index.php/company/info , as ezPublish understands the "nice url" /company/info .

Marco
http://www.hyperroad-design.com

K259

Tuesday 16 November 2004 6:02:12 am

Nope. Not talking abour nice urls. We also have this, but have dropped this, because nice urls in a depth of more than 3 or 4 levels is meaningless.

Why did people want nice urls? Because they meant it was difficult to remember id-numbers to access pages. Nice urls is good up to 2 levels, but more than this, it's hard to remember all the page-words in a structure, then it's more easy to remember page-id-numbers.

Well, back to what I want ;) If I have a page:
http://www.mycompany.com/content/view/full/64
This page with ID 64 is about employees in a department.
Structure: www.mycompany.com/organization/departement/employees

I was contacted by an editor in this department who wanted an easier way to access this employee page.

I thought we could use url translations in the admin-interface, but this is just possible with one level. This editor wanted that this employee-page should be accessed through:
www.mycompany.com/dep/employees
In eZ publish it's only possible with: www.mycompany.com/employees or www.mycompany.com/depemployees.

I know this can be fixed by adding a Rewriterule in apache.conf, but I want to know if it should be possible in the ez admin interface.

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 22:29:30
Script start
Timing: Jan 18 2025 22:29:30
Module start 'layout'
Timing: Jan 18 2025 22:29:30
Module start 'content'
Timing: Jan 18 2025 22:29:31
Module end 'content'
Timing: Jan 18 2025 22:29:31
Script end

Main resources:

Total runtime1.5871 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 589.1641152.6406
Module start 'layout' 0.00470.0037 741.804739.4766
Module start 'content' 0.00841.5774 781.2813537.3281
Module end 'content' 1.58580.0013 1,318.609412.4375
Script end 1.5871  1,331.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.1957160.0002
Check MTime0.00130.0824160.0001
Mysql Total
Database connection0.00060.039810.0006
Mysqli_queries1.539897.0195570.0270
Looping result0.00050.0288550.0000
Template Total1.551897.820.7759
Template load0.00220.136220.0011
Template processing1.549797.639020.7748
Template load and register function0.00030.016810.0003
states
state_id_array0.00130.084410.0013
state_identifier_array0.00170.105920.0008
Override
Cache load0.00180.1143260.0001
Sytem overhead
Fetch class attribute can translate value0.00030.021920.0002
Fetch class attribute name0.00170.104340.0004
XML
Image XML parsing0.00060.035820.0003
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00190.1174160.0001
String conversion0.00000.000740.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
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/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: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs