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: 123
TOPIC: Setup: Independent Templates
#10411
Re: Solved: Setup: Independent Templates 11 Years, 10 Months ago Karma: 54
If you create a website for a domain using cPanel, as recommended in the totrial video 0.d, the cPanel Addon Domain should be defined as following
Domain = mysite.com
Document root = domains/mysite.com/public_html

Based on this cPanel definition, in JMS, you need to create the slave site using
Site ID = mysite.com
Domain = www.{site_id} , {site_id}
Deploy folder = /home/ACCOUNT/domains/{site_id}/public_html
Where the /home/ACCOUNT is the value of your primary domain that you can find in the "Addon Domain". This is the value associated to your home icon.

In the template folder, you have to put the {deploy_dir}/templates
because you have specified a "deploy folder".

Don't forget in the JMS Templates rule to specify that the action = "copy" for the /templates directory. Otherwise, you will get a symbolic link and you will share the /templates.

You can verify the structure of the /templates directory.
When using "special copy", the subdirectory of the /templates directory are symbolic link.
When using "copy", the subdirectory are a physical copy.

Concerning the "blank screen", perhaps this is due to a wrong directory path that you provided in your cPanel. You can use the "hello.php" (video 7) to verify the cPanel setting. This will also display you the value that must be provided in the JMS "deploy folder".
If the hello.php can be executed and that you have correct symbolic links deployed in your website directory, you can repeat the operation with a hello.php inside the "administrator" directory to verify that your sever follow the symbolic link.
If you get an error to execute the "hello.php" inside the "administrator" directory, you have to check your server configuration to verify that "Options +FollowSymLinks" is active.
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: 123
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla