English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 12
TOPIC: Site sharing same template
#11936
Site sharing same template 10 Years, 9 Months ago Karma: 0
Hello,

I bought the component and am looking for a way to do the following:

I would like set up 1 master site and 10 separate slave sites (different logins) but all sharing JUST the same template. I want to be able to go to the Template Manager for each new site and edit the template parameters so things can be slightly different for each separate site depending on what is entered in the template parameters. I don't want to have to install/update the template on each site individually.

Is this possible? If so, how?
jdennis
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#11939
Re: Site sharing same template 10 Years, 9 Months ago Karma: 54
The Joomla templates are located in the /templates directory.
By default, the rules present in the JMS Template menu assume that the /templates directory is shared between the websites.
Verify that the symbolic link is available. Otherwise, this will be a copy of the /templates directory that will be performed.

I will assume that you are using Joomla 2.5 or 3.2.
Most of the templates companies save the template parameters into the DB.
In this case, this mean that the configuration of the templates can be specific for each websites.

When editing the CSS or other templates files that are located on the disk, they are normally shared when the Symbolic Link is available.

When you have created the slave site, verify that the /templates directory is effectivelly a link and not a copy.
You can also verify the rules in the JMS Templates / Filea and folders tab.

So yes this is possible.

If you want to create a fresh slave site, use the JMS template rule like "freshSlaveXXXX"
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#11949
Re:Site sharing same template 10 Years, 9 Months ago Karma: 0
I went in to edit the freshSlaveDomain template, and went to the Files and Folder tab, and went down to the templates directory, but it doesn't give me the option to to pick a "SL: symbolic link". The only options it gives me are:

special: Special copy
copy: Copy the folder or file
ignore: ignore folder of file
unzip: use a tar.gz file

So then how can I make it so the templates folder is a symbolic link back to the main site's template folder?
jdennis
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#11950
Re:Site sharing same template 10 Years, 9 Months ago Karma: 0
I went in to edit the freshSlaveDomain template, and went to the Files and Folder tab, and went down to the templates directory, but it doesn't give me the option to to pick a "SL: symbolic link". The only options it gives me are:

special: Special copy
copy: Copy the folder or file
ignore: ignore folder of file
unzip: use a tar.gz file

So then how can I make it so the templates folder is a symbolic link back to the main site's template folder?
jdennis
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#11951
Re:Site sharing same template 10 Years, 9 Months ago Karma: 0
Also, is it possible to share the master site's modules to the slave site's?
jdennis
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#11960
Re:Site sharing same template 10 Years, 9 Months ago Karma: 54
For the "/images" and the "/templates" directories, the action is in general "special copy".

"Special copy" mean that in case where the "Symbolic Links" are allowed, then this is a "Symbolic Link". Otherwise this is a "Copy".

So if your environment autorize the symbolic link, you just need to select "special copy".

"Special Copy" also mean that additional parameters can be provided in the "Common tabs".
See the "Specific slave site folders".
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla