|
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 |
uTeddy Smarty n00b
Joined: 12 Oct 2003 Posts: 1
|
Posted: Sun Oct 12, 2003 9:32 pm Post subject: {php} tag with info |
|
|
Im making a templet and in the templete i want i small php script. The thing is that i cant get a value ($aContent[i].NewsID) to work inside the {php} tag...
How can i get that working?
Code: | {php} echo($aContent[i].NewsID) {/php} |
Thats just an example
Thanks! |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Sun Oct 12, 2003 10:23 pm Post subject: |
|
|
use $this->get_template_vars() inside {php}...{/php} . |
|
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
|