+1-888-365-2779
Try Now
More in this section

Forums / Designing with Sitefinity / How do I create a content place holder for my template page?

How do I create a content place holder for my template page?

2 posts, 0 answered
  1. Joe
    Joe avatar
    5 posts
    Registered:
    26 Mar 2007
    07 Jun 2007
    Link to this post
    Hi,

    How do I create a content place holder for my template page? I need to make teh dotted line boxes so I can drag modules inside my page. Is this something I have to do in Visual Studio 2005? I followed the instructions on page 34 of the user manual. I know that I have not made anything in Visual Studio. I just made a a blank master page and that uploaded fine.
  2. Rebecca
    Rebecca avatar
    536 posts
    Registered:
    24 Sep 2012
    12 Jun 2007
    Link to this post
    Hi Joe,

    Add the content placeholders declarations in the following way:
    <sf1:CmsForm ID="form1" runat="server">
       <div class="cmsWrapper">

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

        ...
          <asp:contentplaceholder id="FooterHolder"
          runat="server"></asp:contentplaceholder>

       </div> 
    </sf1:CmsForm>

    You can also use the Default.master as an example.

    Greetings,
    Rebecca
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered