|
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 |
jimmy230 Smarty Rookie
Joined: 14 Mar 2009 Posts: 9
|
Posted: Mon May 24, 2010 8:44 pm Post subject: Need help pagination smarty paginate and ajax |
|
|
i hope someone can help me with this I use smarty paginate with all my site recenty i started to combine it with ajax everythings its running very good but pagination.
$sitio="mywebsite.com/index.php?action=list_users";
SmartyPaginate::connect();
SmartyPaginate::setLimit(40);
smartypaginate::seturl ($sitio);
SmartyPaginate::setPrevText('Pagina anterior');
SmartyPaginate::setNextText('Siguentes');
SmartyPaginate::setFirstText('Primera pagina');
SmartyPaginate::setLastText('Ultimas');
in my tpl will go to the page i click but i need to replace
this: mywebsite.com/index.php?action=list_users
with this: javascript:ajaxpage('index.php?action=list_users', 'contenido')
i have tried everything with no luck should i edit the paginate functions ??
i anybody knows how please help me..
thanks in advance..
Jimmy |
|
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
|