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

Forums / Developing with Sitefinity / Layout Questions and Best Practices

Layout Questions and Best Practices

3 posts, 0 answered
  1. Andrew Hyslop
    Andrew Hyslop avatar
    21 posts
    Registered:
    23 Jun 2010
    29 Sep 2010
    Link to this post
    Hey guys / gals,

    In the attached images are the anticipated layouts I have for implementation into a SIteFinity managed website.  The header and footer content will NOT change from layout to layout.

    From where I am standing, it looks like there are a couple strategies we could use to accomplish these layouts:

    1. A separate template (masterpage) for each layout style.

    2. A nested masterpage into the main masterpage for each layout?

    3. Utilize some sort of “layout usercontrol” that will partition the space in the masterpages contentplaceholder to the desired dimensions for each layout.  Then drag into the “layout control” the rest of the page element controls.  Is this even possible?  Is there some sort of control you can nest into a user control similar to the asp.net control "contentplaceholder" to facilitate this (contentplaceholders can only be used in masterpages)?

    The question I have is simple, which is the best practice for accommodating this multiple layout scenario?  How do you developers tackle this scenario, as I am sure it has to come up with some regularity...

    Cheers!
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    29 Sep 2010
    Link to this post
    Hi Andrew Hyslop,

    Thank you for using our services.

    There is a problem with the use of nested master pages within Sitefinity 3.x versions. You will not be able to edit the content place holders from the parent master page inside of Sitefinity. With this in mind the best option is to use 3 separate master pages and create themes for them. A layout type of control is not supported in Sitefinity 3.x - you have to define the content place holders within your master pages.

    This approach is handled much better in Sitefinity 4.0. There you are able to define a parent template through the Sitefinity administration and create templates which inherit from it. This eliminates the need to use master page files as all of this can be handled through the UI,

    Best wishes,
    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. Andrew Hyslop
    Andrew Hyslop avatar
    21 posts
    Registered:
    23 Jun 2010
    29 Sep 2010
    Link to this post
    Thanks for the reply, and it was kind of what I had anticipated.

    Cheers :)
Register for webinar
3 posts, 0 answered