![]() |
Static Page Help
Hello,
I have recently upgraded to 4.3.2 on one of our sites and I need a php program to be called when static page 11 is displayed. Here is the code I put into the new pages.tpl page. Could you please let me know if this will work for 4.3.2 installations. Code:
sitemap.tpl has the following code - I can run the url below without any problems Code:
{php} This coding worked fine on a 4.0.16 installation. So I just wanted to make sure something didn't need to be changed for the 4.3.2 installations. Thanks, Randal |
Re: Static Page Help
It should work but you can use
$page_data.pageid instead of $smarty.get.pageid |
Re: Static Page Help
Thanks for your help.
The old way only will work if you do it like this $smarty.get.pageid = rather than how I had it $smarty.get.pageid eq. The difference being the = sign instead of the eq. Hope that helps someone in the future. Randal |
All times are GMT -8. The time now is 06:48 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.