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: 1
TOPIC: CSS missing
#1056
CSS missing 15 Years, 6 Months ago Karma: 0
Hi Edwin

I'm wishing to install a load of slave sites each with its own theme, but I'm practising with just one, and having problems.

1) I read the demo and installation PDFs three or four times!!

2) I've read almost every topic on the Forum!!

3) I installed the master in a directory on my hosted Unix server.

4) I configured CPanel as described to point the slave to ..../master.

5) I installed the slave using JMS. It's in ..../master/multisites/sofiasales.

6) I gave it a themes directory, {site_dir}/templates, which produced ....master/multisites/sofiasales/templates

7) Using sofiasales admin, I installed a theme which is only in the slave site.

8) Hello World works fine in both master and slave.

9) I didn't use a template because I want the sites to be independent.

There I hit a wall.

The site is there but no css. It has data but no design.

I must have missed a step.

The slave is at www.sofiasales.bg

What have I done wrong?

Thanks

Keith
keithbrook
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1057
Re:CSS missing 15 Years, 6 Months ago Karma: 54
Have a look in the page of www.sofiasales.bg and you will see that the CSS are present.
The CSS are defined using /templates/.....

This means that you have to check your hosting server configuration to verify that the root directory correspond to the {site_dir}.

Here you have followed the "demo install installation" document that assign the same directory for all the domain (this is also mention in your point 4).

In your case, you have to use the tutorial step 9 procedure and assign in CPanel the {site_dir} path.

Therfore
Deploy folder = {site_dir}
Themes folder ={site_dir}/templates

AND Cpanel document root = {site_dir}
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1059
Re:CSS missing 15 Years, 6 Months ago Karma: 0
Edwin

Good man, that cured it.

I missed a step because I thought that JMS handled all the re-routing.

So, do we have to point every domain name to its own subdirectory within the master site, or only when we use a different template (theme) directory?

Thanks for a speedy response, especially so late at night!!

Op uw gezondheid!!!

Keith
keithbrook
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1061
Re:CSS missing 15 Years, 6 Months ago Karma: 54
That depends.

When working with specific themes, sometimes, the implementation of the themes hardcode some directory path.
That was the case with the themes that you are using.
They have considered the themes directory as /templates.....

This is the reason why I advise to deploy the slave site into a specific directory and use templates in this directory.
In this case, YES it can be recommanded to have the hosting server configured with this specific directory.
You can also work in the other side and consider that this is the hosting server directory (generally created by the server when defining a new domain or sub-domain) and use this specific directory to ask JMS deploy the slave site in this directory.
This scenario is the one that had guide us to propose the Symbolic Link functionlaity.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1069
Re:CSS missing 15 Years, 6 Months ago Karma: 0
Edwin

So, with a load of sites, each with their own themes, images and stories, do you recommend this scenario:

1) (master is my base Joomla installation, multisites is JMS default)

/public_html/master/multisites
/public_html/master/multisites/site1
/public_html/master/multisites/site2

or this:

2)

/public_html/master/multisites
/public_html/sites/site1
/public_html/sites/site2

The reason I ask is, as you say, some themes I use are badly behaved.

Many thanks

Keith
keithbrook
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/06/15 16:55 By keithbrook.
The administrator has disabled public write access.
 
#1070
Re:CSS missing 15 Years, 6 Months ago Karma: 54
Concering the problem of the templates directory that may be hardcoded by some author is not the directory itself but the configuration of the hosting server.

You must provide in your hosting server the document root = to the place where you deploy the slave site.
Both solution propose herebefore are OK if you configure your hosting server correctly.

Q1) suppose you have a www.site1.com
in your hosting server (apache, godaddy, plesk, cpanel, ...) you have to assign the document root = /public_html/master/multisites/site1

Q2) Idem with the path you have decided
document root = /public_html/sites/site1

As you can see, you have to provide in JMS the deploy folder = the document root you have choose in your hosting server.

This is only true when you want to have specific directory for each domain or sub-domain.

So in summary, you have to first consider the path you have associated to your domain in your hosting server and after see the sub-directories as relative to this "document root".

I suggest that you review the JMS concept described in the video of tutorial step 0.
This will explain you the relationship between the hosting server and the document root.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
Last Edit: 2009/06/15 17:12 By edwin2win.
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla