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
-~----------~----~----~----~------~----~------~--~---

Reply via email to