Different Master Page For An Admin Page

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.
5/1/2008 11:57:25 AM
Gravatar
Total Posts 48

Different Master Page For An Admin Page

Hi,

How do you specify a different Master page for a particular Admin page? I found this thread but the admin pages don't have a gear icon for page settings.

Thanks for any help,

Reiss

5/1/2008 12:05:51 PM
Gravatar
Total Posts 18439

Re: Different Master Page For An Admin Page

Custom skinning is not currently supported for admin pages. They just use the site default skin.

I'm not sure I want to add suport for this either. I'm more inclined to revamp the admin UI using ExtJs for the layout like in Site Office.

Best,

Joe

5/1/2008 12:17:13 PM
Gravatar
Total Posts 48

Re: Different Master Page For An Admin Page

Hi Joe,

I've written an Image Manager feature to allow uploading and resizing of images. It's based on the File Manager. When you click on the add image icon in FCK it brings up a window allowing you to browse the server. When you click browse server another window opens allowing you to pick files and upload files. (this bypasses the built in filemanager which maybe isn't good?)

What I want to do is use my Image Manager for this so I'd like to specify a master page that has nothing on it other then the Image Manager content. What's the best way to set the master page for this ImageManager.aspx page?

Thanks,

Reiss

5/1/2008 12:25:27 PM
Gravatar
Total Posts 18439

Re: Different Master Page For An Admin Page

In your own custom page you are free to set a different master page. You must do it in OnPreInit event but call base.onpreinit first so that yours is set after the one set by the base page. You probably will need to change the css links as well as the master page.

Look in mojoBasePage and in Default.aspx.cs for example code, not exactly the code you need but it should give the idea.

Best,

Joe

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