Hiding Categories

Discussion for coding development or feature requests
Post Reply
Bluesplayer
Posts: 152
Joined: Sun Jan 06, 2013 3:03 pm

Hiding Categories

Post by Bluesplayer » Tue Feb 12, 2013 3:27 am

It would be handy if you could hide categories in the main menu. I want to keep this menu as short as possible which will help make the site more user friendly. For instance I want to keep the 'Latest' menu selection but link to it from another part of my site but not show it on the menu itself.
apet4life.co.uk

User avatar
leo
admin
Posts: 4249
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Hiding Categories

Post by leo » Tue Feb 12, 2013 6:48 am

Try this.
Attachments
hide_category.zip
(12.93 KiB) Downloaded 313 times

Bluesplayer
Posts: 152
Joined: Sun Jan 06, 2013 3:03 pm

Re: Hiding Categories

Post by Bluesplayer » Tue Feb 12, 2013 7:23 am

That is just brilliant :D .

You will soon have the best shopping cart on the market :shock: .

I can see another part of admin that would benefit from this - /?controller=category. Plenty of room there to add another section with an indicator displaying whether or not the category is hidden.
apet4life.co.uk

User avatar
leo
admin
Posts: 4249
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Hiding Categories

Post by leo » Tue Feb 12, 2013 12:51 pm

I will add it as well.

User avatar
leo
admin
Posts: 4249
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Hiding Categories

Post by leo » Fri Feb 15, 2013 12:37 am

Here is the complete package for testing.
Added new column Hidden.
Added changing visibility with one click.
Added the same behaviour to Information as well.
Attachments
hide_category_and_information.zip
(21.15 KiB) Downloaded 300 times

Bluesplayer
Posts: 152
Joined: Sun Jan 06, 2013 3:03 pm

Re: Hiding Categories

Post by Bluesplayer » Fri Feb 15, 2013 1:19 am

That is outstanding :D .

This is a really excellent mod and one that I will use for all sorts of reasons.

Thanks again.
apet4life.co.uk

Post Reply