| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Static Page Help | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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:
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
__________________
*********************** Visit Our Other Web Sites! ∙ Nutritional Herbs and Supplements <a href="http://www.theherbsplace.com"> The Herbs Place </a> ∙ Frugal Ideas and a Forum To Submit Your Questions <a href="http://www.thefrugallife.com"> The Frugal Life </a> ∙ Healthy and Natural Pet Products <a href="http://www.healthypetcorner.com"> Healthy Pet Corner </a> *********************** Joined 08/02/05 X-Cart Gold Version 4.3.2 Linux RedHat Enterprise |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Static Page Help
It should work but you can use
$page_data.pageid instead of $smarty.get.pageid
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||
|
|||||||
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
__________________
*********************** Visit Our Other Web Sites! ∙ Nutritional Herbs and Supplements <a href="http://www.theherbsplace.com"> The Herbs Place </a> ∙ Frugal Ideas and a Forum To Submit Your Questions <a href="http://www.thefrugallife.com"> The Frugal Life </a> ∙ Healthy and Natural Pet Products <a href="http://www.healthypetcorner.com"> Healthy Pet Corner </a> *********************** Joined 08/02/05 X-Cart Gold Version 4.3.2 Linux RedHat Enterprise |
|||||||
|
|||
X-Cart forums © 2001-2020
|