Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please help with adding a image to the conditions of use page


maxissid

Recommended Posts

Posted

Hello,

I have searched everywhere on the web, google osCommerce for days and days. I want to change the conditions of use page to an about me page and I would like to include a photo along with text. I don't know the code and what php page I would change. Please help. I am so fustrated.

Posted

GO TO CATALOG/INCLUDES/LANGUAGES/ENGLISH/CONDITIONS.PHP- here u can change the name of from condition to about me

 

and for your information box you can change

GO TO CATALOG/INCLUDES/LANGUAGES/ENGLISH/english.php

 

look for this line:

 

define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use');

 

change the text

l8ter

Posted

to insert images followe this code

 

<?php echo tep_image(DIR_WS_IMAGES . 'checkout_bullet.gif'); ?>

 

eg would be like this

 

<td width="50%" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'checkout_bullet.gif'); ?></td>

l8ter

Posted
Hello,

I have searched everywhere on the web, google osCommerce for days and days. I want to change the conditions of use page to an about me page and I would like to include a photo along with text. I don't know the code and what php page I would change. Please help. I am so fustrated.

As for adding an image to the text on the page, you'll have to insert the <img> tag into the text definition for that page, which will be found in includes/languages/english/conditions.php, wherever you want the image to appear in the text... Also, you may want to change the filename itself to about_me.php, which would mean changing the conditions.php in the document root to match that name, and then the entry in includes/filenames.php to reflect the new name... If you feel frisky enough, you can change the definition name itself from FILENAME_CONDITIONS to FILENAME_ABOUT_ME, and change that in other locations, but that'll take some digging on your part... Otherwise, you can leave the FILENAME_CONDITIONS name itself alone, and change the value to about_me.php... This way they get the about_me.php in the url rather than conditions.php with info about you...

 

Richard.

Richard Lindsey

Posted

Hi Junior and Velveeta,

Please advise Where does the image code go in this file? The following is the code on the condition php page. I tried what was written but my page went blank. Thanks for any help.

-Maxissid

 

<?php

/*

$Id: conditions.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

define('NAVBAR_TITLE', 'Conditions of Use');

define('HEADING_TITLE', 'Conditions of Use');

 

define('TEXT_INFORMATION', 'Put here your Conditions of Use information.');

?>

Posted
Hi Junior and Velveeta,

Please advise Where does the image code go in this file? The following is the code on the condition php page. I tried what was written but my page went blank. Thanks for any help.

-Maxissid

 

<?php

/*

$Id: conditions.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

define('NAVBAR_TITLE', 'Conditions of Use');

define('HEADING_TITLE', 'Conditions of Use');

 

define('TEXT_INFORMATION', 'Put here your Conditions of Use information.');

?>

If you wanted it above the text, you'd do something like this:

 

define('TEXT_INFORMATION', '<img src="images/imagefilename.jpg">Put here your Conditions of Use information.');

 

If you wanted it below the text, you'd do something like this:

 

define('TEXT_INFORMATION', 'Put here your Conditions of Use information.<img src="images/imagefilename.jpg">');

 

If you wanted it in the middle of the text, you'd do something like this:

 

define('TEXT_INFORMATION', 'Put here your <img src="images/imagefilename.jpg">Conditions of Use information.');

 

Richard.

Richard Lindsey

Archived

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

×
×
  • Create New...