Get full URL

Author Message

Imobach González Sosa

Monday 07 June 2004 11:12:20 am

Hi all, I'm interested in showing in my site the complete URL of a node, for example: http://www.example.com/news/ezpublish_34_released, ok? I'm trying to achieve it using ezurl() operator (with url_alias), but it doesn't work. It only shows: /news/ezpublish_34_released. I know, the link works fine, but I wanna the full URL to be shown.

I hope I explained in the right way.

Ideas?

Thank you in advance.

Eirik Alfstad Johansen

Monday 07 June 2004 11:44:56 am

Hi Imobach,

Try the following:

{concat("http://",ezini( 'SiteSettings', 'SiteURL'),"/",$node.url_alias)}

Sincerely,

Eirik Johansen
http://www.netmaking.no/

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Imobach González Sosa

Monday 07 June 2004 1:56:50 pm

Thank you Eirik, it works pretty fine ;-)

See ya!

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 21:14:46
Script start
Timing: Jan 18 2025 21:14:46
Module start 'layout'
Timing: Jan 18 2025 21:14:46
Module start 'content'
Timing: Jan 18 2025 21:14:48
Module end 'content'
Timing: Jan 18 2025 21:14:48
Script end

Main resources:

Total runtime1.3649 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.0065 591.6563152.6094
Module start 'layout' 0.00660.0031 744.265639.3984
Module start 'content' 0.00961.3538 783.6641529.9922
Module end 'content' 1.36340.0014 1,313.65638.2031
Script end 1.3648  1,321.8594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.2864160.0002
Check MTime0.00170.1237160.0001
Mysql Total
Database connection0.00120.087910.0012
Mysqli_queries1.314696.3149570.0231
Looping result0.00070.0498550.0000
Template Total1.326397.220.6632
Template load0.00220.161820.0011
Template processing1.324197.014020.6621
Template load and register function0.00030.021610.0003
states
state_id_array0.00110.084110.0011
state_identifier_array0.00210.154320.0011
Override
Cache load0.00180.1315180.0001
Sytem overhead
Fetch class attribute can translate value0.00040.031620.0002
Fetch class attribute name0.00100.076740.0003
XML
Image XML parsing0.00050.040220.0003
class_abstraction
Instantiating content class attribute0.00000.000540.0000
General
dbfile0.00090.0651160.0001
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
3content/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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/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: 7

Time used to render debug report: 0.0002 secs