Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Couple of questions


bubblez

Recommended Posts

Posted

I am a newbie to this program, and I am trying to wrap my head around all the codes and stuff...but I am having a bit of troubles.

 

On the main page I am trying to add in some text, but I am unsure where to add it. I download the index page, open it in text format...but all the codes there I am not sure where I can put my text...I tried in different spots and just can get it. As well I want to do the same with the privacy file....but not sure where I can add my text

 

I am also wondering how I can add our information on to every page..ie address, phone number. Normally on most websites its on the bottom..but my screen does not have anything.

 

Thanks in advance for any help.

Posted

The text is in includes/languages/eglish/index.php. To add something to every page, add it to the includes/column_left.php, column_right.php, footer.php or header.php files.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted
The text is in includes/languages/eglish/index.php. To add something to every page, add it to the includes/column_left.php, column_right.php, footer.php or header.php files.

 

Jack

 

 

Hi Jack,

 

Ok, I understand that..but where in the midst of this page and all the html's do I add my text? for instantance in the header.php files...there is about 2 pages of html codes...and I am not sure what html code I should use to add my information.

 

This is the same with the privacy.php with all the html codes, I am unsure of where to add my text to make sure it gets to the right spot on the page.

 

Thanks

Posted

The code displays from top to bottom. If what you want to add should go in the middle of the page, tehn it is generally placed in the middle of the file. This is not always the case and you can't just pick the middle and place it there, but that will give you a starting place. You need to find a reference point on your page in the files so you will know where to place it. So if you want it at the bottom of the left column, open includes/column_left.php and insert the code at the very bottom. If it is php code, it goes before the ?>. If straight html, it goes after. If it is html code and you want it within php code, proceed your code with ?> and end it with <?php. I'm sure all this seems confusing but it gets a lot easier. You just have to pick a file and start making changes. If it fails, which it very well may, then ask a specific question here and you will get the solution.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Archived

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

×
×
  • Create New...