Re: MultiSite Module Support Thread
Quote:
Originally Posted by
Carbonless
Any issues to be aware of? I used to have a heavily modified version running and had to abandon from lack of updates as many core files were modified.
How is everyone going with this?
I am finally moving to 157c from 156c and hit a couple of snags.
1 - With the new version of cat_filter (as found in post 2148) - well basically it didn't work - ALL my categories were showing up. But by downgrading to the cat_filter from the previous version of the module it works fine.
2 - The files included in /zencart/includes/init_includes/overrides , should these actually be in /zencart/includes/init_includes ? (assume so)
Otherwise seems to work but admittedly not much time for testing so far.
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
royaldave
How is everyone going with this?
I am finally moving to 157c from 156c and hit a couple of snags.
1 - With the new version of cat_filter (as found in post 2148) - well basically it didn't work - ALL my categories were showing up. But by downgrading to the cat_filter from the previous version of the module it works fine.
2 - The files included in /zencart/includes/init_includes/overrides , should these actually be in /zencart/includes/init_includes ? (assume so)
Otherwise seems to work but admittedly not much time for testing so far.
i have been using this mod on and off for years.. i can help you but not understanding what you mean by cat_filter did not work.. you get the info in your admin under Tools>>multi-site copy that into your cat-filter. Make sure you name it >>> https://your_site.com_config.php.
this is one of mine
$template_dir = "kandi"; >>>>>>>>>your template name
define('SITE_NAME','kandi'); site name
define('HTTP_SERVER', 'https://thekandibazaar.com'); your site name
define('HTTPS_SERVER', 'https://thekandibazaar.com'); your site name
define('CATEGORIES_ROOT','0'); //root categories is 1 for this site
define('DIR_WS_CATALOG', '/'); >>>>>>>>>>>>>>>>>>>>> if you point your domain name to html/shop in your cpanel then don't change if this is not the main site. I use shop---some people use cart or some people have their store in the root directory.
define('DIR_WS_HTTPS_CATALOG', '/');
/**
any question i maybe able to help.
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
noppie
i have been using this mod on and off for years.. i can help you but not understanding what you mean by cat_filter did not work.. you get the info in your admin under Tools>>multi-site copy that into your cat-filter. Make sure you name it >>>
https://your_site.com_config.php.
this is one of mine
$template_dir = "kandi"; >>>>>>>>>your template name
define('SITE_NAME','kandi'); site name
define('HTTP_SERVER', 'https://thekandibazaar.com'); your site name
define('HTTPS_SERVER', 'https://thekandibazaar.com'); your site name
define('CATEGORIES_ROOT','0'); //root categories is 1 for this site
define('DIR_WS_CATALOG', '/'); >>>>>>>>>>>>>>>>>>>>> if you point your domain name to html/shop in your cpanel then don't change if this is not the main site. I use shop---some people use cart or some people have their store in the root directory.
define('DIR_WS_HTTPS_CATALOG', '/');
/**
any question i maybe able to help.
Sorry, one of the new files with this plugin is /zencart/includes/functions/extra_functions/cat_filter
The latest version of this file didn't work for me and I had to use the previous version.
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
royaldave
Sorry, one of the new files with this plugin is /zencart/includes/functions/extra_functions/cat_filter
The latest version of this file didn't work for me and I had to use the previous version.
Anyway I've fixed it.
Just removed this code -
// define('ALLOW_CAT_FILTER','no') will desactivate the category filter
if (!defined('ALLOW_CAT_FILTER') || (ALLOW_CAT_FILTER != 'no')) {
return $sql;
}
This if statement not working the way intended - my filter was getting bypassed.
Re: MultiSite Module Support Thread
Next problem.
Some of the admin settings are getting ignored.
For example I have 'Categories - Always Show on Main Page' set to 0, yet they are showing anyway. Another symptom is that my define_main_page.php does not display, however if I change this to '1' then it will display - however I still have the unwanted categories showing.
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
royaldave
Next problem.
Some of the admin settings are getting ignored.
For example I have 'Categories - Always Show on Main Page' set to 0, yet they are showing anyway. Another symptom is that my define_main_page.php does not display, however if I change this to '1' then it will display - however I still have the unwanted categories showing.
I've narrowed this down to the changes made to init_category_path.php. Another symptom is the display of New Products on the front page is switched off in the database, however it displays anyway.
Removing the changes made to this file fixes the problem.
Re: MultiSite Module Support Thread
first how many stores do you have?????
i can probably help you..
but need to know how many stores you have.
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
noppie
first how many stores do you have?????
i can probably help you..
but need to know how many stores you have.
Currently have 15 stores.
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
royaldave
Currently have 15 stores.
and a different config file for each correct.
the reason i ask is because
Quote:
For example I have 'Categories - Always Show on Main Page' set to 0, yet they are showing anyway. Another symptom is that my define_main_page.php does not display, however if I change this to '1' then it will display - however I still have the unwanted categories showing.
so you have 15 different config files correct. 15 different templates correct!
changing in the admin will not work. except for like in the side box setting.. in the tools you see multi-site tool
has the configuration files in it. and what ever template you are working in that is the config file that is showing in the tools. what ever configuration you changed you have to change in you yoursitename.com_config.com
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
noppie
and a different config file for each correct.
the reason i ask is because
so you have 15 different config files correct. 15 different templates correct!
changing in the admin will not work. except for like in the side box setting.. in the tools you see multi-site tool
has the configuration files in it. and what ever template you are working in that is the config file that is showing in the tools. what ever configuration you changed you have to change in you yoursitename.com_config.com
Hi, yes, 15 different config files and templatges.
I did try amending the config file but it didn't work.
That is, I added in -
define('SHOW_PRODUCT_INFO_MAIN_NEW_PRODUCTS','0');
define('SHOW_CATEGORIES_ALWAYS','0');
but it had no effect.