Ability to add new CSS elements to the portal

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.
2/21/2010 6:42:15 PM
Gravatar
Total Posts 9

Ability to add new CSS elements to the portal

Hi Jo

Sorry but I'm not quite sure of the technical term I need to use but I will try my best to get you to understand my requirement:

Under "edit page" of a master page we have three columns to choose frm to place our text.  These three columns are in a "modulecontent" element which is all good.  However, what I would like to do is to have another element separate from the three columns so the layout can look something like this:  (The 'x' is content)

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 

xxxxxxxxxxxxxxx  x                    xxxxxxxxxxxxxxxxxxx                       xxxxxxxxxxxxxxxxxxxx

 

So I would like the introductory content first and then the choice of the left, centre and right columns.

How would I introduce (without hard coding the page) a new element in the template?  Is this at all possible?

Thanks so much in advance

Cheers

Felicia

2/21/2010 7:17:27 PM
Gravatar
Total Posts 131

Re: Ability to add new CSS elements to the portal

Place this in your layout.master file right before the divLeft placeholder for the skin you are using. After you do so, an ALT1 box will appear in the edit page file and you can place content that will span the page.

<asp:Panel ID="divAlt1" runat="server" CssClass="altcontent1">
<asp:ContentPlaceHolder ID="altContent1" runat="server"></asp:ContentPlaceHolder>
</asp:Panel>

 

You can also put this after the divRight section

<asp:Panel ID="divAlt2" runat="server" CssClass="altcontent2">
<asp:ContentPlaceHolder ID="altContent2" runat="server"></asp:ContentPlaceHolder>
</asp:Panel>

Now you can have content span the bottom as well.

Some skins already have this alt content built and while others don't.

2/21/2010 9:01:01 PM
Gravatar
Total Posts 9

Re: Ability to add new CSS elements to the portal

Fantastic thanks so much. I will give this a try.
You must sign in to post in the forums. This thread is closed to new posts.