url vs url_alias

Author Message

Sébastien Morel

Sunday 29 April 2007 6:05:12 am

Hi,

Maybe a simply question :
What's the real diffrence between url and url_alias ?
http://ez.no/doc/ez_publish/technical_manual/3_8/templates/the_template_language/array_and_object_inspection

In all aof my template I use {$node.url_alias|ezurl} but I have never see a $node.url different to the $node.url_alias.

I want to make an override condition on the url_alias but I don't know how change the url_alias of a node.

It is possible ? I have test with the Url Translator, the redirect works but the $node.url_alias doesn't change.

Thanks
Séb

--
eZ c'est plus fort que toi !
http://www.ez-france.org
http://blog.plopix.net
@Novactive (http://www.novactive.com)

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 18:40:44
Script start
Timing: Jan 18 2025 18:40:44
Module start 'layout'
Timing: Jan 18 2025 18:40:44
Module start 'content'
Timing: Jan 18 2025 18:40:45
Module end 'content'
Timing: Jan 18 2025 18:40:45
Script end

Main resources:

Total runtime0.8251 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 587.7969152.6094
Module start 'layout' 0.00590.0021 740.406339.4141
Module start 'content' 0.00800.8159 779.8203470.6250
Module end 'content' 0.82390.0011 1,250.44538.3438
Script end 0.8250  1,258.7891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4700160.0002
Check MTime0.00140.1692160.0001
Mysql Total
Database connection0.00070.087910.0007
Mysqli_queries0.786395.3002460.0171
Looping result0.00040.0480440.0000
Template Total0.790195.820.3950
Template load0.00220.269320.0011
Template processing0.787895.489220.3939
Template load and register function0.00010.011010.0001
states
state_id_array0.00200.248510.0020
state_identifier_array0.00140.173320.0007
Override
Cache load0.00180.2157130.0001
Sytem overhead
Fetch class attribute can translate value0.00050.060410.0005
Fetch class attribute name0.00070.083520.0003
XML
Image XML parsing0.00050.061510.0005
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00070.0862160.0000
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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs