Where is SiteSettings.ActivePage?

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.
9/29/2006 1:41:45 AM
Gravatar
Total Posts 73

Where is SiteSettings.ActivePage?

Hi,

I have some self-build modules that use SiteSettings.ActivePage. In 2.1.3 the code in SiteSettings is present as comment. I.e. no longer useable. Why is this? Is there an alternative way to find out what the active page is?

Thanks,

Jan

9/29/2006 2:45:34 AM
Gravatar
Total Posts 18439

Re: Where is SiteSettings.ActivePage?

Hi Jan,

Yes the pages were de-coupled from SiteSetings to allow caching of SiteSettings. You can get the current page with SiteUtils.GetCurrentPage() and you can get the collection of pages with SiteUtils.GetMenuPages()

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