clarocque Posted April 12, 2004 Posted April 12, 2004 I have tried and I cant seem to get it.... I need a code that says: if the url is http://www.domain.com/catalog/index.php >>>> function I am missing some code.... if ($url == 'http://www.domain.com/catalog/index.php') { Can someone help me please.... I need to call something on the main index page only not when products or any other pages are active.... osC Contributions I have published. Note: Some I only provided minor changes, updates or additions!
katie81 Posted April 12, 2004 Posted April 12, 2004 just whack what you want to show on the index onto the code of the index page!
clarocque Posted April 12, 2004 Author Posted April 12, 2004 I actually want to change how the page looks if it is just the root index page. I have the rest of the code, I just need the codition that says if this is index.php I can only come up with code that reads index.php and index.php?cPath=.... the same. I need to say if your is anything but ".../index/php" do this..... osC Contributions I have published. Note: Some I only provided minor changes, updates or additions!
clarocque Posted April 13, 2004 Author Posted April 13, 2004 OK this might not make since to enyone but I basically want to change the look of the page, I have all working except this peice - does anyone know how to do this or is it not possible to get a condition that says if on index page......then...... else??? osC Contributions I have published. Note: Some I only provided minor changes, updates or additions!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.