Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help with code...


clarocque

Recommended Posts

Posted

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!

Posted

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!

Posted

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!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...