Thanks to all for your help.

Okay, that seems to work. My domain is getting linked correctly.

But the whole templating system, even though the documentation is quite
long, remains a black box for me. I simply don't understand where I have to
change what to make it appear on website1 or website2, how to take the
mahnolia template as a base and so forth.

I think it way a bit too ambitious when I thought I'll get it right in 2
days as a magnolia newbie.

Short before giving up :(


Am 26.08.11 12:23 schrieb "Unger, Richard" unter <[email protected]>:

> 
> Hi Jan!
> 
> The site definition is assigned to the website-nodes via the "mappings" and
> "domains" configuration in the site definition.
> In the "domains", configure a URL for your site, eg "site2.mydomain.com".
> After that, requests for site2.mydomain.com will be associated with your site2
> site definition.
> To determine which content is served, edit the "mappings". Set the "website"
> mapping ("handlePrefix" property) to point to your website root in the website
> repository, e.g. handlePrefix=/site2
> 
> Hope that helps,
> 
> Regards from Vienna,
> 
> Richard
> 
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: [email protected]
> [mailto:[email protected]] Im Auftrag von Jan-Hendrik Lendholt
> Gesendet: Freitag, 26. August 2011 11:41
> An: Magnolia User-List
> Betreff: Re: [magnolia-user] Re: Extending Magnolia Standard Template /
> Magnolia EE
> 
> 
> 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.htm
>> l#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]>
> ----------------------------------------------------------------
> 
> 
> 



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

Reply via email to