Jump to content

V4 Cannor remove Homepage, Gift Certs from Categories Box


Guest d4red3vil

Recommended Posts

Guest d4red3vil

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 :rolleyes:

<!-- 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&amp;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>

Link to comment
Share on other sites

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 :rolleyes:

<!-- 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&amp;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 :)

Link to comment
Share on other sites

Guest d4red3vil

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

Link to comment
Share on other sites

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&amp;catId=saleItems">{LANG_SALE_ITEMS}</a></li>

<!-- END: sale -->

that should do it.

Andrea :rolleyes:

Link to comment
Share on other sites

Guest d4red3vil

Hi Andrea

Correct :) Thats exactly what I diid and they still appear there :rolleyes: (Really annoying)

Your a star for trying to help though. I just though I was doing something wrong.

Best wishes

Stee

Link to comment
Share on other sites

Hi Andrea

Correct :) Thats exactly what I diid and they still appear there :rolleyes: (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

Link to comment
Share on other sites

Guest d4red3vil

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:

Link to comment
Share on other sites

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 :rolleyes: 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

Link to comment
Share on other sites

Guest d4red3vil

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)

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

  • 1 month later...
Guest Marcus Jansson

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?

Link to comment
Share on other sites

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.
Link to comment
Share on other sites

Guest Marcus Jansson

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!

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

Guest lynnedob

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

Link to comment
Share on other sites

Guest Marcus Jansson

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...