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 XML Data file formatSOLPARTMENU XML Data file format
Previous
 
Next
New Post
10/18/2007 7:12 AM
 

Can someone please advise me of the format of the SOLPARTMENU XML menudata file to allow me to restrict the pages displayed on the menu to a subset of the site i.e. specify which pages I want in the menu?

I know you can do this via the XML file, but can find no documentation anywhere on the layout of the file to achieve this. It doesn't help that most of the links to the solpart.com site on this subject in various forums no longer seem to work :(

Please don't bother to respond with "why not use this menu instead?" suggestions. Not interested. I just want to know how to do this using SOLPARTMENU.

TIA,

Graham

 
New Post
10/18/2007 6:21 PM
 

Here is a sample file

<?xml version="1.0" encoding="utf-8" ?>
<root> 
<menuitem id="1" title="Select Example">
  <menuitem id="11" title="Example 1" url="MenuExample1.aspx" tooltip="Programmatic menu creation" />
  <menuitem id="12" title="Example 2" url="MenuExample2.aspx" tooltip="Menu Transitions, windowed control handling, external XML file." />
  <menuitem id="13" title="Example 3" url="MenuExample3.aspx" tooltip="UserControl containing menu" />
  <menuitem id="14" title="Example 4" url="MenuExample4.aspx" tooltip="Vertical menu demonstration" />
  <menuitem id="15" title="Example 5" url="MenuExample5.aspx" tooltip="MenuData property demonstration" />
  <menuitem id="16" title="Example 6" url="MenuExample6.aspx" tooltip="Windows Start Menu demo" />
  <menuitem id="17" title="Example 7" url="MenuExample7.aspx" tooltip="DataBinding demonstration" />
  <menuitem id="18" title="Example 8" url="MenuExample8.aspx" tooltip="Client-Side API" />
  <menuitem id="19" title="Example 9" url="MenuExample9.aspx" tooltip="Absolute Positioning" />
  <menuitem id="20" title="Example 10" url="MenuExample10.aspx" tooltip="Menu with only images." />
  <menuitem id="21" title="Example 11" url="MenuExample11.aspx" tooltip="Menu with Root Tab Images." />
  <menubreak/>
  <menuitem id="22" title="Menu Designer" url="MenuDesigner.aspx" />
</menuitem>
</root>

Sorry that the links are broken.  A choice to migrate the original site to this new one was outside my control.  I am working on getting things back in order, but it is not going as quickly as I'd like.

 


 
New Post
10/19/2007 5:27 AM
 

Jon,

Thanks for the info. I'm still having a bit of trouble getting this to fly like I wanted.

I have put a normal [SOLPARTMENU] token in the skin html file and the following in the skin.xml file:

    <Object>
        <Token>[SOLPARTMENU]</Token>
        <Settings>
            <Setting>
                <Name>Display</Name>
                <Value>Horizontal</Value>
            </Setting>
            <Setting>
                <Name>MenuDataXMLFileName</Name>
                <Value>~admin/Skins/menudata.xml</Value>
            </Setting>
        </Settings>
    </Object>

(I chose Admin/Skins as the location for the menudata.xml file for no particular reason)

and here are the current contents of menudata.xml:

  <?xml version="1.0" encoding="utf-8" ?>
- <root>
-      <menuitem id="1" title="private">
            <menuitem id="11" title="Home" url="http://hidden/Home/tabid/36/Default.aspx" tooltip="Home" />
        <menubreak />
            <menuitem id="12" title="Contact Us" url="http://hidden/Home/ContactUS/tabid/38/Default.aspx" tooltip="Contact Us" />

  </menuitem>
</root>

But instead of getting just the pages listed in the XML file the whole menu shows. Can anyone please advise what it is I've missed out on here?

TIA,

Graham

 
New Post
10/19/2007 4:58 PM
 

You seem to think the menu skin object allows for custom menu structures.  I do not believe this is the case.  You will need some module to do this (I used to offer a free module on the solpart site for this)  You can get the module from this link.


 
New Post
10/19/2007 11:26 PM
 

What  does the xml file you posted above do then, if not create a custom menu structure that has tabs that link to the example URLs MenuExample1 through MenuExample 11? Am I being totally thick here?

Anyway, I'll have a look at the module you posted the link to.

Regards,

Graham

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SOLPARTMENU XML Data file formatSOLPARTMENU XML Data file format


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