Sorry, I don't think anybody is really understanding what you want. It is a very bad idea to change the slug of a existing item, doing so will likely break links to the page from other sites and will probably hurt your search ratings.
On Jun 22, 9:37 am, aman batra <[email protected]> wrote: > No, Actually what i was saying is that i generate slug with the Title > of the post. Now say i have another page from where i will redirect > user to the post action page by taking the name of the user. How can i > make the name as the Uid of the post and title remains unchanged as in > above example it remains beautiful life. > > Thanks. > > On Jun 22, 12:08 pm, Fran Iglesias <[email protected]> wrote: > > > El 22/06/2009, a las 9:03, aman batra escribió: > > > > What should be the approach over this.. I m using the sluggable > > > behavior to generate the slug for the post. > > > Perhaps... > > > - make the slug field editable in the ass/edit actions > > > - If the slug field is left blank by the user, create the slug > > programatically, and/or... > > - Populate the slug file with the "slugged" title, if slug field is > > empty, using a javascript function > > > hth > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
