• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

NP
#1 Posted : Friday, February 10, 2017 8:45:40 AM(UTC)
NP

Rank: Member

Joined: 2/10/2017(UTC)
Posts: 62
India
Location: Nashik, Maharashtra

Thanks: 6 times
Hello,

Is there any way to show limited list of subcategories in top category menu and include one more option of 'view all' at the bottom ?

E.g:

Suppose my main category is ABC

The list contains 20 sub categories under ABC.

I want to show top 10 sub categories and then view all option at the bottom .

Actually I created new customized function from FindChildrenInCollection() in category.vb and used that customized function in CategoryMenuPlus.ascx. But it reflects on other sections too, like left side category panel.
I just want it for top category menu.

Please can anyone help? Thanks in advance for your time.
Aaron
#2 Posted : Friday, February 10, 2017 5:45:57 PM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
Originally Posted by: TestUser Go to Quoted Post
Is there any way to show limited list of subcategories in top category menu and include one more option of 'view all' at the bottom ?

Yes, if you enable the ShowMoreLink property of the CategoryMenuPlus control. Here's the official explanation:

Quote:
Displays a 'more' link when there are other categories at a given level that are not hidden but not set to 'Show in Top Menu'; you must use this setting in conjunction with the 'Use Show In Top Menu Settings' setting. The 'more' link goes to the parent category. The default value is false.


Note that you can also change the "more" text by setting the MoreLinkText property.

Edited by user Friday, February 10, 2017 5:46:49 PM(UTC)  | Reason: Not specified

Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
 2 users thanked Aaron for this useful post.
NPWHUK
NP
#3 Posted : Monday, February 13, 2017 1:02:25 AM(UTC)
NP

Rank: Member

Joined: 2/10/2017(UTC)
Posts: 62
India
Location: Nashik, Maharashtra

Thanks: 6 times
Thank you so much for your help...
It worked as expected :)
WHUK
#4 Posted : Saturday, February 25, 2017 7:01:57 AM(UTC)
WHUK

Rank: Member

Joined: 2/25/2017(UTC)
Posts: 1
United Kingdom
Location: Leeds

Thanks: 1 times
@Aaron
Thanks for sharing the ideal solution.
This is exactly what I'm looking for.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012