Re: Transport a ID in the URL

2007-10-04 Thread grigri
Check out my example from http://groups.google.com/group/cake-php/browse_thread/thread/cb8f54e19b46cc2e [messages 9 & 10] I use it all the time for changing how URLs are generated on a site- wide basis - mainly for SEO, although it clearly has other uses. Basic summary: * Create app/app_helper.

Re: Transport a ID in the URL

2007-10-03 Thread rtconner
Uhm, It's a bit of a hack, but when i needed to do something similar... I made a helper that extended HtmlHelper (called SHtmlHelper), and then I overwrote the url method in that new helper. Then at the top of my layout files I put so now all instances of $html helper used my new helper. I have

Transport a ID in the URL

2007-10-03 Thread cyberhorst
Hi, I need to transport some kind of ID (it could also be a Session-ID) through the URL. This could look like this: http://domain.com/ID1234/posts/edit or http://domain.com/ID7895/users/ This ID can easily be identified by a RegEx. The problem is how can cake pass this ID **automatically** to eve