Results 1 to 4 of 4

Thread: Mutiple site with one database

  1. #1
    Join Date
    Apr 2010
    Posts
    3

    Red face Mutiple site with one database

    Ive read a lot of information about my request, but i can let it work on my website perfectly.

    all my domain names are on one shared hosting account.

    I tried to follow some instructions but all my website becomes the same or look alike.

    my website will only be used by one broker and no other users are allowed to join.

    I just wanted to make the fontpage or welcome page different from each website or different templates on each website but the same content from one database.

    hope somebody can help me. thanks

  2. #2
    Join Date
    Sep 2003
    Location
    London UK
    Posts
    1,654

    Default Re: Mutiple site with one database

    Hi

    If you have it working on your sites then you need to ajust the common.php.
    Look for
    $config["template"] = $misc->make_db_unsafe($recordSet->fields["controlpanel_template"]);
    and update it to
    $config["template"] = 'mytemplate'; // this will make the site use the template you want.

  3. #3
    Join Date
    Apr 2010
    Posts
    3

    Default Re: Mutiple site with one database

    wow, it works, thanks

    now I can make multiple sites with different template with 1 database.

  4. #4
    Join Date
    Sep 2003
    Location
    London UK
    Posts
    1,654

    Default Re: Mutiple site with one database

    Hi

    that is the way you do it. I assumed that you had Mutiple sites using only 1 data base. This works the same way
    Al

Similar Threads

  1. Multiple site, one database
    By drewdawson in forum General Help (CLOSED)
    Replies: 2
    Last Post: 03-28-2010, 10:35 PM
  2. Mutiple Rental and Listings Property classess
    By MCoffman in forum General Help (CLOSED)
    Replies: 0
    Last Post: 06-22-2006, 03:39 PM
  3. Searching by mutiple agents desperation!
    By EliRealty in forum HELP (CLOSED)
    Replies: 3
    Last Post: 08-23-2004, 02:50 PM
  4. Can not get site database correct.
    By realnew in forum HELP (CLOSED)
    Replies: 1
    Last Post: 02-22-2004, 06:29 PM
  5. Mearging to site in one database
    By zak in forum HELP (CLOSED)
    Replies: 1
    Last Post: 08-15-2003, 02:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •