As part of optimizing my web site I used dynamic titles. I have particular problem, there is a case where I do not want to load dynamic tilte if a certain module (call it catalog) is loaded. I need to modify my php include statement, but I not sure how. It should say:
If module loaded iis catalog
Then do not include dynamic_title.php
Else incluse dynamic_title.php
Here is the code I have now
Code:
if (file_exists("includes/dynamic_titles.php")) {include_once("includes/dynamic_titles.php");}
can anyone help?
herbalpowerpack
Evaders99 Site Admin
Joined: Aug 17, 2003
Posts: 12383
Posted:
Thu Dec 27, 2007 6:03 am
Code:
if (($name != 'iss_catalog') && file_exists("includes/dynamic_titles.php")) {include_once("includes/dynamic_titles.php");}
Replace iss_catalog with whatever the module name really is
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum