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

Notification

Icon
Error

ggmike
#1 Posted : Tuesday, May 29, 2007 1:19:34 PM(UTC)
ggmike

Rank: Member

Joined: 6/6/2005(UTC)
Posts: 13

First off, let me start by saying that BV5 is a HUGE improvement over BV4. I liked BV4, but BV5 is... wow!!

Now, here's my question:

I've been playing with the category menu in in the administration section and there appear to be 3 display modes:

- Show All Categories

- Show Root Categories Only

- Show Parents, Peers, and Children


What I really want to do is only show Peers. Is there a way I can do this without hacking up the code? If I do have to hack up the code, do I need to buy the the full sourcecode version or can I do it with the regular edition?
Jazzsingh
#2 Posted : Wednesday, May 30, 2007 10:56:08 PM(UTC)
Jazzsingh

Rank: Member

Joined: 10/28/2003(UTC)
Posts: 168

You will need to edit:

BVModules\ContentBlocks\Category Menu\editor.aspx - You could add another type for display mode or modify code to run one of other choices in page below.

BVModules\ContentBlocks\Category Menu\view.aspx.vb

Select Case mode
Case "0"
' Root Categories Only
LoadRoots()
Case "1"
' All Categories
LoadAllCategories()
Case "2"
' Peers, Children and Parents
LoadPeersAndChildren()
Case Else
' All Categories
LoadRoots()
End Select


so add one above or modify procedure to show only Peers.


You should be able to do this without source code. In asp2.0 you dont need to compile when changing the .vb files.
Jazz Singh
SEO, Ecommerce, BVSoftware Development, Database Development, SQL Scripts,

www.DesignMarketSEO.com

www.sequent-tech.com
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