Sal Posted April 3, 2007 Posted April 3, 2007 I have added some new pages to my shop, everything worked ok, until I decided to add some more. I have added 3 more and when I tried to add them to my information box my links to the pages had underscores showing. Soooo, I searched on here and found a topic and resolution: in includes/filename.php You need to: define ('FILENAME_EXPORTORDERS' , 'yourlink.php'); and in the includes/launguges/yourlauguage.php define ('BOX_TOOLS_EXPORTORDERS' , 'Export Orders'); problem fixed. QUOTE(mightyvalk @ Mar 12 2007, 03:36 AM) When I go into edit some of my headers or boxes to add additionla links or what ever...the underscore from my code is actually showing up on the site. Weird problem. I am used to html but this is a little different. I am sure it is something simple but I am missing it. For Example: This one works '<a href="' . tep_href_link(FILENAME_NEWSLETTERS) . '" class="menuBoxContentLink">' . BOX_TOOLS_NEWSLETTER_MANAGER . '</a><br>' This one doesn't '<a href="' . tep_href_link(FILENAME_EXPORTORDERS) . '" class="menuBoxContentLink">' . BOX_TOOLS_EXPORTORDERS . '</a><br>' out put is BOX_TOOLS_EXPORTORDERS in my box and FILENAME_EXPORTORDERS is at the end in my address bar instead of EXPORTORDERS.php I have done this (obviously changing box_tool to box_information!) and I am now getting the dreaded syntax error -t-string expected. The code I am adding is this: define('BOX_INFORMATION_ABOUT_LUNALIGHT , 'About Lunalight'); define('BOX_INFORMATION_LINKS' , 'Links'); define('BOX_INFORMATION_ABOUT_OUR_PRODUCTS' , 'About Our Products'); Any ideas as to what is wrong with it? Have I just missed something silly? lol :-" Any help gratefully received before I go completely bonkers!
Sal Posted April 3, 2007 Author Posted April 3, 2007 Been searching the forum for the past hour and have only found one other post about it and it says to do the same as the above post, which I have done and am still getting the same error. Don't understand where I am going wrong!
Jack_mcs Posted April 3, 2007 Posted April 3, 2007 Change this define('BOX_INFORMATION_ABOUT_LUNALIGHT , 'About Lunalight'); to this define('BOX_INFORMATION_ABOUT_LUNALIGHT', 'About Lunalight'); 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
Sal Posted April 3, 2007 Author Posted April 3, 2007 I was right it was something silly! I think after looking at something over and over again you just miss things! Thank you Jack, much appreciated! :* :thumbsup:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.