Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Can I have TWO solpartmenus in dnn?Can I have TWO solpartmenus in dnn?
Previous
 
Next
New Post
11/13/2008 10:18 PM
 

pnb wrote
 

This sounds just like what we are trying to do, also.  I am trying to do the following, using the 2nd root item as an example:

Vertical Solpartmenu:

 Root_Item_1

 Root_Item_2 (Selected)

 Root_Item_3

 Root_Item_4

 Root_Item_5

 

Horizontal Solpartmenu:

 Root_Item_2_SubItem_1

 Root_Item_2_SubItem_2

 Root_Item_2_SubItem_3

 Root_Item_2_SubItem_4

 

So, when someone selects an item from the vertical menu the horizontal menu shows any children for that selection.  We want only root items on the vertical menu, and only children on the horizontal menu.  How would I implement this at the most basic level, using html (not ascx)? 

It looks similiar to the example given in the thread*, except that the menu alignment is flip-flopped.  :)

* http://www.smarttech-ks.com/Company/tabid/74/Default.aspx

Thanks for any guidance I can get! 

~Patrick

I had a skin like that a few years ago where I modified the .ascx file to show the normal horizontal menu across the top, and the child menus vertically lower in the page.  I haven't seen that skin for a few years, I'll have to dig through my files and see how I did it.  If I remember right, it wasn't all that difficult.

 

 
New Post
11/14/2008 9:35 AM
 

Hi,

You have to put a solpart menu that supports only root menu:
<dnn:MENU runat="server" id="dnnMENU1"  here should be cssclasses for menu RootOnly="True" />
And you should add another menu that supports only child menus of selected root menu item:
<dnn:MENU  runat="server" id="dnnMENU2"   here should be cssclasses for menu display="Vertical" Level="Child"/>

It's what I used to implement two menus (http://www.smarttech-ks.com/Company/tabid/74/Default.aspx)

Regards,
Rexha

 
New Post
11/14/2008 2:50 PM
 

Thank you!  That should be enough to get me started! 

 

~PnB

 
New Post
11/14/2008 4:43 PM
 

Found my old skin... It appears that I did put it in the HTML file.  In addition to the menu across the top, it had two menus on the left side of the screen, a short one on the top that shows the links in the menu above, a horizontal line, and menu that showed the links below.  It wasn't fancy, no graphics, but it showed what you can do with multiple menus.

 

Here is where I delcared a menu pane on the left side:
   <td class="menupane" runat="server" id="MenuPane" valign=top align=left>[LINKS:1]<hr>
  [LINKS:2] 
 </td>

And this is what I put in the skin.xml file to go with that skin:

 <Object>
  <Token>[LINKS:1]</Token>
  <Settings>
   <Setting>
    <Name>Separator</Name>
    <Value><![CDATA[<br>]]></Value>
   </Setting>
   <Setting>
    <Name>Level</Name>
    <Value>Parent</Value>
   </Setting>
   <Setting>
    <Name>Alignment</Name>
    <Value>Vertical</Value>
   </Setting>
   <Setting>
    <Name>CssClass</Name>
    <Value>MenuPaneSelected</Value>
   </Setting>
  </Settings>
 </Object>
 <Object>
  <Token>[LINKS:2]</Token>
  <Settings>
   <Setting>
    <Name>Separator</Name>
    <Value><![CDATA[<br>]]></Value>
   </Setting>
   <Setting>
    <Name>Level</Name>
    <Value>Child</Value>
   </Setting>
   <Setting>
    <Name>Alignment</Name>
    <Value>Vertical</Value>
   </Setting>
   <Setting>
    <Name>CssClass</Name>
    <Value>MenuPaneSelected</Value>
   </Setting>
  </Settings>
 </Object>

 
New Post
1/3/2009 12:01 AM
 

another thread that discusses this

 

http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/109/threadid/236274/scope/posts/threadpage/2/Default.aspx

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Can I have TWO solpartmenus in dnn?Can I have TWO solpartmenus in dnn?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out