m3hd1 Posted September 9, 2008 Posted September 9, 2008 Hi, I have created and added a couple of pages to a oscommerce store using the instructions provided in the following link: http://www.oscommerce.com/forums/index.php?sho...=40982&st=0 I have also added a link to these new pages such as (About_k1 and Opening_Hours, Rates) under the "Information Box" To view the site please go to: www.k1computers.co.uk Everything works okay, however when it comes to changing the wording text of the pages listed under the "Information" box, for example About_K1 link's text to About K1 and "Opening_Hours" to "Opening Hours" from the /public_html/includes/boxes/information.php file I get the following error message: Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/k1com/public_html/includes/boxes/information.php on line 24 Basically I want to remove the under scroll sign ( _ ) and replace it with space. Can somebody please let me know how to achieve this please? Here is the code from information.php file: '<div class="cat"><a href="' . tep_href_link(FILENAME_ABOUT_US) . '">» ' . About_K1 . '</a></div>' . '<div class="cat"><a href="' . tep_href_link(FILENAME_OPENING_HOURS) . '">» ' . Opening_Hours . '</a></div>' . How can I edit the above code so that under Information Box (on the top left hand side of the home page) I get: About K1 Opening Hours Instead of: About_K1 Opening_hours Thanks very much for your time in advance.
Guest Posted January 29, 2009 Posted January 29, 2009 Hi, I have created and added a couple of pages to a oscommerce store using the instructions provided in the following link: http://www.oscommerce.com/forums/index.php?sho...=40982&st=0 I have also added a link to these new pages such as (About_k1 and Opening_Hours, Rates) under the "Information Box" To view the site please go to: www.k1computers.co.uk Everything works okay, however when it comes to changing the wording text of the pages listed under the "Information" box, for example About_K1 link's text to About K1 and "Opening_Hours" to "Opening Hours" from the /public_html/includes/boxes/information.php file I get the following error message: Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/k1com/public_html/includes/boxes/information.php on line 24 Basically I want to remove the under scroll sign ( _ ) and replace it with space. Can somebody please let me know how to achieve this please? Here is the code from information.php file: '<div class="cat"><a href="' . tep_href_link(FILENAME_ABOUT_US) . '">» ' . About_K1 . '</a></div>' . '<div class="cat"><a href="' . tep_href_link(FILENAME_OPENING_HOURS) . '">» ' . Opening_Hours . '</a></div>' . How can I edit the above code so that under Information Box (on the top left hand side of the home page) I get: About K1 Opening Hours Instead of: About_K1 Opening_hours Thanks very much for your time in advance. Try changing it to this: '<div class="cat"><a href="' . tep_href_link(FILENAME_ABOUT_US) . '">» ' . About K1 . '</a></div>' . '<div class="cat"><a href="' . tep_href_link(FILENAME_OPENING_HOURS) . '">» ' . Opening Hours . '</a></div>' .
Recommended Posts
Archived
This topic is now archived and is closed to further replies.