Two "function.pager" on one smarty
| From: | dr. zoidberg | Date: | Mon, 22 Mar 2004 14:43:25 +0000 |
| Subject: | Two "function.pager" on one smarty | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11162@lists.php.net to get a copy of this message | ||
Hello,
I'm using function.pager.php from
http://www.smarty.hu/plugins/duda/function.pager.phps
I have edited some parts so it fits better my web site. Now I need to
use it again on different place but it needs to be edited more. Is there
any way I can have:
function.pager.php (for BB)
function.pager1.php (for news)
function.pager2.php (for some other forum)
Or this can be done better some other way by changing variables inside
smarty temlate?
Element that I need to change is URL. Default is to link on the same web page index.php links to index.php?pos=1 etc (function.pager1.php), but i need to link from index.php to index1.php?pos=1 etc on (function.pager2.php)
TNX
--
Please do not cc me.