-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The simplest way to implement an "publish-before" workflow and to the needed stuff inside the workflow. This would be: * create a folder with the date as name * Set the main node of the article into this folder.
Then you can use the main node for linking articles inside the templates. Or you can move the article (be careful with side effects). Or (only an idea, I don't know if it works) you can add an url alias inside this workflow. Greets Dirk Am 18.04.2011 11:43, schrieb KANTE Ousmane: > 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 > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2sCVMACgkQqa4mpik3SZFjHACdHBLHLYd+KwWV5oiVwJsA/ywo 0MsAniZo2tKkkChlu/EwYvsTmeyWvG9y =BmNI -----END PGP SIGNATURE----- -- Sdk-public mailing list [email protected] http://lists.ez.no/mailman/listinfo/sdk-public
