|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
cyberchild Smarty n00b
Joined: 22 May 2005 Posts: 3
|
Posted: Mon Jun 13, 2005 1:07 pm Post subject: how to mod_rewrite a smarty paginate page??? |
|
|
hi,
can anybody post an example how i can rewrite a smartypaginate url
from this foo.php?next=1¶1=25
to this foo.php/next/1/para1/25.html
thanks |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Mon Jun 13, 2005 1:19 pm Post subject: |
|
|
You will have to build the URLs yourself with the $paginate data in the template, or modify the paginate_* functions to create this format of URL. Then in your application you would have to parse the URL manually, or modify/overload the SmartyPaginate methods to handle the new format. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|