Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

how to mod_rewrite a smarty paginate page???

 
Post new topic   Reply to topic    Smarty Forum Index -> Add-ons
View previous topic :: View next topic  
Author Message
cyberchild
Smarty n00b


Joined: 22 May 2005
Posts: 3

PostPosted: Mon Jun 13, 2005 1:07 pm    Post subject: how to mod_rewrite a smarty paginate page??? Reply with quote

hi,

can anybody post an example how i can rewrite a smartypaginate url

from this foo.php?next=11=25

to this foo.php/next/1/para1/25.html


thanks
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Mon Jun 13, 2005 1:19 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Add-ons All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP