Use the handlePrefix property to map a site definition to website content. This 
effectively "assigns" the definition to the site.
http://documentation.magnolia-cms.com/modules/etk.html#handlePrefix

See how the demo-project and demo-features examples do the same.
http://demo.magnolia-cms.com/

--Antti

On Aug 26, 2011, at 11:41 AM, Jan-Hendrik Lendholt wrote:

> 
> Matteo,
> 
> Thanks for your response.
> 
> I just cloned the default entry under "Site Definitions", changed the
> template of the "main area" to another template with slightly different
> template scripts.
> 
> But I have no clue how to assign this site definition to my website site2.
> 
> Thanks for any help,
> 
> Jan
> 
> 
> Am 25.08.11 09:38 schrieb "Matteo Pelucco" unter
> <[email protected]>:
> 
>> 
>> Il 24.08.2011 16:20, Jan-Hendrik Lendholt ha scritto:
>>> 
>>> Okay,
>>> 
>>> New to the list and really overwhelmed by the complexity, I am trying to
>>> find an entry to the multi-site feature with different layouts / templates.
>> 
>> Hi Jan, let's see..
>> 
>>> Some things I don't understand:
>>> 
>>> - I couldn't find the template files in the file system; But the files of
>>> the samples-addon were in /templates
>> 
>> Templates are served directly from STK Template repository, you can find
>> them in AdminCentral, on the left menu, under "Templating Kit" >
>> "Templates". Resources (JS / CSS) are under "Resources" repo.
>> 
>>> - How do I apply a template to a website? Neither could I assign it on the
>>> "Website" tab nor in the page info dialog.
>> 
>> In a site definition you need to assign a template to a site.
>> Then, be careful about template "category". For instance, at first time
>> of a site tree, you can only assign template with "home" for category..
>> Read official docs about this..
>> 
>> http://documentation.magnolia-cms.com/templating/stk/configuration.html#Templa
>> teCategoriesandSubcategories
>> 
>>> - How do I distinguish the stylesheets from page1 and page2?
>> 
>> Each site def can have its own theme, with different css / js.
>> Duplicate a theme, change css and assign it in site definition to your
>> second site.
>> 
>>> I know my questions are quite general but I hope you can give me some help
>>> or orientation.
>> 
>> Ask and it will be give to you ;-)
>> HTH!
>> Matteo
>> 
>> 
>> 
>> ----------------------------------------------------------------
>> For list details see
>> http://www.magnolia-cms.com/community/mailing-lists.html
>> To unsubscribe, E-mail to: <[email protected]>
>> ----------------------------------------------------------------
>> 
>> 
>> 
> 
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to