Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

simple template system


andyshep

Recommended Posts

Posted

Hi all,

 

Done a lot of faffing about with oscommerce. ( complete newbie )

Got it up and running locally.

patched for register globals off.

installed the simple template system 1.2.

All running correctly :D.

 

problem i have is with using the sts 1.2 template.

form what i can gather from the documentation is all you do is simply alter the template.html in the includes folder to alter the look of the site.

 

so i added a logo to the template to replace the default one in the top-left (oscommerce one) and tested it.

 

all i get is the box with the red cross in.

is there something im missing?

 

cheers Andy

Posted
might sound overly simple in asking this, but did you check that the image is physically in the dir you are calling it from?

 

yes it is in the dir. gonna try using sts beta 3 this has been recommended to me.

Posted

Check to make sure the path to the image is correct. Generally should read "/catalog/images/... .gif" or you could insert the absolute path begining with http://www.yourdomain. When adding the image in STS, the path is sometimes messed up. Double click the picture in STS and look to see what the path is there.

 

The template knows there is a picture, it is just a matter of telling it where the picture is.

Posted

hi again.

 

done a fresh install of oscommerce ( locally ) and install sts 3 beta.

 

get this error

Undefined index: no_sts in c:\program files\easyphp1-7\www\catalog\includes\application_top.php on line 18

 

had a look on oscommerce support forums and havent found a solution. they all seem to say that installation was performed incorrectly.

 

i have performed the install 3 times following instructions to a T.

still get the error...

 

any ideas?

Posted

This seems to be a local server issue. not sure if its just with easyphp1.7 but when i followed the same instructions to install on my web server it worked fine.

  • 1 month later...
Posted
This seems to be a local server issue. not sure if its just with easyphp1.7 but when i followed the same instructions to install on my web server it worked fine.

 

I'm working through this right now.

 

Some rules that help:

 

Fix your config.php file so that the path to your image directory is absolute.

 

On your template, use absolute paths to the images too.

 

I am having one final issue and probably need to adjust config.php but am not certain which part yet: the images for the advanced search etc which I think reside in a languages/english directory do not show up when I go to a products page. Any help appreciated.

Archived

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

×
×
  • Create New...