Guest d4red3vil Posted January 30, 2010 Share Posted January 30, 2010 Hi...I'm trying to remove the following from the 'Categories' left hand box; Homepage Gift Certs Sales I have found where they are listed in categories.tpl and included top part with Homepage below. I remove this line <li class="li-nav"><a href="index.php" title="{LANG_HOME}">{LANG_HOME}</a></li> yet homepage still shows in Category box? I am 100% editing the correct category file in the correct skin directory as I have edited and sorted everything else. PLEASE HELP <!-- BEGIN: categories --> <div class="LeftBox"> <div class="subHeading"><h3>{LANG_CATEGORY_TITLE}</h3></div> <ul id="mainmenu-nav"> <!-- top nav list --> <li class="li-nav"><a href="index.php" title="{LANG_HOME}">{LANG_HOME}</a></li> <!-- BEGIN: a --> <!-- BEGIN: ul_start --><ul class="ul-nav"> <!-- start sub nav list --> <!-- END: ul_start --> <!-- BEGIN: li_start --> <li class="li-nav"><!-- END: li_start --><a href="index.php?_a=viewCat&catId={DATA.cat_id}" title="{DATA.cat_name}">{DATA.cat_name} ({DATA.noProducts})</a><!-- BEGIN: li_end --></li> <!-- END: li_end --> <!-- BEGIN: ul_end --></ul></li> Quote Link to comment Share on other sites More sharing options...
Guest Posted January 30, 2010 Share Posted January 30, 2010 Hi...I'm trying to remove the following from the 'Categories' left hand box; Homepage Gift Certs Sales I have found where they are listed in categories.tpl and included top part with Homepage below. I remove this line <li class="li-nav"><a href="index.php" title="{LANG_HOME}">{LANG_HOME}</a></li> yet homepage still shows in Category box? I am 100% editing the correct category file in the correct skin directory as I have edited and sorted everything else. PLEASE HELP <!-- BEGIN: categories --> <div class="LeftBox"> <div class="subHeading"><h3>{LANG_CATEGORY_TITLE}</h3></div> <ul id="mainmenu-nav"> <!-- top nav list --> <li class="li-nav"><a href="index.php" title="{LANG_HOME}">{LANG_HOME}</a></li> <!-- BEGIN: a --> <!-- BEGIN: ul_start --><ul class="ul-nav"> <!-- start sub nav list --> <!-- END: ul_start --> <!-- BEGIN: li_start --> <li class="li-nav"><!-- END: li_start --><a href="index.php?_a=viewCat&catId={DATA.cat_id}" title="{DATA.cat_name}">{DATA.cat_name} ({DATA.noProducts})</a><!-- BEGIN: li_end --></li> <!-- END: li_end --> <!-- BEGIN: ul_end --></ul></li> I'm pretty sure that the only way to change this is via categories.inc.php. Cheers Andrea :) Quote Link to comment Share on other sites More sharing options...
Guest d4red3vil Posted January 30, 2010 Share Posted January 30, 2010 Hi Andrea (Thanks for your response) I only want to remove the Homepage option that gets listed at the TOP of the Categories listing so only my Products show. If I do what you suggest I think it will remove all my product categories no? Best wishes Stee Quote Link to comment Share on other sites More sharing options...
Guest Posted January 30, 2010 Share Posted January 30, 2010 Hi Andrea (Thanks for your response) I only want to remove the Homepage option that gets listed at the TOP of the Categories listing so only my Products show. If I do what you suggest I think it will remove all my product categories no? Best wishes Stee Hi Stee So let me get this right you'd like to remove the *homepage link* within the category box right? If that is the case then just delete this line <li class="li-nav"> <a href="index.php" class="txtDefault">{LANG_HOME}</a></li> and delete the rest <!-- BEGIN: gift_certificates --> <li class="li-nav"> <a href="index.php?_a=giftCert">{LANG_GIFT_CERTS}</a></li> <!-- END: gift_certificates --> <!-- BEGIN: sale --> <li class="li-nav"> <a href="index.php?_a=viewCat&catId=saleItems">{LANG_SALE_ITEMS}</a></li> <!-- END: sale --> that should do it. Andrea :rolleyes: Quote Link to comment Share on other sites More sharing options...
Guest d4red3vil Posted January 30, 2010 Share Posted January 30, 2010 Hi Andrea Correct Thats exactly what I diid and they still appear there (Really annoying) Your a star for trying to help though. I just though I was doing something wrong. Best wishes Stee Quote Link to comment Share on other sites More sharing options...
Guest Posted January 30, 2010 Share Posted January 30, 2010 Hi Andrea Correct Thats exactly what I diid and they still appear there (Really annoying) Your a star for trying to help though. I just though I was doing something wrong. Best wishes Stee Hi Stee Oh dear, that is odd...which skin are you using? Would you be able to provide a url? also can you make sure that you clear out the *cache* I don't mind helping, this is what the forums are all about . Andrea Quote Link to comment Share on other sites More sharing options...
Robsta Posted January 30, 2010 Share Posted January 30, 2010 Yes, clearing the store cache will fix the issue. During development better to disable SQL caching to avoid these types of issues... and re-enable it on store launch. Quote Link to comment Share on other sites More sharing options...
Guest d4red3vil Posted January 30, 2010 Share Posted January 30, 2010 First off...Andrea your a gem. Thanks for your help and you can view my URL here www.dealerbuttons.co.uk/index.php but it's not live yet. How do you clear or disable the SQL cache...Interestin :rolleyes: Quote Link to comment Share on other sites More sharing options...
Guest Posted January 30, 2010 Share Posted January 30, 2010 First off...Andrea your a gem. Thanks for your help and you can view my URL here www.dealerbuttons.co.uk/index.php but it's not live yet. How do you clear or disable the SQL cache...Interestin thanks jeje Ok depending on which browser you are using..... if Firefox which is what most designers/developers use then you'll need to go to Tools > Options > Privacy and clear out all your cookies. As for your store, you'll need to log into admin > General Settings > Enable debug output? set to NO then go to General Settings > Use SQL Query Caching (Recommended!) > set to NO This should clear things up. Andrea Quote Link to comment Share on other sites More sharing options...
Guest d4red3vil Posted January 31, 2010 Share Posted January 31, 2010 absolutely blooming marvelous It worked a treat. If you know a Poker player and he would like a wicked Limited Edition Dealer Button / Card Marker at discount price, drop me a note as a thankyou from me. Wicked and thanks Steven (I'll be back when I get stuck again) Quote Link to comment Share on other sites More sharing options...
Guest Posted February 1, 2010 Share Posted February 1, 2010 absolutely blooming marvelous It worked a treat. If you know a Poker player and he would like a wicked Limited Edition Dealer Button / Card Marker at discount price, drop me a note as a thankyou from me. Wicked and thanks Steven (I'll be back when I get stuck again) Hi Steven Thanks for the kind words and the offer.... i'm just glad you got it to work that is enough for me ! Have a lovely day! Cheers Andrea :) Quote Link to comment Share on other sites More sharing options...
Guest Marcus Jansson Posted March 19, 2010 Share Posted March 19, 2010 But if you want to change the name "Homepage" to something else, like "Home" instead. Where do you do that? I can delete it but not change it. The languages maybe crash or something like that? Quote Link to comment Share on other sites More sharing options...
Robsta Posted March 19, 2010 Share Posted March 19, 2010 But if you want to change the name "Homepage" to something else, like "Home" instead. Where do you do that? I can delete it but not change it. The languages maybe crash or something like that?Use the language system within Admin. Quote Link to comment Share on other sites More sharing options...
Guest Marcus Jansson Posted March 19, 2010 Share Posted March 19, 2010 But if you want to change the name "Homepage" to something else, like "Home" instead. Where do you do that? I can delete it but not change it. The languages maybe crash or something like that?Use the language system within Admin. OK, so you can change the name there also? From Homepage to Home? Cant find it ???? Please help! Quote Link to comment Share on other sites More sharing options...
Guest Posted March 19, 2010 Share Posted March 19, 2010 But if you want to change the name "Homepage" to something else, like "Home" instead. Where do you do that? I can delete it but not change it. The languages maybe crash or something like that?Use the language system within Admin. OK, so you can change the name there also? From Homepage to Home? Cant find it ???? Please help! You can do this by changing the {LANG_HOME} to *Home* its probably the quickest way to do it so no language files are edited. Hope that helps. Andrea :) Quote Link to comment Share on other sites More sharing options...
Guest lynnedob Posted March 21, 2010 Share Posted March 21, 2010 But if you want to change the name "Homepage" to something else, like "Home" instead. Where do you do that? I can delete it but not change it. The languages maybe crash or something like that?Use the language system within Admin. OK, so you can change the name there also? From Homepage to Home? Cant find it ???? Please help! You can do this by changing the {LANG_HOME} to *Home* its probably the quickest way to do it so no language files are edited. Hope that helps. Andrea Hi, I have been looking for this too. I just found in the Admin > Modules > Languages area you can enter in alternate text for all kinds of stuff through the store. I changed Homepage to Home, plus changed Title of my Category box and Email box and a whole load of other stuff. worth exploring that area of admin. Lynne Quote Link to comment Share on other sites More sharing options...
Guest Marcus Jansson Posted March 21, 2010 Share Posted March 21, 2010 But if you want to change the name "Homepage" to something else, like "Home" instead. Where do you do that? I can delete it but not change it. The languages maybe crash or something like that?Use the language system within Admin. OK, so you can change the name there also? From Homepage to Home? Cant find it ???? Please help! You can do this by changing the {LANG_HOME} to *Home* its probably the quickest way to do it so no language files are edited. Hope that helps. Andrea Hi, I have been looking for this too. I just found in the Admin > Modules > Languages area you can enter in alternate text for all kinds of stuff through the store. I changed Homepage to Home, plus changed Title of my Category box and Email box and a whole load of other stuff. worth exploring that area of admin. Lynne Thanks alot i found it /Marcus 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.