Url translation: is this possible?

Author Message

Nicolas OTTAVI

Monday 30 October 2006 7:04:11 pm

Hi there,

My tree contains the following subtree

* root content node
|_*Folder
|_*Private

Private is a folder I assigned to a section that only registered user can read.

My problem is that I don't want to have such url when registered read content in Private folder:
/folder/private/news_1 but /folder/news_1

Is it possible to do so with Url Translation module and if yes how would you do ?

Thanks,
C.

Joe Kepley

Tuesday 31 October 2006 7:40:33 am

Sure. Go to the URL Translator on the setup tab, and enter the following into the Virtual URL Forwarding:
New Virtual URL: /folder/news_1
Existing Virtual URL: /folder/private/news_1

Then hit 'Add', and 'Apply Changes'

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

Main resources:

Total runtime1.9839 sec
Peak memory usage8,192.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.1563151.2109
Module start 'layout' 0.00530.0051 739.3672220.6875
Module start 'content' 0.01041.9654 960.05474,199.3906
Module end 'content' 1.97570.0074 5,159.44537.8438
Script end 1.9832  5,167.2891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.01900.9557160.0012
Check MTime0.00130.0646160.0001
Mysql Total
Database connection0.00040.021610.0004
Mysqli_queries1.827892.1348540.0338
Looping result0.00060.0290520.0000
Template Total1.837792.620.9189
Template load0.00240.118620.0012
Template processing1.835392.513420.9177
Template load and register function0.00140.072010.0014
states
state_id_array0.00390.197910.0039
state_identifier_array0.00420.211420.0021
Override
Cache load0.00200.1022190.0001
Sytem overhead
Fetch class attribute can translate value0.00380.191720.0019
Fetch class attribute name0.00530.266020.0026
XML
Image XML parsing0.00020.011820.0001
class_abstraction
Instantiating content class attribute0.00000.000920.0000
General
dbfile0.02621.3218100.0026
String conversion0.00000.000540.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
2content/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
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs