DNN 比较好用的一个菜单模块式Navsuite模块,这个模块因为使用XML+XSL的技术手段,可以灵活的生成各种各样的菜单样式。
你可以通过修改style目录下的xsl文件来创建自己的菜单样式,但有一个问题是这个模块没有非常详细的手册,生成的XML是什么格式我们并不熟悉,我这里把生成的XML贴出来给大家参考。
可以看到,root节点下面是一些tab节点,节点中会有描述这个tab各种信息的子节点。整体讲,就是一个tab的array。
1 <root>
2 <tab>
3 <description />
4 <positionl0>3</positionl0>
5 <currentactivelevel_0>3</currentactivelevel_0>
6 <noclick>False</noclick>
7 <wrapnewrow>False</wrapnewrow>
8 <submenu_adjustment>0</submenu_adjustment>
9 <iconfile />
10 <description />
11 <islasttab_on_level>False</islasttab_on_level>
12 <level0index>0</level0index>
13 <haschildren>False</haschildren>
14 <curentlevel>0</curentlevel>
15 <directchild_of_current_tab>False</directchild_of_current_tab>
16 <sibling_of_current_tab>True</sibling_of_current_tab>
17 <iscurrent>False</iscurrent>
18 <isparent>False</isparent>
19 <parentid>-1</parentid>
20 <id>36</id>
21 <tabname>Home</tabname>
22 <level>0</level>
23 <fullurl>/DNN483Source/Default.aspx?tabid=36</fullurl>
24 <submenuname>CISS_menu</submenuname>
25 <isadmintab>False</isadmintab>
26 <isvisible>False</isvisible>
27 <isdeleted>False</isdeleted>
28 </tab>
29 <tab>
30 <description>PageName01</description>
31 <positionl0>2</positionl0>
32 <currentactivelevel_0>3</currentactivelevel_0>
33 <noclick>False</noclick>
34 <wrapnewrow>False</wrapnewrow>
35 <submenu_adjustment>0</submenu_adjustment>
36 <iconfile />
37 <description>PageName01</description>
38 <islasttab_on_level>False</islasttab_on_level>
39 <level0index>1</level0index>
40 <haschildren>True</haschildren>
41 <curentlevel>0</curentlevel>
42 <directchild_of_current_tab>False</directchild_of_current_tab>
43 <sibling_of_current_tab>True</sibling_of_current_tab>
44 <iscurrent>False</iscurrent>
45 <isparent>False</isparent>
46 <parentid>-1</parentid>
47 <id>58</id>
48 <tabname>PageName01</tabname>
49 <level>0</level>
50 <fullurl>/DNN483Source/Default.aspx?tabid=58</fullurl>
51 <submenuname>CISS_menu</submenuname>
52 <isadmintab>False</isadmintab>
53 <isvisible>False</isvisible>
54 <isdeleted>False</isdeleted>
55 </tab>
56 </root>
57
2 <tab>
3 <description />
4 <positionl0>3</positionl0>
5 <currentactivelevel_0>3</currentactivelevel_0>
6 <noclick>False</noclick>
7 <wrapnewrow>False</wrapnewrow>
8 <submenu_adjustment>0</submenu_adjustment>
9 <iconfile />
10 <description />
11 <islasttab_on_level>False</islasttab_on_level>
12 <level0index>0</level0index>
13 <haschildren>False</haschildren>
14 <curentlevel>0</curentlevel>
15 <directchild_of_current_tab>False</directchild_of_current_tab>
16 <sibling_of_current_tab>True</sibling_of_current_tab>
17 <iscurrent>False</iscurrent>
18 <isparent>False</isparent>
19 <parentid>-1</parentid>
20 <id>36</id>
21 <tabname>Home</tabname>
22 <level>0</level>
23 <fullurl>/DNN483Source/Default.aspx?tabid=36</fullurl>
24 <submenuname>CISS_menu</submenuname>
25 <isadmintab>False</isadmintab>
26 <isvisible>False</isvisible>
27 <isdeleted>False</isdeleted>
28 </tab>
29 <tab>
30 <description>PageName01</description>
31 <positionl0>2</positionl0>
32 <currentactivelevel_0>3</currentactivelevel_0>
33 <noclick>False</noclick>
34 <wrapnewrow>False</wrapnewrow>
35 <submenu_adjustment>0</submenu_adjustment>
36 <iconfile />
37 <description>PageName01</description>
38 <islasttab_on_level>False</islasttab_on_level>
39 <level0index>1</level0index>
40 <haschildren>True</haschildren>
41 <curentlevel>0</curentlevel>
42 <directchild_of_current_tab>False</directchild_of_current_tab>
43 <sibling_of_current_tab>True</sibling_of_current_tab>
44 <iscurrent>False</iscurrent>
45 <isparent>False</isparent>
46 <parentid>-1</parentid>
47 <id>58</id>
48 <tabname>PageName01</tabname>
49 <level>0</level>
50 <fullurl>/DNN483Source/Default.aspx?tabid=58</fullurl>
51 <submenuname>CISS_menu</submenuname>
52 <isadmintab>False</isadmintab>
53 <isvisible>False</isvisible>
54 <isdeleted>False</isdeleted>
55 </tab>
56 </root>
57