Forums / General / 4.1 : New url translator system explanation somewhere ?

4.1 : New url translator system explanation somewhere ?

Author Message

H-Works Agency

Tuesday 21 April 2009 6:23:31 am

Hello,

I installed the 4.1 version and i am fighting to understand how works the url translator in the setup tab.

First when i insert a url translation is not visible anymore in the list, its now visible in a separate view "/content/urlalias/5934" but there is no way to access this view except entering it by hand ?

Why all those urltransformation are not simply in "/content/urltranslator" as before ?

Second i can't make redirection from content for exemple : redirecting "/news" to "/home/news" doesn't work if those two pages exists. In this case i am having this validation error :

URL Alias <</news>> already exists and points to <<content/view/full/10793>>

Is it normal ? How can we thus redirect pages to oneanother ? I am lost here.

EZP is Great

Gaetano Giunta

Tuesday 21 April 2009 12:54:58 pm

A little help:

whenn you create an url alias that points to an existing node url, it will create a node-url-alias.
Those are unfortunately not shown in the list of url-aliases (hence it looks like they disappear), but you can see them if you click on the icon corresponding to the given node in the navigation treemenu and on the pop-up menu choose advance | url-alias management.

There is already a feature request in the tracker to add a management page where all of those aliases are listed, as having to check node by node is a bit of a waste ot time / unfeasible.

As for redirecting "/news" to "/home/news", I think the best solution is to rename or delete the "/news" object (and then add an url alias). What use is an object that cannot be accessed because it redirects to another node object?

Principal Consultant International Business
Member of the Community Project Board

H-Works Agency

Wednesday 22 April 2009 5:51:12 am

Hello Gaetano and thanx a lot for your answers.

In my case i use the url translator system to "hide" a parent folder full view that shouldn't be seen.

For exemple i have this tree "Home -> Skateboard -> News".

I don't want users to be able to hit "/skateboard" because its only a folder thats hold subfolders. Instead i want the system to display "/skateboard/news".

Is the new url translator able to deal with this ?

Because in 3.9 or 4.0 the url translator kind of override the node publication url_alias.

If i understand the process, a certain object say "content/view/full/2" can't have multiple url_aliases if those url_aliases already exists ?

EZP is Great

Gaetano Giunta

Wednesday 22 April 2009 10:19:25 am

To hide a node completely while keeping children visible, you can move it to a section that users have not access to, and you're done (if the node already has children, you will need to move them back to standard section).

There is a nice tutorial in articles section: "Helper Child Nodes: User-Friendly Search Results and Preventing Full Node Views" that might also give you some ideas

Principal Consultant International Business
Member of the Community Project Board

eZ debug

Timing: Jan 30 2025 20:32:28
Script start
Timing: Jan 30 2025 20:32:28
Module start 'content'
Timing: Jan 30 2025 20:32:28
Module end 'content'
Timing: Jan 30 2025 20:32:29
Script end

Main resources:

Total runtime0.3594 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0098 588.0703370.2813
Module start 'content' 0.00980.0130 958.35161,005.6719
Module end 'content' 0.02280.3365 1,964.02343,894.5391
Script end 0.3593  5,858.5625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00461.2665200.0002
Check MTime0.00140.3883200.0001
Mysql Total
Database connection0.00070.205310.0007
Mysqli_queries0.258471.90821410.0018
Looping result0.00170.46231390.0000
Template Total0.336193.510.3361
Template load0.00080.236010.0008
Template processing0.335393.295810.3353
Override
Cache load0.00060.162210.0006
Sytem overhead
Fetch class attribute can translate value0.00190.516710.0019
XML
Image XML parsing0.00030.078510.0003
General
dbfile0.00882.4431200.0004
String conversion0.00000.001930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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