Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

SmartyPaginate and mod_rewrite downloadable solution

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
krejd
Smarty Rookie


Joined: 06 May 2008
Posts: 6

PostPosted: Wed May 07, 2008 9:45 am    Post subject: SmartyPaginate and mod_rewrite downloadable solution Reply with quote

Hello there Smile.

Okay, I couldn't find anything nice to work with Smarty Paginate and mod rewrite so I added few lines of code to each function.paginate file and here it is. I decided to post it here - maybe it would be helpful for some people looking for it, just like I was yesterday.

Script is written for simple usage when you need to change link like index.php?section=gallery&page=1 to something like gallery-1.html. I didn't test it in complicated links like index.php?section=gallery&page=40&subpage=10 and i think it won't work or will work if you write some hacks in template code Wink.

Allright, here you can download what I'm talking about:
http://www.speedyshare.com/508501766.html [dead link]
http://www.speedyshare.com/407253563.html [dead link]
http://www.speedyshare.com/225534830.html [working one]

Here you can read about Smarty Paginate Rewrite:
http://smarty.incutio.com/?page=SmartyPaginateRewrite

Sorry for free hosting but I couldn't host it on my server at this moment. If there's somebody who can host it and thinks it's usable script - please do that Razz.


Last edited by krejd on Mon Oct 12, 2009 2:35 pm; edited 3 times in total
Back to top
View user's profile Send private message
Celeb
Administrator


Joined: 17 Apr 2007
Posts: 1025
Location: Vienna

PostPosted: Wed May 07, 2008 10:36 am    Post subject: Reply with quote

Feel free to contribute your code to the wiki.
_________________
Darn computers always do what I tell them to instead of what I want them to do.
Back to top
View user's profile Send private message
vnetworks
Smarty n00b


Joined: 06 Mar 2009
Posts: 1

PostPosted: Fri Mar 06, 2009 7:03 pm    Post subject: Where? Reply with quote

Link is not working anymore. Where can i get that file instead?

Thanks
Back to top
View user's profile Send private message
krejd
Smarty Rookie


Joined: 06 May 2008
Posts: 6

PostPosted: Thu Apr 02, 2009 10:39 pm    Post subject: Reply with quote

http://www.speedyshare.com/407253563.html

Here you go. Sorry for "a bit" late link but I just don't visit this site everyday Wink.
Back to top
View user's profile Send private message
jgkhoury
Smarty n00b


Joined: 22 Jan 2008
Posts: 4

PostPosted: Mon Oct 05, 2009 11:12 am    Post subject: file no longer available Reply with quote

this sounds like exactly what I need, but the file is no longer available. Can you please repost?
Thanks

John
Back to top
View user's profile Send private message
krejd
Smarty Rookie


Joined: 06 May 2008
Posts: 6

PostPosted: Mon Oct 12, 2009 2:35 pm    Post subject: Reply with quote

Sure, here you go: http://www.speedyshare.com/225534830.html

Also, added to the first post.
Back to top
View user's profile Send private message
jgkhoury
Smarty n00b


Joined: 22 Jan 2008
Posts: 4

PostPosted: Mon Oct 12, 2009 2:43 pm    Post subject: thanks! Reply with quote

Thanks a million! Will give it a try.

John
Back to top
View user's profile Send private message
waro
Smarty Regular


Joined: 12 Jun 2008
Posts: 38

PostPosted: Sun Jan 17, 2010 12:15 am    Post subject: Reply with quote

File not found
Back to top
View user's profile Send private message
elenril
Smarty n00b


Joined: 10 Jun 2010
Posts: 3

PostPosted: Thu Jun 10, 2010 3:41 pm    Post subject: Reply with quote

Could anybody rehost Smarty Paginate Rewrite Plugin, please?
Back to top
View user's profile Send private message
Andreyco
Smarty n00b


Joined: 28 Jun 2010
Posts: 3

PostPosted: Mon Jun 28, 2010 8:52 am    Post subject: Reply with quote

elenril wrote:
Could anybody rehost Smarty Paginate Rewrite Plugin, please?

I need it very badly as well Smile. Someone, plese, post working link
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Plugins 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