|
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 |
boyer Smarty Rookie
Joined: 08 Apr 2009 Posts: 9
|
Posted: Wed Feb 15, 2012 5:31 pm Post subject: SmartyPaginate in Smarty 3 issue |
|
|
Hey all!
I've recently (finally!!) upgraded from Smarty 2 to Smarty 3 (most recent stable). Luckily, the migration was almost completely painless as I hadn't done much in my code that was deprecated in V3, so I was up and running quickly.
However, I'm having any issue with the SmartyPaginate. The template tag is
Code: | {paginate_first id="read"} {paginate_prev id="read"} {paginate_middle page_limit="5" id="read"} {paginate_next id="read"} {paginate_last id="read"} |
and the error I'm getting is:
Code: | Syntax Error in template "templates\read.tpl" on line 65 "<div>{paginate_first id="read"} {paginate_prev id="read"} {paginate_middle page_limit="5" id="read"} {paginate_next id="read"} {paginate_last id="read"}</div>" unknown tag "paginate_first" |
I realize that this plugin is about 7 years old... but I am using it ALL over the place in my code, and there is still (unbelievably) no alternative to this plugin.
Anyone come across this error, or have a suggestion for where I can look?
Thanks,
Sean |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Wed Feb 15, 2012 5:35 pm Post subject: |
|
|
Make sure you have all the SmartyPaginate plugins in the plugins dir, looks like you are missing one. |
|
Back to top |
|
boyer Smarty Rookie
Joined: 08 Apr 2009 Posts: 9
|
Posted: Wed Feb 15, 2012 5:53 pm Post subject: |
|
|
Boy am I blue in the face... I forgot those existed... Copied them over and everything is working great. Thanks Mohrt!
And thanks for the plugin! It has saved me soooo much time over the years, and despite being 7 years old, it still works great! |
|
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
|