|
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 |
ssweeney Smarty n00b
Joined: 20 Oct 2011 Posts: 1
|
Posted: Thu Oct 20, 2011 9:08 pm Post subject: Smarty Template not taking custom functions |
|
|
Good Afternoon,
I'm currently using smarty for a project and am trying to us a custom function defined in a global file. The page dies with an error of "unrecognized tag". Upon some research I decided to try a custom plugin function, (thought possibly a global php.ini setting was the issue), no luck. Upon removing the global function from the template just to see if it would run I then got errors from another line with this setup: $variable->something()->else().
To add this is working fine for a coworker on his checkout of the code. It fails to work on the same coworkers home machine. This leads us to believe there must be a global ini setting being missed.
Thoughts? |
|
Back to top |
|
Code62 Smarty Rookie
Joined: 21 Jun 2011 Posts: 12 Location: Work@Liège.be
|
Posted: Mon Oct 24, 2011 12:56 pm Post subject: |
|
|
Is the same smarty version used in both cases ?
with smarty 2, $object->method()->method() doesn't work; it does only since smarty 3 |
|
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
|