Blog > Archive by tag 'urls'

Posts Tagged ‘urls’

Changing CakePHP pagination URLs

11.07.2009

CakePHP

CakePHP framework provides a great pagination helper but its default URLs aren’t that great. By default it generates URLs that look like: http://domain/news/page:2. I spent a long time looking for a way to skip “page:” part in URLs and in links generated by the helper, or even just change the string “page” to something else. It showed up that there’s no easy way to configure the paginator that way. So I came up with a workaround that will change your CakePHP pagination URLs to: http://domain/news/2 (more…)

Emir SakicEmir is an Electrical Engineer turned web developer, one of Joomla founders and a former member of the core development teams of Joomla and its predecessor Mambo.

Subscribe to our RSS feed Follow us on Twitter

Latest Comments
Re: Package extensions for Joomla 1.5 and 1.0 together « Sakic.Net blog
Many many many thanks!!!! Very useful!!!
Re: Slide several articles at once with AJAX Scroller - Sakic.Net
You edit it in CSS.
Re: Slide several articles at once with AJAX Scroller - Sakic.Net
I bought ajax scroller but i didnt know how to...
Re: Joomla AJAX registration now with CAPTCHA - Sakic.Net
Hi. Registrations approval is a feature planned for next versions....
Re: Joomla AJAX registration now with CAPTCHA - Sakic.Net
Looks very nice. Is there any possibility to add verification...