can someone send me example of Match[url_alias]?

can someone send me example of Match[url_alias]?

Monday 04 April 2005 8:16:10 am - 2 replies

Modified on Monday 04 April 2005 8:18:13 am by Vytautas Germanavičius

Author Message

bisk

Monday 04 April 2005 11:21:26 am

Please do not open multiple topics on the same subject. One is enough.

Second there might be a bug with url_alias matching see:
http://www.ez.no/community/bugs/match_url_alias_doesn_t_work_for_sub_folders

Normally something like this should be correct:

[line_news_article]
Source=node/view/line.tpl
MatchFile=article_line.tpl
Subdir=templates
Match[url_alias]=news

Where news = yoursite.com/news

Every article below news should be using the override template. Put the override on top in your override.ini.append.php

If it doesn't work, you can assign a section to news and use match section to override.

url_alias matching works for me for a Source=node/view/full.tpl override.

-------------------------------
http://www.kookfijn.nl & http://www.magento.be

Vytautas Germanavičius

Tuesday 05 April 2005 4:54:53 am

your proposed way doesn't work for me. As i told, i need use different style from section.

If you want to know why, i can tell you: look to http://ez.no/community/forum/developer/problem_with_sections_shared_articles_in_one_section_are_shown_using_templates_from_another_section

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

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.