|
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 |
sname Smarty n00b
Joined: 05 Oct 2006 Posts: 3
|
Posted: Thu Oct 05, 2006 5:16 pm Post subject: Beginner with plugins. |
|
|
I'm new in smarty.
I would like to write plugin, but i can't find any tutorial.
function look's like myfunction ($a, $b, $c).
But how i'm going to use it in tpl? |
|
Back to top |
|
kills Smarty Elite
Joined: 28 May 2004 Posts: 493
|
|
Back to top |
|
sname Smarty n00b
Joined: 05 Oct 2006 Posts: 3
|
Posted: Thu Oct 05, 2006 7:26 pm Post subject: |
|
|
i have already writen function and it's in right folder.
But i get error - Missing argument 3...
I just don't know how to write in tpl that command. {myfunction} is wrong, when i have function smarty_function_myfunciton($a, $b, $c) |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
|
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
|