shinyclothing Posted May 9, 2009 Share Posted May 9, 2009 Here is my website www.shinyclothing.no - on the norwegian language version it shows a text "demo shop" on the top and I want to remove it do u know how? - In information Shipping & Returns Privacy Notice Conditions of Use Contact Us how do I add more or change the name of these? there are something more info I want to put in there Thanks in advance PS. My store is far from done Link to comment Share on other sites More sharing options...
shinyclothing Posted May 9, 2009 Author Share Posted May 9, 2009 how come I am the only one that did not get any reply at all? >_< I would want to finish my shop til next week so please help Link to comment Share on other sites More sharing options...
steve_s Posted May 9, 2009 Share Posted May 9, 2009 Here is my website www.shinyclothing.no - on the norwegian language version it shows a text "demo shop" on the top and I want to remove it do u know how? - In information Shipping & Returns Privacy Notice Conditions of Use Contact Us how do I add more or change the name of these? there are something more info I want to put in there Thanks in advance PS. My store is far from done open up catalog/includes/languages/norwegian.php or catalog/includes/languages/norwegian/index.php and search for demo shop now simply replace it for others you mentioned open them files up in includes/languages/english/contact_us.php etc and in the defines alter text Link to comment Share on other sites More sharing options...
shinyclothing Posted May 9, 2009 Author Share Posted May 9, 2009 I have tried these, but it doesnt work.... the first one... are u sure its the index.php? because I am not talking about the first page text... but the one above the adress bar etc and the seconde one I have tried... it only changes the text inside but not the link Link to comment Share on other sites More sharing options...
steve_s Posted May 9, 2009 Share Posted May 9, 2009 I have tried these, but it doesnt work.... the first one... are u sure its the index.php? because I am not talking about the first page text... but the one above the adress bar etc and the seconde one I have tried... it only changes the text inside but not the link for store demo google 'simple search and replace' browse to norwegian language pack, make sure replace is not ticked ,now search for store demo you will easily find what file that text is in to change link names open up catalog/includes/languages/english.php and norwegian.php and find // information box text in includes/boxes/information.php define('BOX_HEADING_INFORMATION', 'Information'); define('BOX_INFORMATION_PRIVACY', 'Privacy Notice'); define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use'); define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns'); define('BOX_INFORMATION_CONTACT', 'Contact Us'); Link to comment Share on other sites More sharing options...
shinyclothing Posted May 9, 2009 Author Share Posted May 9, 2009 its working now Thank you so much... I spended like 5 hours for something like that..... >_< Link to comment Share on other sites More sharing options...
shinyclothing Posted May 10, 2009 Author Share Posted May 10, 2009 I still cannot fix the second one thats I see on includes/boxes/information.php <?php/* $Id: information.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- information //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => 'define('BOX_HEADING_INFORMATION', 'Information'); define('BOX_INFORMATION_PRIVACY', 'Privacy Notice'); define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use'); define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns'); define('BOX_INFORMATION_CONTACT', 'Contact Us'); new infoBox($info_box_contents); ?> </td> </tr> <!-- information_eof //--> Link to comment Share on other sites More sharing options...
steve_s Posted May 10, 2009 Share Posted May 10, 2009 I still cannot fix the second one thats I see on includes/boxes/information.php change $info_box_contents[] = array('text' => 'define('BOX_HEADING_INFORMATION', 'Information'); define('BOX_INFORMATION_PRIVACY', 'Privacy Notice'); define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use'); define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns'); define('BOX_INFORMATION_CONTACT', 'Contact Us'); to $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'); Link to comment Share on other sites More sharing options...
shinyclothing Posted May 10, 2009 Author Share Posted May 10, 2009 then how can I change the link names? it doesnt show the text for the links sorry I am new with all these codes ^^; Link to comment Share on other sites More sharing options...
steve_s Posted May 10, 2009 Share Posted May 10, 2009 then how can I change the link names? it doesnt show the text for the links sorry I am new with all these codes ^^; What i said to change will make links with the defines from the english.php an norwegian.php in includes/languages/ folder I cant understand why there in information.php box, here is my code from information.php in includes/boxes <?php /* $Id: information.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce (Open Source Commerce) http://www.oscommerceproject.org Copyright (c) 2003 osCommerce Released under the GNU General Public License */ ?> <!-- information //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'); new infoBox($info_box_contents); ?> </td> </tr> <!-- information_eof //--> now notice them box_information_xxxxxx are in my languages folder english.php // information box text in includes/boxes/information.php define('BOX_HEADING_INFORMATION', 'Information'); define('BOX_INFORMATION_PRIVACY', 'Privacy Notice'); define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use'); define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns'); define('BOX_INFORMATION_CONTACT', 'Contact Us'); so all you need to do is alter them in your languages file Link to comment Share on other sites More sharing options...
shinyclothing Posted May 10, 2009 Author Share Posted May 10, 2009 Its done now =) Thank You So Much but I got a last question before I can complete my shop ^^;; when I write a text in these pages, how do I change the size of the letters and I dont understand how to make a space between sentence (like the enter key) I have tried searching the basics of these codes, but could not find any the answer I am looking for.... Link to comment Share on other sites More sharing options...
steve_s Posted May 10, 2009 Share Posted May 10, 2009 Its done now =) Thank You So Much but I got a last question before I can complete my shop ^^;; when I write a text in these pages, how do I change the size of the letters and I dont understand how to make a space between sentence (like the enter key) I have tried searching the basics of these codes, but could not find any the answer I am looking for.... for newline use <br> or can use <p> at beginging and </p>at end for different size text <font size="12"> end with</font> or use in style <p style="font-size: 12pt;">text xxxxxxxxxxx</p> Link to comment Share on other sites More sharing options...
shinyclothing Posted May 10, 2009 Author Share Posted May 10, 2009 Thanks =) Dont think I will have any more quetions for a while now =P Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.