adding portal information into content

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.
3/20/2012 5:52:32 AM
Gravatar
Total Posts 167

adding portal information into content

I'm looking to have a tailored footer to my page by utilising the bottom pane. This is so that I can have a popular format of 5 or so columns in my footer for info such as services, resources, social media contacts etc..

In order to keep some smart formating in the site I would like to move items normaly in the topnavwrap or art-footer-wrapper and have these placed in an account column with items such as "log in", "site map", "members list". Now some of it I can just place links rather than using the portal, however I would like to also have items such as portal:WelcomeMessage included.

As far as I can gather from previous experience the layout master only likes 1 instance of a portal feature, however why can't I (or how do I ) add a portal such as portal:WelcomeMessage to a content pane if I remove it from the layout.Master file.

3/20/2012 10:00:26 AM
Gravatar
Total Posts 18439

Re: adding portal information into content

As far as I can gather from previous experience the layout master only likes 1 instance of a portal feature

That is only true for a few controls like <portal:ScriptLoader, <portal:StyleSheetCombiner, <asp:ScriptManager, there should only be one of each of those but most other controls such as <portal:WelcomeMessage can be used multiple times.

Probably the mistake you made that caused you to believe there can be only one is you copied and pasted it but didn't give the new copy a different id. IDs must be unique on server controls or it causes errors. So you can use more than one but they each must have different ids.

Those controls are not CMS plugins so they cannot be added to top pane without making a custom feature control and embedding them inside that, then add the custom feature to the page in the top pane. But they can be used anywhere in layout.master and they can be used multiple times in layout.master so long as they have unique ids.

Hope that helps,

Joe

3/20/2012 10:59:56 AM
Gravatar
Total Posts 167

Re: adding portal information into content

Many thanks, that does help.

I will be focusing on learning to create the custom controls in the very ear future.

Cheers

 

3/20/2012 11:32:25 AM
Gravatar
Total Posts 18439

Re: adding portal information into content

Thanks for the beer!

Cheers,

Joe

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