Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

An Easy Text Change


freelight

Recommended Posts

Posted

Hi,

 

I have figured out the download part of the program, the payment system and the images, etc. I get that in order, then when I try to modify the text on the index page, it always gives me error. I am geting really frustrated with it. Is there an easy way to modify or add text to the front page without really having to change anything on the page itself ? Like a way to have a text file I can modify and have that be the index page text ? That way I can't screw things up again. I suppose I need to do the same thing on the shipping info as well. I have spent so much time re-installing the program from the server, that I am considering other options. Please help. All I want to do is have an easy way to sell zips. That is it.

 

Plus, is there an easy way to create " Skins " or different places to get downloads or themes for the store ? Like phpbb ? Just curious. Thanks again!! I do appreciate it.

 

freelight

Posted

firstly allways edit offline, save and upload this stops errors caused by editing online with the file manager, mainly the headers allready sent error.

 

when editing the text part for the front page in includes/languages/english/index.php

 

make sure that this part of the code is present

define('TEXT_MAIN', '

before any text that you wish to add and that this part of the code is present after any text that you add

');

 

also remember that any special characters used within the text, especially apostrophe ' have the \ before them as in what's being what\'s

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted
firstly always edit offline, save and upload this stops errors caused by editing online with the file manager, mainly the headers already sent error.

 

Good advice, edit the file locally, rename the existing file on the server (as a back-up) then upload your altered file. Practice makes perfect, in a couple days you'll wonder why you were having problems when you started.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Archived

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

×
×
  • Create New...