url_alias doesn't work

Author Message

Vytautas Germanavičius

Friday 01 April 2005 12:17:55 am

i did not found clear description, how to use that mystical url_alias... :(

I made according http://www.ez.no/community/forum/general/multiple_section_assignment/re_multiple_section_assignment__11

[product_line]
Source=node/view/line.tpl
MatchFile=product_line_klientams.tpl
Subdir=templates
Match[class_identifier]=product
Match[url_alias]=produktai__3

[product_line]
Source=node/view/line.tpl
MatchFile=line/product.tpl
Subdir=templates
Match[class_identifier]=product

but now products in page /index.php/shop/produktai__3/indu_prieziura
are shown using default template, neither line/product.tpl nor product_line_klientams.tpl

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

Eirik Alfstad Johansen

Friday 01 April 2005 12:31:39 am

Hi vytis,

I've emailed Bård asking him if you could document this feature. Hopefully, you'll hear from him shortly.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Vytautas Germanavičius

Monday 04 April 2005 12:42:17 am

I don't need detail description.
I would like to know, what i should write after "Match[url_alias]=": section name, node name, node alias?
Or what i did wrong in given example, why it does not work?

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

Łukasz Serwatka

Monday 04 April 2005 12:47:31 am

Here you find example with Match[url_alias]=
http://ez.no/ez_publish/documentation/customization/custom_design/override_templates

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Vytautas Germanavičius

Monday 04 April 2005 1:41:18 am

I spend 2 working days trying to follow that page... :(
But not successfull, look to code in my firs message, what is wrong in that example?

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
or
Match[url_alias]=ALIAS_OF_EVERY_ARTICLE

{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.