ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

MSM installation clarification

April 06, 2009 2:44am

Subscribe [4]
  • #1 / Apr 06, 2009 2:44am

    337studio

    5 posts

    Hi, this is my first post. I just purchased a personal license for EE as well as the Multiple Site Manager expansion. Forgive me if my questions are really basic.

    I’m having difficulty wrapping my head around installing the MSM. I installed my personal licensed files on one site, call it siteA, and installed all the appropriate MSM files into siteA. I added a new Site in siteA’s cp and then proceeded to copy over siteA’s

    index.php
    file and
    path.php
    file into my second site, call it siteB’s, root directory. I then edited the
    path.php

    appropriately for siteB.

    Are those the only files that need to be copied over? Do I need to copy over the themes directory from siteA to siteB? Do I need to create a new images directory in siteB’s root directory? Or will all my images reside in siteA’s images directory?

    I guess what I’m trying to figure out is what exactly should reside in siteB’s root directory other than the index.php and path.php files.

    I get even more confused when I go to edit siteB’s system preferences in the main control panel. After reading the docs on MSM, I understood that any preferences you set for a specific site will affect that site only. But when I go to edit siteB’s General Configuration system preferences and change, for instance, the URL to your “themes” folder to be http://siteb.com/themes/, and then save, the cp looks like there is no CSS styling. Of course, there is no themes directory in siteB’s root directory, so I’m assuming the CSS styling for the cp resides in the themes directory. In the MSM docs there were no instructions on adding a themes directory to a new Site when utilizing MSM.

    I hope someone can please clarify things for me. Thanks in advance!

  • #2 / Apr 06, 2009 3:12am

    John Henry Donovan

    12339 posts

    dashh,

    Welcome to the ExpressionEngine!

    You can leave the theme folder the same for both as both sites will use the one theme folder.

    By default any images you use will come from siteA

    If you want images for siteB not to reference the /images/ folder in siteA then you can create an images folder under siteB

    http://www.siteb.com/images/


    The same goes for aything else you want to specifically reference for siteB. Maybe Javascript files or something similar. Flash files would be a good example as to not run into cross domain issues

    Does that make sense?

  • #3 / Apr 06, 2009 1:28pm

    lightborne

    2 posts

    Thanks for the speedy reply!

    What you said does make sense, but I’m still a bit confused as to how to configure siteB’s system preferences. For instance, if I’m editing siteB’s system preferences > general configuration, do I change the setting URL to the root directory of your site to say http://siteb.com/ or do I leave that as http://sitea.com/? Am I to just leave all the system preferences the same for siteB as they are in siteA?

  • #4 / Apr 06, 2009 1:30pm

    337studio

    5 posts

    The above comment from lightborne is actually me, dashh. I was logged in using a different account.

  • #5 / Apr 06, 2009 5:27pm

    Ingmar

    29245 posts

    Generally, you can use the settings for your first site, then change those that differ as needed. Let us know if you’re running into any actual problems there…

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases