Thanks Luc,
The "date" is not a container/folder object (containing my article objects)

I tried 'published_date/title' as "url_alias Name pattern" publish_date and 
title been suitable attributes.
But of course, eZ Publish will replace the 'published_date/title'  by 
'published_date-title'  when generating the url_alias name of each object.

is there a way to force eZ
- either generate 'published_date/title'  an object name pattern containing the 
'/'.
- or redirect 'http://www.example.com/Folder/subFolder2/../title' to  
'http://www.example.com/Folder/subFolder2/../[YY]-[MM]-[DD]/title' using 
rewrites for example.
Thanks

O.K

________________________________
De : Luc Chase [mailto:[email protected]]
Envoyé : lundi 18 avril 2011 11:26
À : KANTE Ousmane
Cc : [email protected]
Objet : Re: [Sdk-public] Modifying Node 'url_alias' using ez publish

Since you don't seem to want the date to be a folder/container object...
Would 
www.eample.com/Rubrik1/SubRubrik1/[YY]-[MM]-[DD]-article-name/<http://www.eample.com/Rubrik1/SubRubrik1/%5BYY%5D-%5BMM%5D-%5BDD%5D-article-name/>
suffice?
ie. Have the date pre-pended to the short-name attribute?  You prob can achieve 
that by modifying the content class where it calculates the short-name 
attribute value.





On 15 April 2011 14:45, KANTE Ousmane 
<[email protected]<mailto:[email protected]>> wrote:
Hello all,
I've been looking for a method to change the standard URL alias of a node.
I would like to generate a url_alias like 
www.eample.com/Rubrik1/SubRubrik1/[YY]-[MM]-[DD]/article-name/<http://www.eample.com/Rubrik1/SubRubrik1/%5BYY%5D-%5BMM%5D-%5BDD%5D/article-name/>
 for an article located in /Rubrik1/SubRubrik1/ in the content tree, intead of  
www.eample.com/Rubrik1/SubRubrik1/article-name<http://www.eample.com/Rubrik1/SubRubrik1/article-name>
 where [YY]-[MM]-[DD] will be the object published date.

has Someone an idea about this future?

Thanks all.
O.K

--
Sdk-public mailing list
[email protected]<mailto:[email protected]>
http://lists.ez.no/mailman/listinfo/sdk-public




--
Luc.
M. +44.7040-901-582



-- 
Sdk-public mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/sdk-public

Reply via email to