|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
Author |
Message |
Topic: How to call PHP functions in smarty? |
triphp
Replies: 11
Views: 187421
|
Forum: Smarty Development Posted: Wed Jul 21, 2010 10:04 am Subject: Re: hi |
you can call the php function in the smarty.
Write the php function in the class file.
then create the object for the php in the php file.
Then assign the object to another smarty variable lik ... |
Topic: RESERVED variables inside {if},{elseif},{else} |
triphp
Replies: 3
Views: 5383
|
Forum: General Posted: Mon Jul 24, 2006 8:32 am Subject: RESERVED variables inside {if},{elseif},{else} |
lol, that was what I'm thinking but when I try to print first $SCRIPT_NAME without {} I just see nothing. So I think $SCRIPT_NAME can't be used on that.
Thanks, problem SOLVED |
Topic: RESERVED variables inside {if},{elseif},{else} |
triphp
Replies: 3
Views: 5383
|
Forum: General Posted: Mon Jul 24, 2006 7:11 am Subject: RESERVED variables inside {if},{elseif},{else} |
Hello,
I'm totally a newbie to Smarty and i'm in need of your expert advice.
I have a header.tpl which have the horizontal menu (pure CSS) of the site and I included it in all of the pages.
&l ... |
|
Page 1 of 1 |
All times are GMT |
Powered by phpBB © 2001, 2005 phpBB Group
|