Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

how can i call a smarty plugin function using smarty object

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
talo
Smarty Rookie


Joined: 18 Oct 2005
Posts: 16

PostPosted: Tue Oct 18, 2005 9:26 am    Post subject: how can i call a smarty plugin function using smarty object Reply with quote

Hi all,

i have this problem:

i need to parse smarty functions onto the template but i figure thats imposible so the way im thinking to solve it is to use the smarty object that i created to call a function from the plugins and that should return me the html i need which in turn i can then parse the html as is to the template.

the reason im doing this, is for dynamic control creation on the template.

so my question is how can i do something along the line of:

[php:1:dd866077a4]

<?php

$smarty->html_select_date;

?>

[/php:1:dd866077a4]

since its a plugin and not part of the class.

please can anyone help.

Kind Regards,
T.
Back to top
View user's profile Send private message
talo
Smarty Rookie


Joined: 18 Oct 2005
Posts: 16

PostPosted: Tue Oct 18, 2005 10:13 am    Post subject: dont worrie about it Reply with quote

after further investigation mannged to get it right!!!!!
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Plugins All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP