Design and CSS styles
Version 3.x > Design and CSS styles > Problems with Menus View modes: 
User avatar
Member
Member
m00nstar - 9/3/2008 8:52:39 PM
   
Problems with Menus
Hi I am a new kentico user, and I'm having trouble with my menus.

I have a site that looks like this

default
company products
subcomp1 subcomp2 subprod1 subprod2
sub sub comp1 subsubprod1
sub sub comp2 subsubprod2

etc.

I have a main naivation that covers everything. so far so good.
Now I have a left side menu on the company page and the products page.

I need it to look like this on the company page:

Sub comp1
sub sub comp1
sub sub comp2

Sub comp1

and on the product page to look like this:
Sub prod1
sub sub prod1
sub sub prod2

Sub prod2

===

I am obviously missing something with the menus. It seems like when I change the configuration on the company side menu, the product side changes. But when I change on the product side, the company side menu doesn't.

Please tell me where I can find out about about the menu structure and pathing. I have read the quick start document, the developer's guide, and the tutorial and none actually describe what this /{0}/% means.

Please help! This is all I have left to do on the first of a number of client sites. We want to a server licence of Kentico, but if I can't figure it out....

Thank you!

User avatar
Member
Member
m00nstar-hotmail - 9/3/2008 8:55:22 PM
   
RE:Problems with Menus
Whoops! Should have previewed. Maybe this will help!



-----------------------------default-----
------------------company--||-- products--
--subcomp1--subcomp2 ||-subprod1--subprod2
-sub sub comp1 ----------||-subsubprod1
-sub sub comp2 ----------||-subsubprod2

User avatar
Kentico Developer
Kentico Developer
kentico_zbysekn - 9/4/2008 5:54:30 AM
   
RE:Problems with Menus
Hi,
If I understand you correctly relevant part of your document hierarchy looks like this:
Default
------ Company
----------- Sub company 1
----------- Sub company 2
----------------- Sub sub company 1
----------------- Sub sub company 2
------ Products
----------- Sub products 1
----------------- Sub sub products 1
----------------- Sub sub products 2
----------- Sub products 2
----------- Sub products 3

Then in your left menu you should set Path property of used webpart to /{0}/% (it will select all documents under currently selected document) and set appropriate value to Maximum nesting level property(in case you want to restrict level of included documents).

You can find more about Path expressions(/{0}/%) in developer's guide(http://devnet.kentico.com/docs/devguide/appendix_b___path_expressions.htm).

Best Regards,
Zbysek Nemec