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...Administration ...Administration ...SOLPARTMENU (I need to add to seperate menues in my homepage)SOLPARTMENU (I need to add to seperate menues in my homepage)
Previous
 
Next
New Post
10/29/2007 4:27 PM
 

hi all

I want to use to differnt SOLPARTMENU in my homepage one in the top and other one is in the bottom with different items.

what I diid , H just copy my SOLPARTMENU tag in my skin file and paste it in the bottom and give it defferent ID(SOLPARTMENU1) and wj=hen I tried to run my site

I see that all my items that appear in the top menu apper in the bottom menue...

 

how can I add defferent Items?

 
New Post
10/29/2007 4:51 PM
 

It sounds like you already know the first thing to do.  Have two skin objects in your skin: [SOLPARTMENU:1] and [SOLPARTMENU:2].

Now, in your skin.xml file, you need to tell the skinning engine which menu shows what.  A very simplified example is below.  The Skinning Guide shows you all of the attributes that you can use to modify the menu's appearance and contents.

  <Object>
    <Token>[SOLPARTMENU:1]</Token>
    <Settings>
      <Setting>
        <Name>rootonly</Name>
        <Value>true</Value>
      </Setting>
    </Settings>
  </Object>
  <Object>
    <Token>[SOLPARTMENU:2]</Token>
    <Settings>
      <Setting>
        <Name>rootonly</Name>
        <Value>false</Value>
      </Setting>
    </Settings>
  </Object>

Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
10/29/2007 5:11 PM
 

but I did not use xml file in my skin I used the way that every thing is in my ascx file!

 

so how can I do it in this way?

 

this is my code

 <dnn:SOLPARTMENU
   runat="server"
   id="dnnSOLPARTMENU"
   usearrows="true"
   userootbreadcrumbarrow="false"
   usesubmenubreadcrumbarrow="false"
   rootmenuitemlefthtml="<span>"
   rootmenuitemrighthtml="</span>"
   rootmenuitemcssclass="rootmenuitem"
   rootmenuitemselectedcssclass="rootmenuitemselected"
   
   submenucssclass="submenu"
   submenuitemselectedcssclass="submenuitemselected"
   submenuitembreadcrumbcssclass="submenuitembreadcrumb"
   CSSNodeSelectedSub="submenuitembreadcrumb"
   delaysubmenuload="true"
        />

 
New Post
10/29/2007 5:20 PM
 

You can do that too.  The skinning engine just creates the server tags for you - that's all.  However, make sure one is named dnnSOLPARTMENU1 and the other dnnSOLPARTMENU2.

From there, you should be able to just alter the appropriate properties right in the server tag.  It is highly recommended that you look through the skinning guide to see all of the available properties for the SOLPARTMENU tag if you haven't already done so.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
10/30/2007 4:49 PM
 

but again when I apply this to my skin file again what ever (page) I added it will be addedd to both menus

because when I add a new page to my portal there is no option in sitting to specify this page should be included to which menu?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SOLPARTMENU (I need to add to seperate menues in my homepage)SOLPARTMENU (I need to add to seperate menues in my homepage)


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