what should be written in Match[url_alias] : alias of node or alias of parent node

Author Message

Vytautas Germanavičius

Monday 04 April 2005 5:54:17 am

Maybe, i do not understand url_alias? Question:
i have folder "news" and some articles in it. And i want to display articles in different style from section.
What i should write in overrides.ini
[Line_view_article]
...
Match[url_alias]=ALIAS_OF_FOLDER_news
or
Match[url_alias]=ALIAS_OF_EVERY_ARTICLE

{set-block scope=root variable=cache_ttl}0{/set-block}

Paul Borgermans

Monday 04 April 2005 6:51:50 am

Hi,

You should use either the url alias of the parent folder or use Match[parent_node_id]

hth

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Paul Borgermans

Monday 04 April 2005 6:59:03 am

oops, to add: Match[parent_node_id] is only to be used if there is only one level below it, use Match[url_alias] for multi-level trees

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Vytautas Germanavičius

Monday 04 April 2005 7:52:05 am

Yes, i know that. But what i should write in case of url_alias?

My question: what should be written as parameter in Match[url_alias] : alias of node or alias of parent.

{set-block scope=root variable=cache_ttl}0{/set-block}

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 20 2025 04:04:14
Script start
Timing: Jan 20 2025 04:04:14
Module start 'layout'
Timing: Jan 20 2025 04:04:14
Module start 'content'
Timing: Jan 20 2025 04:04:16
Module end 'content'
Timing: Jan 20 2025 04:04:16
Script end

Main resources:

Total runtime1.7279 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 589.6484152.6875
Module start 'layout' 0.00470.0033 742.335939.5234
Module start 'content' 0.00801.7183 781.8594553.1719
Module end 'content' 1.72630.0015 1,335.031312.0625
Script end 1.7279  1,347.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.1795160.0002
Check MTime0.00130.0778160.0001
Mysql Total
Database connection0.00050.030310.0005
Mysqli_queries1.676697.0311600.0279
Looping result0.00050.0289580.0000
Template Total1.683997.520.8419
Template load0.00200.118620.0010
Template processing1.681897.332120.8409
Template load and register function0.00010.005610.0001
states
state_id_array0.00270.155610.0027
state_identifier_array0.00200.115020.0010
Override
Cache load0.00170.0968260.0001
Sytem overhead
Fetch class attribute can translate value0.00060.033920.0003
Fetch class attribute name0.00120.069960.0002
XML
Image XML parsing0.00130.072320.0006
class_abstraction
Instantiating content class attribute0.00000.000980.0000
General
dbfile0.00100.0577230.0000
String conversion0.00000.000540.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/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: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs