Re: MultiSite Module Support Thread
OK call me a noob, but I am totally confused....
I currently have the cart installed at my test domain http://www.frenchsdesigns.com This is my test site, as I will be creating a new setup at a new domain...
Do I need to create a new directory folder for a new subdomain and then upload the shopping cart again with all the files included with the mutlisite MOD? or do I just need to upload these files into the main site, and then create a new template?
Could someone please help me understand this?
I know it is simple, but I am just not getting it, please, please, please help me...
Thanks
Re: MultiSite Module Support Thread
I should note that I have 1and1.com hosting package so it is easy for me to direct subdomains wherever I want, but I am still confused as to what to do with this, to make it work...
Re: MultiSite Module Support Thread
there is a function cat_filter($sql) that changes any query that is related to categories/products and apply the filter to it. If you use this function for the sql query of url_generator, it should "hopefully" work. If it doesn't, I can fix it, but,I don't think I've ever used this module, so I don't really know what it is all about.
Try to add cat_filter() in the code of this module in the first time.
You might have that somewhere:
.... = $db->Execute('SELECT .... FROM ... CATEGORIES ....');
replace it by
.... = $db->Execute(cat_filter('SELECT .... FROM ... CATEGORIES ....'));
And your categories should be filtered.
If it doesn't work, I'll give it a try.
As for the banners, I never done anything with it at the moment, just because I don't really use banners. You can add sideboxes specifically to a template (and so, to only one site...). I guess it should be simple to use the constent SITE_NAME in the banner's name and then to modify the query that would only show the banner for the site...
When I have to do any kind of banner for a site, I dont use this module but I make my own sideboxe for a banner and then I put it whereever I want.
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
Crazy-Software
OK call me a noob, but I am totally confused....
I currently have the cart installed at my test domain
http://www.frenchsdesigns.com This is my test site, as I will be creating a new setup at a new domain...
Do I need to create a new directory folder for a new subdomain and then upload the shopping cart again with all the files included with the mutlisite MOD? or do I just need to upload these files into the main site, and then create a new template?
Could someone please help me understand this?
I know it is simple, but I am just not getting it, please, please, please help me...
Thanks
make different domains with the SAME folder on your server; This folder should contain the zen-cart shop.
Example:
These two index.php files should be the SAME file
www.site1.com/index.php
www.site2.com/index.php
So you can make it work with only one file system.
Follow the instructions and good luck.
Can these that manage to install this module properly point me out what needs to be added in the instructions ?
Thanks.
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
Gerome
Yes, I see where you ar going. The module has been for a same admin to manage more than one shop (as it is what we do). If you want an admin to only manage one shop, it means that you won't have common categories in between shop anymore ? The admin configuration is set as "default for all site" when you override the configuration of one site in a config file; if you want to make it for more than one admin, this would have to change too. I never really take time to considerate this improvement, and I think we should get more opinions about the needs of users before starting to do anything like that.
Also, I mainly started to make this module because it was something that my company needed, however, we don't need to have a specific admin for each shop, this is why I didn't bother doing it...
Customer table is common for all sites, it might have to change and be specific to one site (adding a collomn site_name to the customer's table...)
Well, this won't be ready tomorrow...
Got more background of this module :)
Yes, agree with you that should be more careful before taking any action for such change.
And now I just suddenly have another idea: I think based on your current module, it is easy to create many super administrator accounts that can manage all the shops, right?
If so, then if I hava 3 shops, then I create 3 super administrators (such as admin1, admin2, admin3. all can manage every shop), and then, is it possible that in the code we implement some constraint logic which can only manage one shop? (admin1 can only have the auth to manage shop1 ...)
Also, regarding the customer's table, I don't think it is necessary to add a column site_name, since "customer is common for all shops" is acceptable under most situation. (Less modification to the table structure, much more better, I think :) )
Re: MultiSite Module Support Thread
First of all, thanks for Gerome doing such a beautiful work. And I find that this is really a warm community.
I'm new to website establishment and Zen Cart. I browsered all the posts before. However, I'm somewhat unclear.
I have installed the Zen Cart 1.3.7 with the domain name shop.mysite.com on Dreamhost.
I have also created a subdomain shop1.shop.mysite.com.
What is the more reasonable way to use MultiSite Module creating a new store www.shop1.shop.mysite.com?
Thanks in advance!:smile:
Re: MultiSite Module Support Thread
Hello, i need help in spanish, about installation of multisite, thanks.
Re: MultiSite Module Support Thread
Allright I must be really stupid here...
Gerome I had sent you an email, as I still do not get it LOLOL
I am usually pretty handy and can stumble through most things when it comes to this sort of thing. I just cannot seem to understand how this works or is installed.
I would be more than willing to pay for your services and help with getting this installed...
Thanks!
Re: MultiSite Module Support Thread
ok well I think I know am getting somewhere...
I just cannot get any boxes to show up on the site...
I have selected under "Tools" "Template Selection" Store1 then slected update
When I go under "Tools" "Layout Boxes Controller" I select which Boxes to tourn on, BUT they are NOT appearing on my shop page...
Am I missing a step here?
My test domain is http://www.frenchsdesigns.com
Re: MultiSite Module Support Thread
I've been trying to configure for some time now, but i think i got it...
If you want to add more domains to your zencart multisite using cPanel, you install the mod on the main store (e.g. www.aliencore.com) and configure as Gerome says in the installation instructions.
Then, in cPanel, you have a button named "Parked Domains". Click here and then add the domain names that you want to use and that you configured in 'includes/config_sites". (e.g. www.lojadejogos.com; www.mundodosbrinquedos.com, etc.)
By now, if you followed Gerome's instructions correctly, you should see that e.g. www.lojadejogos.com is working but is not showing the sideboxes.
This has been said before by Gerome, but i will copy-paste it here once more:
Quote:
Originally Posted by Gerome
You need to go in:
- Tools -> Template Selector
- click on Edit
- Choose the template that you what to change the Layout Boxes for
- Click on Update.
- Then go in Tools -> Layout Boxes Controller and you can now change the layout boxes for the template that you have selected.
Repeat this process for every template that you what to change the layout for.
Note: With the MultiSite Module, the Template Selector doesn't select the template anymore because the template is chosen depending of the site.
The template Selector is only used in order to chose the template for which you want to change the layout.