start node offset

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
4/11/2009 7:23:58 AM
Gravatar
Total Posts 9

start node offset

I would like two menu's above each other so I can split these menu's with an image between. I have a sitemenu. I could add an extra pagemenu and set a datasource. But how do I configure start and end node offset for the first menu (e.g. to display item's 1-6) and the second menu (to display items 7-10)?

Kind regards,

Maarten Strobosch

4/12/2009 6:33:21 AM
Gravatar
Total Posts 18439

Re: start node offset

Hi Maarten,

The site hierarchy is basically a tree, the start node offset refers to the depth of the node from the root, you can split the menu up based on start node offset as seen in quite a few of the skins, andreas-vicklund-02alt1 for example has 3 levels of menu, 2 horizontal ones and then a vertical one, (as does this site).

But you can't split it up by some arbitrary number of nodes 1-6, 7-10, if those are all at the root level they have the same offset. You can create pages 1-6 as root pages and you can have sub menus beeath them as child pages. 

Hope it helps,

Joe

 

4/12/2009 7:55:30 AM
Gravatar
Total Posts 9

Re: start node offset

Hi Joe,

I figured that out. It's clear the site is basically a tree with (nested) nodes. But can you draw me in the direction of how to customize the SiteMapDataSource. I see different ID's used there and would like to know how I can make a custome dataset? with arbitrary numbers of nodes. In fact I would even better edit the page setting to allow to display the page in one of two menu's.

Maarten

You must sign in to post in the forums. This thread is closed to new posts.