Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matt Taylor 873 posts 2086 karma points
    Jan 10, 2013 @ 16:26
    Matt Taylor
    0

    Best way to template or theme multiple sites in a single Umbraco installation

    Lets say that there is dance organisation called 'Mega Dance'.
    This dance organisation has many independently run dance clubs across the country sort of like a franchise.
    There's a guy in London who runs a club called 'Mike's Mega Dance' and there's a woman in Glasgow who's club is called 'Fiona's Mega Dance'.

    I'd like a single installation of Umbraco that would contain the websites for the organisation 'Mega Dance' as well as the individual club websites for 'Mike's Mega Dance' and 'Fiona's Mega Dance'.

    The main advantage of this is that is will provide a central membership system for the organisation and individual clubs.

    All the sites would be very similar and would share the same document types however each site will require its own look and feel.

    I wouldn't want a content editor faced with choosing the correct template for their site every time they created a page.

    Can the look and feel be tailored to each site without creating site specific templates?

    Regards, Matt

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Jan 10, 2013 @ 18:01
    Jan Skovgaard
    1

    Hi Matt

    How much will the visual appearance differ on the sites? And how advanced are they going to be? Is the functionality and structure of the sites going to be identical?

    Perhaps you can achieve your goal by using 1 set of document types and templates. Simply set a unique site id on the html element like <html id="site1_com"> for instance.

    Then in your CSS you can have some general styles, which apply to all the sites and then you can create unique styles for each site using this approach. To make sure you don't load the unique styles for site a on site b etc. you will of course need to make some logic to load the proper themes.

    If the sites are more advanced and have different options on the document types then you might need to consider another approach where you have a base document type, which you inherit your properties from for instance and the create a prefix for each frontpage and document doctypes, with a unique template attached so the editor should worry about changing the templates.

    I'm looking forward to hear a bit more details from you so we can figure out the best approach in your case.

    /Jan

  • Matt Taylor 873 posts 2086 karma points
    Jan 14, 2013 @ 15:37
    Matt Taylor
    0

    Thank you Jan,

    My idea was that each site could potentially have a completely different look and functionality.

    After reading your reply though I realised that this would not really be possible without building quite a complicated architecture behind the site structure.

    In practise it is likely that all the sites are going to have a similar feature set and layout. In that case I think your suggestion of simply loading up the correct style sheet for the site is the simplest thing to do.

    Regards,

    Matt

     

Please Sign in or register to post replies

Write your reply to:

Draft