|
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 |
botX Smarty n00b
Joined: 15 Jun 2017 Posts: 1
|
Posted: Thu Jun 15, 2017 10:49 am Post subject: smarty and PHP |
|
|
Hello guys,
I have some problem with smarty,
I want to assign a PHP function to my tpl but when a decide to create a variable which call my function this automatically display the result of the function on my page.
For example :
I have a php function called : tab() on my index.php,
tab() have to display some images on my page
when I call my function tab() in index.php , It automatically appear on the top of my index page and I want to display in a specific place in my page with my tpl.
How can i do ?
Please help me, |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
|
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
|