Patriciaspride Posted April 6, 2011 Share Posted April 6, 2011 I am having a hard time trying to figure out how to post my privacy statement along with the shipping and returns policy. The information about myself, address and phone did not show up on my page eitner. Any help would be greatly appreciated. Thank you. Link to comment Share on other sites More sharing options...
Guest Posted April 7, 2011 Share Posted April 7, 2011 Patricia, You can find the shipping.php, privacy.php and conditions.php in the /includes/english/ directory Chris Link to comment Share on other sites More sharing options...
Kyle88 Posted April 8, 2011 Share Posted April 8, 2011 Patricia, You can find the shipping.php, privacy.php and conditions.php in the /includes/english/ directory Chris So once you locate and open privacy.php how do you add the privacy statement. I have a privacy statement saved as privacy.html. My privacy.php looks like the following: require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRIVACY); $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_PRIVACY)); require(DIR_WS_INCLUDES . 'template_top.php'); ?> <h1><?php echo HEADING_TITLE; ?></h1> <div class="contentContainer"> <div class="contentText"> <?php echo TEXT_INFORMATION; ?> </div> <div class="buttonSet"> <span class="buttonAction"><?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'triangle-1-e', tep_href_link(FILENAME_DEFAULT)); ?></span> </div> </div> <?php require(DIR_WS_INCLUDES . 'template_bottom.php'); require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> Link to comment Share on other sites More sharing options...
Guest Posted April 8, 2011 Share Posted April 8, 2011 Kyle, Those are not the files I mentioned. You will find the files needed in the /includes/languages/english directory and it will appear like this: <?php /* $Id$ 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.'); ?> Please your information where it states. You can use HTML tags within this area if needed. Chris Link to comment Share on other sites More sharing options...
Kyle88 Posted April 8, 2011 Share Posted April 8, 2011 Kyle, Those are not the files I mentioned. You will find the files needed in the /includes/languages/english directory and it will appear like this: Please your information where it states. You can use HTML tags within this area if needed. Chris Hi Chris. I found the correct file, but I don't see within this file the area for: You can use HTML tags within this area if needed. Link to comment Share on other sites More sharing options...
knifeman Posted April 8, 2011 Share Posted April 8, 2011 Hi Chris. I found the correct file, but I don't see within this file the area for: You can use HTML tags within this area if needed. 'Put here your Conditions of Use information.' replace that with your text. You can use html to format youer text. Do not remove the apostrophes in the code above, and always escape any apostrophes you have in your text. Tim Link to comment Share on other sites More sharing options...
Kyle88 Posted April 8, 2011 Share Posted April 8, 2011 Hi Chris. I found the correct file, but I don't see within this file the area for: You can use HTML tags within this area if needed. OK, i figured out what you were trying to tell me ... duh. I found the correct file. I pasted in the HTML and appeared in the correct spot and everything appeared as promised! Thank you for solving what had been a "big" problem. Another example of, "Once you know something it's easy". Link to comment Share on other sites More sharing options...
Kyle88 Posted April 8, 2011 Share Posted April 8, 2011 'Put here your Conditions of Use information.' replace that with your text. You can use html to format youer text. Do not remove the apostrophes in the code above, and always escape any apostrophes you have in your text. Tim Hi Tim. I copied my HTML in the area mentioned but it didn't work until I removed a portion of the text within the code that contained "words" that the php wanted to treat as something else ... I forget the correct term ... maybe statements. This is the section causing problems. The words in blue: <p>Google's use of the DART cookie enables it to serve ads to visitors based on their visit to sites they visit on the Internet, but at this time we are not using Google ads.</p> <p>Website visitors may opt out of the use of the DART cookie by visiting the Google ad and content network privacy policy, if at some point in the future we decide to use Google ads.</p> <p>If at any time in the future we decide to use Google ads we will update this privacy policy to announce this change and how it might affect visitors.</p> I just removed this section till I can solve the problem. Here is the entire section: <html> <head> <title>Privacy Policy</title> </head> <body style="font-family:verdana"> <center> <a href="/">Home Page</a> <table style="width:720px"><tr><td> <h2>Our Privacy Policy</h2> <p>(last update: Apr 7, 2011)</p> <h3>Information we gather</h3> <p>The following information is gathered from our website visitors:<br />IP address. All other information is submitted voluntarily solely for the purpose of shipping products to the destinations requested.</p> <h3>How we use the information we gather</h3> <p>We use the information to solely for the purpose of shipping goods and products requested by our customers. We are privacy freaks! We do not sell or give away any personal information.</p> <h3>The people that are given access to this information</h3> <p>Your personal information is accessible only by the owner of this site and his IT administrator.</p> <h3>The security measures we have in place to protect your personal information</h3> <p>To safeguard your personal information, only the owner of this site and the site IT administrator have access to your information.</p> <h3>Our use of cookies</h3> <p>Our website makes use of cookies which are small digital files that are stored in your web browser that enable us to track your return visits to our website.</p> <p>Your browser settings may allow you to block these cookies, but we recommend you have them enabled to help us personalise your experience of our website.</p> <p>We have no, 3rd party advertisers on our site that may use cookies for tracking purposes.</p> <p>Google, as a third party vendor, uses cookies to serve ads, but at this time we are not using Google ads.</p> <p>Google's use of the DART cookie enables it to serve ads to visitors based on their visit to sites they visit on the Internet, but at this time we are not using Google ads.</p> <p>Website visitors may opt out of the use of the DART cookie by visiting the Google ad and content network privacy policy, if at some point in the future we decide to use Google ads.</p> <p>If at any time in the future we decide to use Google ads we will update this privacy policy to announce this change and how it might affect visitors.</p> </td></tr></table> <a style="font-size:8pt;" href="http://www.freeprivacypolicy.org">FreePrivacyPolicy.org</a> </center> </body> </html> Link to comment Share on other sites More sharing options...
knifeman Posted April 8, 2011 Share Posted April 8, 2011 Google's You did not escape the apostrophe... Link to comment Share on other sites More sharing options...
Kyle88 Posted April 8, 2011 Share Posted April 8, 2011 Hi Tim. I copied my HTML in the area mentioned but it didn't work until I removed a portion of the text within the code that contained "words" that the php wanted to treat as something else ... I forget the correct term ... maybe statements. This is the section causing problems. The words in blue: <p>Google's use of the DART cookie ... OK I found the problem (though I don't understand it). The (') character in the word, Google's caused the problem. Once removed, everything behaved OK. Link to comment Share on other sites More sharing options...
Kyle88 Posted April 8, 2011 Share Posted April 8, 2011 You did not escape the apostrophe... I just saw your reply after I posted. Forgive me for asking, but how do you escape an apostrophe? Link to comment Share on other sites More sharing options...
knifeman Posted April 8, 2011 Share Posted April 8, 2011 I just saw your reply after I posted. Forgive me for asking, but how do you escape an apostrophe? google\'s Link to comment Share on other sites More sharing options...
Kyle88 Posted April 8, 2011 Share Posted April 8, 2011 google\'s Thank you knifeman. You made me look like a hero to the site owner. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.