Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Is there an easy mod I can do to remove the BASE Href tag.


penguinhead

Recommended Posts

Posted

I need to use relative references rather than absolute references to images on my website os commerce site.

 

Is this possible?

 

The reason is my hosting company "www.hostrocket.com" provide me with a secure server environment by creating a mirror of my normal site on the secure server.

 

This works great in that I simply point to the secure URl for those pages I wish to have secure like the os commerce payment sections.

 

However, non of my images will appear in the secure environment becuase the url is pointing to the absolute reference generated by the BASE HREF Tag. Instead I want the pages to reference the relative url address for images on the secure server.

 

Is there anyway I can get rid of the BASE Href command so that it accesses images RELATIVE to the current page directory?

 

Hope that makes sense!

 

thanks

Mike

Posted

Not that I am aware of. Sounds like you will have to make these changes by hand.

 

One thing you could do is create a define in Application_top or English.php that points to the URL that you are referring to. Then modify each page to include this centralized definition.

 

Good Luck.

 

-R

Archived

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

×
×
  • Create New...