I've been trying to set this module up on a test site to configure everything and test it as it seems as if it is exactly what we are looking to achieve.
I followed all of the installation instructions. It was an existing modified version of zen cart so I used winmerge to compare the files in the MODIFY directory and include the necessary code. I've included the site_switch line in the includes/config file and made sure I have a config file for each site.
The installation is setup on test.franchise-connect.co.uk
the second site is set up on test1.franchise-connect.co.uk
my config file for test.franchise-connect has the following info
Code:
<?php
$template_dir = "classic";
define('SITE_NAME','test');
define('HTTP_SERVER', 'http://test.franchise-connect.co.uk');
?>
my config file for test1.franchise-connect.co.uk
Code:
<?php
$template_dir = "m2c";
define('SITE_NAME','m2c');
define('HTTP_SERVER', 'http://test1.franchise-connect.co.uk');
?>
The web hosts set up a .htaccess file in the directory of the subdomain to rewrite the address for me but when I type in the subdomain it isn't changing the template or limiting the categories as set up in the admin.
Can someone point me in the right direction as to what I'm doing wrong as I've installed this mod from scratch twice now and can't get it to work correctly.
Bookmarks