Wrapping MasterPage

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
Post Reply
medicalwebgeek
Ensign (ENS)
Ensign (ENS)
Posts: 3
Joined: Wed Aug 19, 2009 7:45 am

Wrapping MasterPage

Post by medicalwebgeek » Wed Aug 19, 2009 8:02 am

I have wrapped the following line of code on Scriptlet.master with my site menu, header and footer. Does anyone know if it might cause issues that I cannot see at this point? So far so good except in Firefox and I think that might be related to a z-index.

<cb:ScriptletZone ID="ContentZone" runat="server" HeaderText="Content" PartChromeType="None" Width="50%">
<ZoneTemplate>


<asp:contentplaceholder id="PageContent" runat="server">
</asp:contentplaceholder>

</ZoneTemplate>
</cb:ScriptletZone>

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Wrapping MasterPage

Post by mazhar » Thu Aug 20, 2009 5:00 am

Why are you doing so? If you need something in at header, then you can simply put it in header scriptlet.

medicalwebgeek
Ensign (ENS)
Ensign (ENS)
Posts: 3
Joined: Wed Aug 19, 2009 7:45 am

Re: Wrapping MasterPage

Post by medicalwebgeek » Thu Aug 20, 2009 6:22 am

I am using a custom menu component to match the look and feel of my site (component from Telerik) as well as some graphical elements that will require server side controls.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Wrapping MasterPage

Post by mazhar » Thu Aug 20, 2009 7:33 am

no need to modify master page. For this all you need is to build a user control and use your custom compoents in that user control. Finally put it in header scriptlet. like [[ConLib:Custom\YourCustomControlName]]
For example read following thread
viewtopic.php?f=47&t=8566

Post Reply