Referer URL

Author Message

Pablo C. Vergara Castro

Wednesday 23 February 2005 8:34:59 am

Hi to all.

Any way to know what is the url of the previous page?

The problem I have is that I try to make the "return" tipical link but I don't know how to do that using EZPublish.

Greetings (and thanks in advance).

Eivind Marienborg

Wednesday 23 February 2005 9:30:01 am

Actually, you can do this with simple hmtl:

<a href="javascript:history.go(-1)">Return</a>

This brings the user one page back in the browsers history.

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 11:19:19
Script start
Timing: Jan 18 2025 11:19:19
Module start 'layout'
Timing: Jan 18 2025 11:19:19
Module start 'content'
Timing: Jan 18 2025 11:19:20
Module end 'content'
Timing: Jan 18 2025 11:19:20
Script end

Main resources:

Total runtime0.7660 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 587.7891152.6094
Module start 'layout' 0.00700.0061 740.398439.3984
Module start 'content' 0.01300.7515 779.7969490.4688
Module end 'content' 0.76460.0014 1,270.26568.3594
Script end 0.7660  1,278.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4299160.0002
Check MTime0.00140.1822160.0001
Mysql Total
Database connection0.00090.122910.0009
Mysqli_queries0.722594.3202540.0134
Looping result0.00060.0821520.0000
Template Total0.729795.320.3648
Template load0.00200.258220.0010
Template processing0.727794.997320.3638
Template load and register function0.00020.029010.0002
states
state_id_array0.00130.170810.0013
state_identifier_array0.00070.093720.0004
Override
Cache load0.00160.2133120.0001
Sytem overhead
Fetch class attribute can translate value0.00050.071220.0003
Fetch class attribute name0.00120.155630.0004
XML
Image XML parsing0.00070.085320.0003
class_abstraction
Instantiating content class attribute0.00000.001230.0000
General
dbfile0.00140.1855160.0001
String conversion0.00000.001440.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
2content/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
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
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