Guest hammerhead Posted March 9, 2009 Share Posted March 9, 2009 Hi-- I'm looking to change the link "Homepage" to something else, but really can't find where it's coming from. Can someone point me in the right direction? Thanks! Quote Link to comment Share on other sites More sharing options...
Guest Posted March 10, 2009 Share Posted March 10, 2009 Hi-- I'm looking to change the link "Homepage" to something else, but really can't find where it's coming from. Can someone point me in the right direction? Thanks! __________________________________ Hi, i found this on another CC4 forum... hope it helps... I have been racking my brains trying to find this answer myself lol... Good Luck! __________________________________ Backup your store Make a backup of your whole store (both files and DB) first!! Regular backups are a necessary maintainance operation for any online store, particular if your store is *** LIVE *** !! If your store is not live then as a bare minimum you must backup the set of files that you are about to modify, explained below. Download files Files to be modified: includes/boxes/cartNavi.inc.php skins/{YOUR SKIN}/styleTemplates/boxes/categories.tpl Download these files from your web server. Create a second copy of each of these files on your computer - this is the backup set of files - put this backup set of files away in a safe place on your computer. You may need these untouched backup files in case anything goes wrong. Modify files Follow the instructions below to modify your files. The files will need to be opened and edited with a text editor. Carefully read all instructions and pay special attention to any instructions in red text. Upload files Upload the modified files to your web server. Be careful to upload them to the correct locations within your web server. Clear cache Go to Admin -> Rebuild & Recount. Click the button beside 'Clear Cache'. --------------------------------------------------------------------------------------- File : includes/boxes/cartNavi.inc.php Around line 88 (88) ... FIND this block : if($_GET['_a']!=="step3") { $links[] = array ( 'link' => "index.php", 'text' => $lang['cartNavi']['homepage'] ); } 1. REPLACE text highlighted red above with the green text highlighted below: 2. Then change the URL shown below as http://www.example.com to the URL that you want to use for your homepage, e.g. http://www.mydomain.com if($_GET['_a']!=="step3") { $links[] = array ( /* start mod: Change Homepage Links - by Estelle */ 'link' => "http://www.example.com", /* end mod: Change Homepage Links - by Estelle */ 'text' => $lang['cartNavi']['homepage'] ); } File : skins/{YOUR SKIN}/styleTemplates/boxes/categories.tpl Around line 2 (2) ... FIND this line : <li class="li-nav"><a href="index.php" title="{LANG_HOME}">{LANG_HOME}</a></li> 1. REPLACE text highlighted red above with the green text highlighted below: 2. Then change the URL shown below as http://www.example.com to the URL that you want to use for your homepage, e.g. http://www.mydomain.com <!-- start mod: Change Homepage Links - by Estelle --> <li class="li-nav"><a href="http://www.example.com" title="{LANG_HOME}">{LANG_HOME}</a></li> <!-- end mod: Change Homepage Links - by Estelle --> Quote Link to comment Share on other sites More sharing options...
Guest hammerhead Posted March 10, 2009 Share Posted March 10, 2009 Hi! Thanks for the detailed reply, but I think this is more than what I need. I'm just looking to replace the displayed text from "Homepage" to "Store Front" and not the URL. Quote Link to comment Share on other sites More sharing options...
Ausy Posted March 10, 2009 Share Posted March 10, 2009 You can change the text "homepage" through the Admin control panel - modules - languages - en - front end phrases - boxes - catagories navigation box. Quote Link to comment Share on other sites More sharing options...
Guest hammerhead Posted March 11, 2009 Share Posted March 11, 2009 Awesome. Thank you! Quote Link to comment Share on other sites More sharing options...
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.