Get url alias of related object with mutiple locations

Author Message

Solène Guillot

Monday 07 March 2011 6:47:03 am

Hi

My menu is a set of related objects, but every object has multiple locations.When the user add an object, I would like to get the url_alias to put it in the menu. Is it possible to get the url_alias of the location and not the url_alias of the main node ???

How can I do that ?

Thank you for your help

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 02:14:09
Script start
Timing: Jan 18 2025 02:14:09
Module start 'layout'
Timing: Jan 18 2025 02:14:09
Module start 'content'
Timing: Jan 18 2025 02:14:10
Module end 'content'
Timing: Jan 18 2025 02:14:10
Script end

Main resources:

Total runtime0.6845 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.0050 589.2734152.6563
Module start 'layout' 0.00500.0020 741.929739.5000
Module start 'content' 0.00700.6759 781.4297432.4688
Module end 'content' 0.68290.0015 1,213.89848.1250
Script end 0.6845  1,222.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5180160.0002
Check MTime0.00140.2064160.0001
Mysql Total
Database connection0.00060.080710.0006
Mysqli_queries0.644794.1782460.0140
Looping result0.00040.0578440.0000
Template Total0.652295.320.3261
Template load0.00270.398820.0014
Template processing0.649594.882320.3247
Template load and register function0.00010.016110.0001
states
state_id_array0.00150.219410.0015
state_identifier_array0.00080.114520.0004
Override
Cache load0.00220.317180.0003
Sytem overhead
Fetch class attribute can translate value0.00050.069510.0005
Fetch class attribute name0.00060.093320.0003
XML
Image XML parsing0.00180.267010.0018
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00220.3205160.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
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
1content/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: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs