Disable virtual URLS

Author Message

Michael Fürst

Tuesday 22 April 2008 4:59:10 am

Hi there,

Is there a way to easily disable virtual URLS? I want to see the /model/view URL instead for debugging.

At the moment the URL is:
<b>http://www.site.com/index.php/site/Tennis/News/A-news-article</b>

and it should be:
<b>http://www.site.com/index.php/site/content/view/444</b>

(model = "content", view = "view")

Or is there a simple way, to add the "real" URL to the debug output?

Thanks & Ciao,
Mike

Maxime Thomas

Tuesday 22 April 2008 11:30:13 pm

Try this one, you may find what you need :
http://ez.no/doc/ez_publish/technical_manual/4_0/templates/the_pagelayout/variables_in_pagelayout

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

Piotrek Karaś

Wednesday 23 April 2008 12:25:36 am

Seems to me that there is to one-place where you could switch from url_alias to url - this seems to be implemented on the template level, which means you will have to manually alter the templates, precisely stop using url_alias. If it is otherwise - it would be great to learn.
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

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:17:22
Script start
Timing: Jan 18 2025 18:17:22
Module start 'layout'
Timing: Jan 18 2025 18:17:22
Module start 'content'
Timing: Jan 18 2025 18:17:23
Module end 'content'
Timing: Jan 18 2025 18:17:23
Script end

Main resources:

Total runtime0.6518 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 587.9063152.6250
Module start 'layout' 0.00490.0034 740.531339.4453
Module start 'content' 0.00830.6416 779.9766588.8672
Module end 'content' 0.64990.0018 1,368.843812.1719
Script end 0.6517  1,381.0156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5123160.0002
Check MTime0.00140.2122160.0001
Mysql Total
Database connection0.00070.106810.0007
Mysqli_queries0.594491.1954590.0101
Looping result0.00080.1188570.0000
Template Total0.615094.420.3075
Template load0.00210.326820.0011
Template processing0.612894.022420.3064
Template load and register function0.00010.016610.0001
states
state_id_array0.00120.188910.0012
state_identifier_array0.00230.357320.0012
Override
Cache load0.00180.2686220.0001
Sytem overhead
Fetch class attribute can translate value0.00090.132430.0003
Fetch class attribute name0.00160.243760.0003
XML
Image XML parsing0.00150.237530.0005
class_abstraction
Instantiating content class attribute0.00000.001560.0000
General
dbfile0.00110.1679290.0000
String conversion0.00000.001540.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
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/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: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs