View Single Post
  #1  
Old 08-26-2010, 08:17 AM
 
sharingsunshine sharingsunshine is offline
 

Senior Member
  
Join Date: Aug 2005
Location: Palmyra, VA
Posts: 149
 

Default 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:
{* $Id: pages.tpl,v 1.10 2009/04/17 13:03:09 max Exp $ vim: set ts=2 sw=2 sts=2 et: *} {include file="rjw/frrship.tpl"}<br /> <h1>{* {$page_data.title} *}</h1> {capture name=dialog} {if $smarty.get.pageid eq "11"} {include file="rjw/sitemap.tpl"} {/if} {if $page_content ne ''} {if $config.General.parse_smarty_tags eq "Y"} {eval var=$page_content} {else} {$page_content} {/if} {/if} {/capture} {include file="customer/dialog.tpl" title=$page_data.title content=$smarty.capture.dialog noborder=true}

sitemap.tpl has the following code - I can run the url below without any problems

Code:
{php} include ("http://www.healthypetcorner.com/isearch2/sitemap.php"); {/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
__________________
***********************
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
Reply With Quote