Re: Even prettier URLs tutorial

2006-06-20 Thread Graham Bird

Hi,

Armando - thanks for the compliment. ;)

gwoo - I thought I would be able to do this with only one query, but I
wasn't sure of the best way. Thanks for the tip - I'll update the
tutorial.

Also, I could take the article title and lowercase it, remove spaces,
etc but personally I prefer to be able to choose the URL. Maybe I need
to explain that too.

Thanks,

Graham


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



Even prettier URLs tutorial

2006-06-20 Thread Graham Bird

Hi,

I've just created a simple tutorial to show how you can use words in
your Cake URLs rather than IDs.

For example, instead of:

/articles/view/23435245

you can have

/articles/view/rantaboutrails

Here it is:

http://www.grahambird.co.uk/cake/tutorials/slugs.php

All feedback is welcome.

Thanks,

Graham


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



Re: Are you ready for the best Cake yet?

2006-05-03 Thread Graham Bird

Congratulations!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---