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