Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Privacy Notice 2


mousse

Recommended Posts

Posted

I posted this problem before, but for some reason it didn't take.

 

When I change the Privacy Policy in catalog/includes/languages/[language]/privacy.php, the Privacy Notice doesn't change in the store. However, when I change the Privacy Policy in catalog/privacy.php, the text I changed appears in all of the languages.

 

How do I fix this?

 

Thanks in advance...

Posted

dont alter the text in catalog/privacy.php and you will not have an issue.

the echo code in the catalog/privacy.php

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

pulls the text information from the languages files i.e. catalog/includes/languages/english/privacy.php if you change the echo code replacing the

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

with the text of your choice then it will show in all languages the same, so leave this code alone and only change the information in the languages files.

 

Remember as with the example catalog/includes/languages/english/privacy.php your text information must fall between the '' thus

define('TEXT_INFORMATION', 'Put here your Privacy Notice information.');

changes to

define('TEXT_INFORMATION', 'Place the text that you want to show in your privacy statement here between the apostrophes remembering to escape any use of the apostrophe such as let\'s Put here your Privacy Notice information here.');

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

Thanks for the info. However, it's still not working for some reason (and my other post, the problem with NAVBAR_TITLE in the Navigation bar, hasn't gone away either). There is something here I'm missing. In my store, when I click on Privacy Notice (English), the text in the Privacy Notice box is TEXT_INFORMATION. You can see the problem at www.thirdhouseontheleft.com/shop/.

 

Here is the my catalog/privacy.php:

 

require('includes/application_top.php');

 

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

 

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_PRIVACY, '', 'NONSSL'));

?>

<!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 (getenv('HTTPS') == 'on' ? 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 valign="top">

<?php

 

 

$sql=mysql_query('SELECT * FROM info_privacy')

or die(mysql_error());

$row=mysql_fetch_array($sql);

 

?>

 

 

<br><br>

 

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

<tr class="header">

<td class="headerNavigation" width="10">

<img border="0" src="images/infobox/corner_right_left.gif"></td>

<td class="headerNavigation">Privacy Notice</td>

</tr>

</table>

 

 

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

<tr>

<td>

<table width="100%" border="0" cellpadding="4" cellspacing="4" class="infoBoxContents">

<tr>

<td class="boxtext" valign="top">

 

<td class="main">

<?php echo TEXT_INFORMATION; ?></td>

 

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

 

 

******************************************

And here is my catalog/includes/languages/english/privacy.php:

 

define('NAVBAR_TITLE', 'Privacy Notice');

define('HEADING_TITLE', 'Privacy Notice');

 

define('TEXT_INFORMATION', 'The Third House on the Left Customer Privacy Policy guides how we collect, store and use information about customers and prospects, and it will be periodically assessed against new technologies, business practices and our customers\' changing needs.<br>

Third House on the Left may, from time to time, modify this Customer Privacy Policy to reflect legal, technological and other developments. In that event, the changes will appear at this location. ?Please note that privacy notices advising customers and prospects as to the specific uses that are being made of their Personally-Identifiable Information by specific business units within The Third House on the Left may also be modified from time to time to reflect changes in business practices. In this event, those changes will appear in the relevant privacy notices.<br>

 

Third House on the Left is committed to using all reasonable efforts to abide by the following Policy statement:<br>

 

Collection. Personally-Identifiable Information will only be collected to the extent that The Third House on the Left deems reasonably necessary to serve a legitimate business purpose. Please be aware that if you disclose Personally-Identifiable Information on Web site message boards or chat areas, that information may be collected and used by third parties without our knowledge and may result in unsolicited communications from third parties. Such activities are beyond the control of Third House on the Left.<br>

 

Security. Appropriate safeguards will be implemented in an effort to ensure the security, integrity and privacy of Personally-Identifiable Information about our customers and prospects.<br>

 

Sensitive Data. The collection and use of Sensitive Data carries with it special obligations and responsibilities in order to maintain the data\'s security, integrity and privacy. Sensitive Data will not be rented or otherwise made available for External Distribution outside Third House on the Left.<br>

 

Questions and comments? The Third House on the Left Customer Privacy Policy has been developed out of respect for the privacy preferences and choices of our customers and prospects. We have established procedures to ensure that every reasonable effort is made to address your concerns.

');

?>

 

*****************************

 

 

Incidentally, the same problem applies to Shipping & Returns, and Conditions of Use. I imagine that it would all be related to the same coding glitch.

 

I would once more appreciate help greatly...

 

Thanks in advance.

Archived

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

×
×
  • Create New...