![]() |
Variable help...
OK,
I succesfully edited home.php so that I can include a php file which has a bunch of variables I need. I also defined a variable in home.php. Now, I want to echo those variables on the display pages. I called the variable I defined in home.php on the home.tpl template and it showed up on my page, I used the following syntax {$variableName}. But, when I try to call any of the variables I define in the included files, using the same syntax, I get nothing. Is there another way to call the variables and echo them in the template files? Thanks |
need to do:
Code:
smarty->assign("variableintemplate",$phpvariable); |
Thanks!
got it!
trying some new things now... |
All times are GMT -8. The time now is 06:42 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.