Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Editing text


vikkic

Recommended Posts

I'm trying to edit the faq and info files in the affiliate program.

 

I started by editing affiliate_faq.php and affiliate_info.php in catalog/includes/languages/english/ but whatever I type into those files gives me a parse error when uploaded.

 

Anyone?

 

Vikki

Link to comment
Share on other sites

Below is affiliate_info.php, from catalog/includes/languages/english and I edited the 'Your Affiliate Information Goes in Here'.

 

<?php

/*

$Id: affiliate_info.php,v 1.1 2002/12/01 22:39:33 simarilius Exp $

 

OSC-Affiliate

 

Contribution based on:

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

 

define('NAVBAR_TITLE', 'Affiliate Program');

define('HEADING_TITLE', 'Affiliate Program');

 

define('HEADING_AFFILIATE_PROGRAM_TITLE', 'The ' . STORE_NAME . ' Affiliate Program');

define('TEXT_INFORMATION', 'Your Affiliate Information Goes in Here');

?>

Link to comment
Share on other sites

We would need to see specific errors including line numbers/file name

 

And then show us what is at the spot in that file

 

More than likely what you have shown us is the language file, not the file that is actually causing the parse errors (same filename, different folder)

 

OR if you have edited those define lines below, show us what you did, not the originals then we can at least have a chance at seeing what the problem is.

Link to comment
Share on other sites

OR if you have edited those define lines below, show us what you did, not the originals then we can at least have a chance at seeing what the problem is.

 

The original:

 

<?php

/*

$Id: affiliate_info.php,v 1.1 2002/12/01 22:39:33 simarilius Exp $

 

OSC-Affiliate

 

Contribution based on:

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

 

define('NAVBAR_TITLE', 'Affiliate Program');

define('HEADING_TITLE', 'Affiliate Program');

 

define('HEADING_AFFILIATE_PROGRAM_TITLE', 'The ' . STORE_NAME . ' Affiliate Program');

define('TEXT_INFORMATION', 'Your Affiliate Information Goes in Here');

?>

 

Original - and I edited:

 

define('TEXT_INFORMATION', 'Join the Hand-DyedFibers affiliate team! You can earn money just by referring customers to our web site!');

 

Parse error, on line 22. Which is the line I edited.

 

Vikki

Link to comment
Share on other sites

I did finally figure this out - and I'll put it here just so that if someone else doesn't know this as a newbie they'll find it.

 

You need to add text by adding only as many characters as the box will take - it's not like html with word flow. So you have to type in the few words at a time and when the line is full you put in a <br> so it starts on the next line.

 

Whew. One little thing down at a time. :)

 

Vikki

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...