Re: MultiSite Module Support Thread
Quote:
Originally Posted by
royaldave
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.
on that will not work you have to change in the config file of what ever store you want.. cpane open your files.
your shop/included/config-sites
choose the config files for your store.
under /**
* Layout Settings
*/
look toward the bottom of that group and look for this\
define('CATEGORIES_TABS_STATUS','1'); //Categories-Tabs Menu ON/OFF
and you can turn it on or off ..
i hope that helpss
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
noppie
on that will not work you have to change in the config file of what ever store you want.. cpane open your files.
your shop/included/config-sites
choose the config files for your store.
under /**
* Layout Settings
*/
look toward the bottom of that group and look for this\
define('CATEGORIES_TABS_STATUS','1'); //Categories-Tabs Menu ON/OFF
and you can turn it on or off ..
i hope that helpss
Hi
I've worked out where the problem is - just don't know what it is.
This if statement in main_template_vars -
if (isset($_GET['typefilter'])) $typefilter = $_GET['typefilter'];
require(zen_get_index_filters_directory($typefilter . '_filter.php'));
////////////////////////////////////////////////////////////////////////////////////////////////////////////
$tpl_page_body = 'tpl_index_product_list.php';
////////////////////////////////////////////////////////////////////////////////////////////////////////////
} else {
////////////////////////////////////////////////////////////////////////////////////////////////////////////
$tpl_page_body = 'tpl_index_default.php';
////////////////////////////////////////////////////////////////////////////////////////////////////////////
}
SHOULD be setting $tpl_page_body to 'tpl_index_default' HOWEVER it's coming out with 'tpl_index_product_list' instead.
This is the result of changes made to init_category_path. I have no idea why.
I can workaround the problem by hardcoding -
$tpl_page_body = 'tpl_index_default.php';
underneath the if statement and everything works the way I want. Except that of course it ruins the rest of the site.
I do not need to modify config_sites at all.
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
royaldave
Hi
I've worked out where the problem is - just don't know what it is.
This if statement in main_template_vars -
if (isset($_GET['typefilter'])) $typefilter = $_GET['typefilter'];
require(zen_get_index_filters_directory($typefilter . '_filter.php'));
////////////////////////////////////////////////////////////////////////////////////////////////////////////
$tpl_page_body = 'tpl_index_product_list.php';
////////////////////////////////////////////////////////////////////////////////////////////////////////////
} else {
////////////////////////////////////////////////////////////////////////////////////////////////////////////
$tpl_page_body = 'tpl_index_default.php';
////////////////////////////////////////////////////////////////////////////////////////////////////////////
}
SHOULD be setting $tpl_page_body to 'tpl_index_default' HOWEVER it's coming out with 'tpl_index_product_list' instead.
This is the result of changes made to init_category_path. I have no idea why.
I can workaround the problem by hardcoding -
$tpl_page_body = 'tpl_index_default.php';
underneath the if statement and everything works the way I want. Except that of course it ruins the rest of the site.
I do not need to modify config_sites at all.
i have been using this mullit site for a long time. I have 3 stores on it.
i used the responsive template that came with the cart.
i tried using different templates and there was so many changes I never got it working.. so i went back to basic.
i got it working on software guys the one on post 2148 rework and the latest zencart. and everything works as it should.
but it seems you got it going.
just remember this is zencart and it is free and not as easy to use as any of the paid carts are. it took me forever to get the facebook pixel working so i can upload my items to facebook then instagram. and i wanted to use one of the sub stores not the main one. and i got it working.. i am learning all the time.
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
noppie
i have been using this mullit site for a long time. I have 3 stores on it.
i used the responsive template that came with the cart.
i tried using different templates and there was so many changes I never got it working.. so i went back to basic.
i got it working on software guys the one on post 2148 rework and the latest zencart. and everything works as it should.
but it seems you got it going.
just remember this is zencart and it is free and not as easy to use as any of the paid carts are. it took me forever to get the facebook pixel working so i can upload my items to facebook then instagram. and i wanted to use one of the sub stores not the main one. and i got it working.. i am learning all the time.
Well what I have actually done is taken out the 'required' changes to init_category_path - I don't know what they do - my site seems to work fine without it - and this results in everything working as it should.
Thanks for having a look!
Re: MultiSite Module Support Thread
i am so glad things are working out.. every store seem to have its own personality
Re: MultiSite Module Support Forum
Ok so i Been trying to get this to work for awhile now. as long as i go directly to domain 1 where the site is, all works fine. But i cannot for the life of me get domain 2 to trigger its theme or products. The problem is i dont know how to get domain 2 to point at the site in domain 1 without using a redirect of some kind. with the redirects it goes to the site but does not trigger the associated configuration. Im sure it is something simple. Please help
Re: MultiSite Module Support Forum
Quote:
Originally Posted by
MrAliKorn
Ok so i Been trying to get this to work for awhile now. as long as i go directly to domain 1 where the site is, all works fine. But i cannot for the life of me get domain 2 to trigger its theme or products. The problem is i dont know how to get domain 2 to point at the site in domain 1 without using a redirect of some kind. with the redirects it goes to the site but does not trigger the associated configuration. Im sure it is something simple. Please help
Did you get this working?
If not, and this might sound silly, are both domain names hosted at the same place? How are you redirecting?
Re: MultiSite Module Support Forum
yes. I had to set up Domain alias on my server to point the domains at the site.
Re: MultiSite Module Support Forum
Hello,
I have installed this plugin andconfigured as per the instructions. However, I have this thread over and over but i still really confuse on how to setup the server with cPanel.
i have 3 domains ( not subdomains) that are hosted on the same server. It is not a dedicated server so I am not sure if i can enable the DNs wildcard.
Here is what I have so far:
domain 1 ( main domain ) inside the public_html folder which contains the zen cart installation.
domain 2 and 3 are empty folders at the same level of public_html.
All 3 domains point to the same IP.
Domain 1 works but domain 2/3 do not. When they are access, nothing is displayed.
I am probably missing some basic steps but i am completely confused about it.
What am I missing? Can someone help me and/or direct me on how to set it up?
Thank you very much
Re: MultiSite Module Support Forum
Ok I can help you tomorrow,. I am on my phone and I need my computer. I know exactly what is going on. I have been using this for years.
Quote:
Originally Posted by
nicksab
Hello,
I have installed this plugin andconfigured as per the instructions. However, I have this thread over and over but i still really confuse on how to setup the server with cPanel.
i have 3 domains ( not subdomains) that are hosted on the same server. It is not a dedicated server so I am not sure if i can enable the DNs wildcard.
Here is what I have so far:
domain 1 ( main domain ) inside the public_html folder which contains the zen cart installation.
domain 2 and 3 are empty folders at the same level of public_html.
All 3 domains point to the same IP.
Domain 1 works but domain 2/3 do not. When they are access, nothing is displayed.
I am probably missing some basic steps but i am completely confused about it.
What am I missing? Can someone help me and/or direct me on how to set it up?
Thank you very much