Retain menu position for feature pages

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.
10/5/2007 2:56:10 AM
Gravatar
Total Posts 46

Retain menu position for feature pages

Hi Joe,
A quick question around the menu. I’m sure I must be missing something obvious but here goes… I’ve created the main ascx control for the Survey module and have created some additional pages for administration. When I navigate away from the main content page with the ascx I lose the highlight on the menu for the page, so I’m on say a page that adds a new question to a survey but the menu reverts to Home. I noticed in the forum as you move from the main content page to other pages e.g. ForumViewThread you retain the highlight on the Forum page item in the menu. How are you doing this?
Cheers
Rob

10/5/2007 7:55:42 AM
Gravatar
Total Posts 18439

Re: Retain menu position for feature pages

The .ascx module is on a content page so it has access and knows what pageid it is on. When you link to your supporting pages you need to pass the pageid in the query string like pageid=x

If you maintain the pageid param in the url it will correctly select and highlight the menu.

Hope it helps,

Joe

10/5/2007 8:01:18 AM
Gravatar
Total Posts 46

Re: Retain menu position for feature pages

Brilliant, thanks Joe.

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