momentofzen Posted October 12, 2007 Share Posted October 12, 2007 ok i can't seem to figure out how to add my policy to the policy.php. this is the only thing keeping me from getting my site up and running. i just need to add my privacy and my terms and condition. anyone know how to help me? ~jeni :blink: Link to comment Share on other sites More sharing options...
Guest Posted October 12, 2007 Share Posted October 12, 2007 ok i can't seem to figure out how to add my policy to the policy.php. this is the only thing keeping me from getting my site up and running. i just need to add my privacy and my terms and condition. anyone know how to help me?~jeni :blink: Sure, go into your file located at catalog/includes/languages/english/privacy.php and where it says define('TEXT_INFORMATION', 'Put here your Privacy Notice information.') Where it says 'Put here your Privacy Notice information.', replace it with your policy and other information inside of the quotes. Good luck! Link to comment Share on other sites More sharing options...
Nullachtfuffzehn Posted October 12, 2007 Share Posted October 12, 2007 Those texts are stored in the language files /includes/languages/english/privacy.php for example. those files exist for any language you've installed. Edit them and replace the existing sample text with your own. Note, that if your text contains single quotes like in "it's" they need to be escaped by adding a backslash in front (i.e. it\'s). Otherwise you'll get an error. Link to comment Share on other sites More sharing options...
momentofzen Posted October 12, 2007 Author Share Posted October 12, 2007 Sure, go into your file located at catalog/includes/languages/english/privacy.php and where it says define('TEXT_INFORMATION', 'Put here your Privacy Notice information.') Where it says 'Put here your Privacy Notice information.', replace it with your policy and other information inside of the quotes. Good luck! i tried. all it does is turn the whole page white when i check it out on my site. what am i doing wrong? Link to comment Share on other sites More sharing options...
Nullachtfuffzehn Posted October 12, 2007 Share Posted October 12, 2007 There is apparently a whitespace after the line that contains the last ?>. Delete it and it should work as expected. Link to comment Share on other sites More sharing options...
momentofzen Posted October 12, 2007 Author Share Posted October 12, 2007 i dont know if this is a stupid question or not but what exactly is a whitespace? Link to comment Share on other sites More sharing options...
Nullachtfuffzehn Posted October 12, 2007 Share Posted October 12, 2007 It's a blank sign, like when you hit the large bar at the center bottom of your keyboard... Just make sure there is no line behind the last ?> and no line before the opening <?php. That is the most common reason for blank pages. If there is none, post your privacy file here and i'll look into it. Link to comment Share on other sites More sharing options...
momentofzen Posted October 12, 2007 Author Share Posted October 12, 2007 ok cool. give me a second and i will try it out. Link to comment Share on other sites More sharing options...
momentofzen Posted October 12, 2007 Author Share Posted October 12, 2007 <?php /* $Id: privacy.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', 'Privacy Notice'); define('HEADING_TITLE', 'Privacy Notice'); define('TEXT_INFORMATION', 'Put here your Privacy Notice information.'); ?> theres no line after the ?> and this is what my file looks like without anything being done to it yet. Link to comment Share on other sites More sharing options...
Nullachtfuffzehn Posted October 12, 2007 Share Posted October 12, 2007 This is the standard file and so it shouldn't lead to a blank page in any way as long as it wasn't edited at all. The way you've posted it (without puting it in a code segment or codebox) doesn't allow me to see if there's anything else wrong. Link to comment Share on other sites More sharing options...
momentofzen Posted October 12, 2007 Author Share Posted October 12, 2007 i dont know how to do it anyway else Link to comment Share on other sites More sharing options...
Nullachtfuffzehn Posted October 12, 2007 Share Posted October 12, 2007 when entering your text here you have some icons at the top and left of the input area (as long as you don't use the lo-fi-version of the forums). If you move your mouse pointer over them, you'll find the explanations for what they are. Use them accordingly. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.