[fixed] how to do a link to a content without the layout

Author Message

SEBBANE Alexandre

Thursday 18 October 2007 6:56:36 am

i have a content which is access with a particular layout( mail ).

i would like to link to this node in the normal layout

so i try $node.url_alias but it makes the link with the layout ..

Do you have an idea ?

Paris, France

Pascal Specht

Thursday 18 October 2007 7:25:21 am

Hi Alexandre,

did you look at the content of the variable $module_result.path ? Actually it's an array, and as far as I remember, you may find what you're looking for...

{$module_result.path|attributes(show)} should give you a quick check if my guess is right...

</Pascal>

SEBBANE Alexandre

Thursday 18 October 2007 7:39:37 am

{$node.url|ezroot("no","full")}

that is the answer....

Paris, France

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

Main resources:

Total runtime0.8992 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.0051 590.5156152.6563
Module start 'layout' 0.00510.0030 743.171939.5078
Module start 'content' 0.00810.8898 782.6797537.3672
Module end 'content' 0.89790.0013 1,320.046912.0938
Script end 0.8992  1,332.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3637160.0002
Check MTime0.00140.1546160.0001
Mysql Total
Database connection0.00080.093010.0008
Mysqli_queries0.851294.6626570.0149
Looping result0.00070.0789550.0000
Template Total0.866796.420.4334
Template load0.00200.222520.0010
Template processing0.864796.162220.4323
Template load and register function0.00010.012110.0001
states
state_id_array0.00220.243910.0022
state_identifier_array0.00120.132720.0006
Override
Cache load0.00160.1812180.0001
Sytem overhead
Fetch class attribute can translate value0.00040.045220.0002
Fetch class attribute name0.00100.107450.0002
XML
Image XML parsing0.00170.188320.0008
class_abstraction
Instantiating content class attribute0.00000.001460.0000
General
dbfile0.00170.1937220.0001
String conversion0.00000.001040.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs