Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

setting conditions of use on web page


sammy-jo

Recommended Posts

:'(  Thanx for your last reply

 

I have looked all through the files on file manager and still cannot find it, is there any other way?

 

You need to open the file mentioned in a editor. There are some free ones available do a search if you dont have one. Make your changes and upload the file.

 

In your catalog click on the includes file.

In your includes file click on languages file.

In your languages file click on english file.

In your english file open conditions.php. Make a backup of conditions.php, make your changes and upload the new file.

 

Good Luck!

Moon

"Woohoo, Just Havin Funnn!"

Link to comment
Share on other sites

:blush: Hey ive found the file now!"YAY". But one more thing.......where do i put my text???

 

 

 

 

 

<?php

/*

$Id: conditions.php,v 1.22 2003/06/05 23:26:22 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

require('includes/application_top.php');

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONDITIONS);

 

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONDITIONS));

?>

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html <?php echo HTML_PARAMS; ?>>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

<title><?php echo TITLE; ?></title>

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

<link rel="stylesheet" type="text/css" href="stylesheet.css">

</head>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

<!-- header //-->

<?php require(DIR_WS_INCLUDES . 'header.php'); ?>

<!-- header_eof //-->

 

<!-- body //-->

<table border="0" width="100%" cellspacing="3" cellpadding="3">

<tr>

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

<!-- left_navigation //-->

<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

<!-- left_navigation_eof //-->

</table></td>

<!-- body_text //-->

<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_specials.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

</tr>

</table></td>

</tr>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<tr>

<td class="main"><?php echo TEXT_INFORMATION; ?></td>

</tr>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<tr>

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

<tr class="infoBoxContents">

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

</tr>

</table></td>

</tr>

</table></td>

</tr>

</table></td>

<!-- body_text_eof //-->

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

<!-- right_navigation //-->

<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

<!-- right_navigation_eof //-->

</table></td>

</tr>

</table>

<!-- body_eof //-->

 

<!-- footer //-->

<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>

<!-- footer_eof //-->

<br>

</body>

</html>

<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

Link to comment
Share on other sites

:'(  Thanx for your last reply

 

I have looked all through the files on file manager and still cannot find it, is there any other way?

 

Catalog/includes/languages/english/conditions.php

 

( NOTE: The Files may not be in Catalog depending upon your install or in english folder if not using english.... eg could be in includes/languages/german/conditions.php or includes/languages/espanol/conditions.php)

 

You should be able to edit it that way.... unless you have deleted the file(s)? o:)

 

it should contain

 

<?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.');

?>

 

 

and you need to keep the ' at the start and the ' at the end

Link to comment
Share on other sites

Just go to your file manager

 

then go to includes file includes (doubble click)

then go to includes file languages (doubble click)

then go to includes file english (or whatever language you want to edit) (doubble click)

then go to includes file conditions.php click once, then click edit

Link to comment
Share on other sites

Dont give up...Did you read this?

 

 

You need to open the file mentioned in a editor. There are some free ones available do a search if you dont have one. Make your changes and upload the file.

 

In your catalog click on the includes file.

In your includes file click on languages file.

In your languages file click on english file.

In your english file open conditions.php. Make a backup of conditions.php, make your changes and upload the new file.

 

Good Luck!

Moon

"Woohoo, Just Havin Funnn!"

Link to comment
Share on other sites

Dont give up...Did you read this?

Yes, Thank you all very much!i deleted all languages as i only wanted it in english, so when i double click on includes there isnt an option for languages so shall i just skip that step and click on conditions php?? :rolleyes:

Link to comment
Share on other sites

Yes, Thank you all very much!i deleted all languages as i only wanted it in english, so when i double click on includes there isnt an option for languages so shall i just skip that step and click on conditions php?? :rolleyes:

 

 

Guess so.... but i have never deleted the other languages just removed the select a language option from all the pages but i guess it would work that way also?

 

Good Luck

Link to comment
Share on other sites

Yes, Thank you all very much!i deleted all languages as i only wanted it in english, so when i double click on includes there isnt an option for languages so shall i just skip that step and click on conditions php?? :rolleyes:

 

 

PLEASE IGNORE LAST POST BY ME, not sure what the hell i was doing last time but ive downloaded the conditions file now!!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...