Guest Posted August 19, 2005 Posted August 19, 2005 which file that included the tab bar links code? I'd would to change the Homepage tab link to Home Thanks Quote
roban Posted August 19, 2005 Posted August 19, 2005 A simple search would have resulted in this: Go to skins/classic (or whatever skin)/styleTemplates/boxes/categories.tpl. You will see this code at the top...(code might vary depending on what skin). <!-- BEGIN: categories --> <div class="boxTitleLeft">{LANG_CATEGORY_TITLE}</div> <div class="boxContentLeft"> <ul> <li class="bullet"><a href="index.php" class="txtDefault">{LANG_HOME}</a></li> Replace "index.php" with "http://www.yoursite". Quote
Guest Posted August 19, 2005 Posted August 19, 2005 A simple search would have resulted in this: Go to skins/classic (or whatever skin)/styleTemplates/boxes/categories.tpl. You will see this code at the top...(code might vary depending on what skin). <!-- BEGIN: categories --> <div class="boxTitleLeft">{LANG_CATEGORY_TITLE}</div> <div class="boxContentLeft"> <ul> <li class="bullet"><a href="index.php" class="txtDefault">{LANG_HOME}</a></li> Replace "index.php" with "http://www.yoursite". opps i'm sorry, i mean changing text >> Homepage to Home Quote
roban Posted August 19, 2005 Posted August 19, 2005 Then change {LANG_CATEGORY_TITLE} to Home, just leave out the brackets Quote
Guest jeffdev Posted September 3, 2005 Posted September 3, 2005 Then change {LANG_CATEGORY_TITLE} to Home, just leave out the brackets Er, don't you mean change {LANG_HOME} to Home I just wanted to put you straight cos I just needed to do this very same thing except I wanted to change the link to "Shop Homepage". :lol: Quote
Guest Posted September 4, 2005 Posted September 4, 2005 I would not tweak it in the template or skin. I'd tweak it in the language file itself. That way if you change skins or do an update that changes skins, your changes will follow with it. CC3 is modular for a reason. That reason is to separate content from design. By putting your content IN that design, you're breaking the idea. Quote
Guest jeffdev Posted September 4, 2005 Posted September 4, 2005 Thanks for the tip Sir William.... :lol: Quote
markscarts Posted September 4, 2005 Posted September 4, 2005 Specifically, in your shopping cart's root directory, look in the "language" folder, then in the "en" folder, and search for: 'homepage' => "Homepage", Change the text in quotations ("Homepage") to whatever you want it to say, save the file and upload it to your server. If you use another language than English, follow the same principle of course in the other languages (de, es, fi, etc.). Quote
Guest jeffdev Posted September 4, 2005 Posted September 4, 2005 Thanks Mark. I also want to add another link here. I have used the suggested method to change "Homepage" to "Shop Homepage" now I need anorther link in the Categories box (I know this isn't the correct place but it's where my client wants the link) for the "Main Website" ?? Is this easy enough to add? Jeff Quote
markscarts Posted September 4, 2005 Posted September 4, 2005 Very easy to add - but the only way I know is to hard-code it. You just add this line after the <ul> tag: <li><a href="YOUR_SITE_URL">Main Website</a></li> If you want the main website page to open in a new window, then use this (your store will remain in the original browser window): <li><a href="YOUR_SITE_URL" target="_blank">Main Website</a></li> Replace YOUR_SITE_URL with the actual URL for your client's site, of course HTH, good luck! Quote
Guest jeffdev Posted September 4, 2005 Posted September 4, 2005 Mark, thanks for this I will have a crack at it when I get a few minutes spare. :w00t: Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.