More in this section

Forums / General Discussions / Nested Masterpages

Nested Masterpages

6 posts, 0 answered
  1. Neil
    Neil avatar
    82 posts
    Registered:
    21 Oct 2006
    17 Sep 2010
    Link to this post
    The templates I'm trying to use are two nested masterpages from one master. The contentplaceholders do get injected into the page but do not display as areas for controls to be dragged into. I have tried with all major browsers and tried to attach the files for reference with no success.
        <div id="container">
            <!-- start container -->
            <!-- start header -->
            <div id="header">
            </div>
            <!-- end header -->
            <!-- start primaryNav -->
            <div id="primaryNav">
            </div>
            <!-- end primaryNav -->
            <!-- start content -->
            <div id="content">
                  
        <!-- start main -->
        <div id="main">
            <div id="ctl00_ctl00_contentPlh_mainCplh_RadDockZonemainCplh" class="RadDockZone RadDockZone_Sitefinity rdVertical " placeholderid="mainCplh" style="min-width:10px;min-height:10px;">
            <div class="RadDock RadDock_Default rdPlaceHolder" id="ctl00_ctl00_contentPlh_mainCplh_RadDockZonemainCplh_D" style="display:none;">
                <!-- -->
            </div><input id="ctl00_ctl00_contentPlh_mainCplh_RadDockZonemainCplh_ClientState" name="ctl00_ctl00_contentPlh_mainCplh_RadDockZonemainCplh_ClientState" type="hidden" />
        </div>
        </div>
        <!-- end main -->
        <!-- start sidebar -->
        <div id="sidebar">
            <div id="ctl00_ctl00_contentPlh_sidebarCpl_RadDockZonesidebarCpl" class="RadDockZone RadDockZone_Sitefinity rdVertical " placeholderid="sidebarCpl" style="min-width:10px;min-height:10px;">
            <div class="RadDock RadDock_Default rdPlaceHolder" id="ctl00_ctl00_contentPlh_sidebarCpl_RadDockZonesidebarCpl_D" style="display:none;">
                <!-- -->
            </div><input id="ctl00_ctl00_contentPlh_sidebarCpl_RadDockZonesidebarCpl_ClientState" name="ctl00_ctl00_contentPlh_sidebarCpl_RadDockZonesidebarCpl_ClientState" type="hidden" />
        </div>
        </div>
        <!-- end sidebar -->
    <div id="ctl00_ctl00_contentPlh_RadDockZonecontentPlh" class="RadDockZone RadDockZone_Sitefinity rdVertical " placeholderid="contentPlh" style="min-width:10px;min-height:10px;">
            <div class="RadDock RadDock_Default rdPlaceHolder" id="ctl00_ctl00_contentPlh_RadDockZonecontentPlh_D" style="display:none;">
                <!-- -->
            </div><input id="ctl00_ctl00_contentPlh_RadDockZonecontentPlh_ClientState" name="ctl00_ctl00_contentPlh_RadDockZonecontentPlh_ClientState" type="hidden" />
        </div>
            </div>
            <!-- end content -->
            <!-- start footer -->
            <div id="footer">
            </div>
            <!-- end footer -->
            <!-- end container -->
        </div>

    Regards,

    Neil
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    20 Sep 2010
    Link to this post
    Hello nenwmn,

    Thank you for using our services.

    The support for nested templates within Sitefinity 4.0 Beta is working with templates you build from the Template Editor. You can create a base template from the Sitefinity UI and add parent place holders. Then create child templates which will use the first one as base. We are currently struggling to parse content place holders from nested master pages and there is no full support for nested master pages in the Sitefinity 4.0 Beta. For now we would advise you to go about this through the UI and use layout elements to be holders for your controls.

    Regards,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Neil
    Neil avatar
    82 posts
    Registered:
    21 Oct 2006
    20 Sep 2010
    Link to this post
    Thank you, I'll add custom masterpages for each layout and update the code when Sitefinity supports nested masterpages. I appreciate the layout functionality out of the box but cannot adapt due to the inclusion if inline styles. Is there a way currently to prevent the Layout elements being accessible during design view.

    Best Regards,

    Neil
  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    20 Sep 2010
    Link to this post
    Hi nenwmn,

    This can be achieved by revoking permissions for content place holders.

    Greetings,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Neil
    Neil avatar
    82 posts
    Registered:
    21 Oct 2006
    20 Sep 2010
    Link to this post
    How does revoking permissions for contentplaceholders remove the layout elements option. I have attached a image.

    Best Regards,

    Neil
  6. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    20 Sep 2010
    Link to this post
    Hi nenwmn,

    It will not hide the layout element for now. However for each layout element you can set who can view it, modify it, move it, etc. For pages you can set which user can add widgets and add layout elements.

    All the best,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
6 posts, 0 answered