theenlightenedone Posted January 18, 2005 Posted January 18, 2005 How do i add this link <a href="http://www.ukshoppingsearch.co.uk/" target="_blank"><img src="http://www.ukshoppingsearch.co.uk/html/images/ukshoppingsearchsmall.gif" alt="UK Shopping Search - Price Comparison" width="88" height="38" border="0"></a> To this *.php ? <?php define('NAVBAR_TITLE', 'About Us'); define('HEADING_TITLE', 'Visit These Links'); define('TEXT_INFORMATION', 'This information will be uploaded shortly.'); ?> I tried to copy and paste but it comes back with a error ? I hope and pray that the deceased have a good onward journey, And may they be calm and peaceful. R.I.P 12-26-2004 Let us rise up and be thankful, for if we didn't learn a lot today, at least we learned a little, and if we didn't learn a little, at least we didn't get sick, and if we got sick, at least we didn't die; so, let us all be thankful. [Gautama Siddharta] (563 - 483 BC).
Jack_mcs Posted January 18, 2005 Posted January 18, 2005 It appears to be a language file you are modifying so the code needs to be added into a define. Try this: define('NAVBAR_TITLE', 'About Us <a href="http://www.ukshoppingsearch.co.uk/" target="_blank"><img src="http://www.ukshoppingsearch.co.uk/html/images/ukshoppingsearchsmall.gif" alt="UK Shopping Search - Price Comparison" width="88" height="38" border="0"></a> '); Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
theenlightenedone Posted January 18, 2005 Author Posted January 18, 2005 I am trying to modify my about_us.php <?php define('NAVBAR_TITLE', 'About Us'); define('HEADING_TITLE', 'Visit These Links'); define('TEXT_INFORMATION', 'This information will be uploaded shortly.'); ?> When i added the above to it Parse error: parse error, unexpected '<' in /home/theenlig/public_html/catalog/includes/languages/english/about_us.php on line 5 I hope and pray that the deceased have a good onward journey, And may they be calm and peaceful. R.I.P 12-26-2004 Let us rise up and be thankful, for if we didn't learn a lot today, at least we learned a little, and if we didn't learn a little, at least we didn't get sick, and if we got sick, at least we didn't die; so, let us all be thankful. [Gautama Siddharta] (563 - 483 BC).
Jack_mcs Posted January 19, 2005 Posted January 19, 2005 There's nothing wrong with the above code if it is the full code. All oscommerce files have a heading that isn't supposed to be removed. Assuming that heading is still there and you just didn't post it, you probably have an extra <?php. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
theenlightenedone Posted January 20, 2005 Author Posted January 20, 2005 Sorted it :) I hope and pray that the deceased have a good onward journey, And may they be calm and peaceful. R.I.P 12-26-2004 Let us rise up and be thankful, for if we didn't learn a lot today, at least we learned a little, and if we didn't learn a little, at least we didn't get sick, and if we got sick, at least we didn't die; so, let us all be thankful. [Gautama Siddharta] (563 - 483 BC).
Recommended Posts
Archived
This topic is now archived and is closed to further replies.