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

Got SmartyPaginate at work but can you introduce a WHERE ?

 
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
goalsurfer
Smarty Rookie


Joined: 30 Oct 2009
Posts: 29
Location: Brussels

PostPosted: Sat Mar 13, 2010 3:01 am    Post subject: Got SmartyPaginate at work but can you introduce a WHERE ? Reply with quote

I try to filter my results but this only works for one series of data.
When you clicked on the 'next' or further you get your default series again.

I used a $_POST and let a choice between two queries, one with the WHERE and one without, the one with the WHERE in case you clicked the button to filter, but thus it only works ones. I tried with import_request_variables() but got no result.

Easier would be with a $_GET, then you can better keep your parameters but I don't know how to construct the link that comes after clicking on the 'next' link.
Back to top
View user's profile Send private message Visit poster's website
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