Auto selecting siteaccess

Author Message

Philip K.

Friday 06 October 2006 8:46:45 am

Hello.

On my website I have some static links. Is there a way to put the used siteaccess in a variable so that I can set this into my href?

for example:

Now I use:
<a href="/index.php/siteaccess-name/.../">...</a>

I would like to use:
<a href="/index.php/<my-variable-for-siteaccess>/.../">...</a>

Would be nice :)

Thank you,
Philip

Linux is like a wigwam; no windows, now gates, and apache inside!

Claudia Kosny

Friday 06 October 2006 8:54:23 am

Hi Philip

$access_type.name should help you

Greetings from Luxembourg

Claudia

Philip K.

Monday 09 October 2006 12:12:18 am

Hi Claudia,

thanks a lot, that's what I need :)

Linux is like a wigwam; no windows, now gates, and apache inside!

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:26:32
Script start
Timing: Jan 18 2025 18:26:32
Module start 'layout'
Timing: Jan 18 2025 18:26:32
Module start 'content'
Timing: Jan 18 2025 18:26:33
Module end 'content'
Timing: Jan 18 2025 18:26:33
Script end

Main resources:

Total runtime1.1520 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.0082 587.9063152.6250
Module start 'layout' 0.00820.0036 740.531339.4453
Module start 'content' 0.01171.1387 779.9766529.0938
Module end 'content' 1.15040.0016 1,309.07038.1641
Script end 1.1519  1,317.2344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3034160.0002
Check MTime0.00160.1358160.0001
Mysql Total
Database connection0.00140.124210.0014
Mysqli_queries1.092494.8284570.0192
Looping result0.00070.0622550.0000
Template Total1.103995.820.5519
Template load0.00220.187720.0011
Template processing1.101795.634820.5508
Template load and register function0.00010.009010.0001
states
state_id_array0.00120.105110.0012
state_identifier_array0.00280.243720.0014
Override
Cache load0.00170.1458200.0001
Sytem overhead
Fetch class attribute can translate value0.00070.061320.0004
Fetch class attribute name0.00160.142440.0004
XML
Image XML parsing0.00060.054220.0003
class_abstraction
Instantiating content class attribute0.00000.001150.0000
General
dbfile0.00090.0741160.0001
String conversion0.00000.000840.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/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
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 14
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs