I'm pretty new to Umbraco and new to these forums so go easy on me :)
I'm looking at setting up multiple websites for clients - so my first question is should they all have their own SQL instance and if so what is the reasoning behind this? I've started down the route of creating multiple sites in the same instance but after reading through lots of articles I don't know if i'm doing it the right way. So i'd really appreciate if someone could explain to me or point me in the direction of the ideal multiple site setup.
So one of the issues that I want to resolve with multiple sites in the same instance is the ability to override the css file used by TinyMCE depending on the node you are in. So for each different folder (different site in my setup) you have a different style for the editor matching the site. My idea was to do the following:
Create a property on a rootWebsiteFolder document type called override css and set a value to it.
Use /base to create a helper function where you pass in the node id and it returns the override css value if it is there.
Change the TinyMCE javascript to call the base method above to see if the node has an override css value.
So I suppose the questions I have is should I be using base as I've just been reading that it is not available in 5? Does the above look viable or is my idea fundamentally flawed?
Instead of creating multiple sites, you can host all of the websites from one site. This will reduce your time for maintenance and general updates
To do this:
1. Create a different home node under the Content node for each site. 2. Right click on the node and select manage host names and set the host name for each site.
As far as creating different TinyMCE's with style sheets, the easy way to do this would be to just create different RichTextEditor data types for each client/site (in Developer > Data Types) and assign the correct style sheet to each rich text editor.
This should take care of your multiple site and style issues. Hope this helps
I'm already doing the home node and setting the host name within a single instance. There just seems to be conflicting information on running multiple sites within the same instance so I was trying to work out what is the ideal multiple site setup.
I'd also read about creating multiple rich text editor data types but this seems a bit convoluted and it would in my opinion be easier to set a property value on the home node that sets the tinymce style sheet. I mean if you have 100 sites running in a single instance then you have 100 rich text editor data types just to load a different style sheet would this cause any knock on effect?
Multiple sites, TinyMCE and /base....
Hi All,
I'm pretty new to Umbraco and new to these forums so go easy on me :)
I'm looking at setting up multiple websites for clients - so my first question is should they all have their own SQL instance and if so what is the reasoning behind this? I've started down the route of creating multiple sites in the same instance but after reading through lots of articles I don't know if i'm doing it the right way. So i'd really appreciate if someone could explain to me or point me in the direction of the ideal multiple site setup.
So one of the issues that I want to resolve with multiple sites in the same instance is the ability to override the css file used by TinyMCE depending on the node you are in. So for each different folder (different site in my setup) you have a different style for the editor matching the site. My idea was to do the following:
Instead of creating multiple sites, you can host all of the websites from one site. This will reduce your time for maintenance and general updates
To do this:
1. Create a different home node under the Content node for each site.
2. Right click on the node and select manage host names and set the host name for each site.
As far as creating different TinyMCE's with style sheets, the easy way to do this would be to just create different RichTextEditor data types for each client/site (in Developer > Data Types) and assign the correct style sheet to each rich text editor.
This should take care of your multiple site and style issues. Hope this helps
Zac
Hey Zac,
Thanks for the info.
I'm already doing the home node and setting the host name within a single instance. There just seems to be conflicting information on running multiple sites within the same instance so I was trying to work out what is the ideal multiple site setup.
I'd also read about creating multiple rich text editor data types but this seems a bit convoluted and it would in my opinion be easier to set a property value on the home node that sets the tinymce style sheet. I mean if you have 100 sites running in a single instance then you have 100 rich text editor data types just to load a different style sheet would this cause any knock on effect?
Cheers,
Mark..
is working on a reply...