Re: MultiSite Module Support Thread
@ALL,
again trying to get things to work. First, I took everything out of the categories descriptions column except for the html comment. Then, set up the config_sites folders thusly:
----------------------------
ZEN APP is in folder --> mydomain.com/folder/shop
ALL PRODUCTS AND CATS (crafts, foods and books) ARE IN THIS SITE
CONFIG FILES 1-2
mydomain.com_config.php, www.mydomain.com_config.php
Code:
<?php
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
$template_dir = "mihluna";
define('SITE_NAME','FAIR');
define('HTTP_SERVER', 'http://www.mydomain.com/folder/shop');
define('HTTPS_SERVER', 'https://www.mydomain.com/folder/shop');
define('CATEGORIES_ROOT','0'); //root categories is 0 for this site
?>
CONFIG FILES 3-4 / JUST CRAFTS IN THIS SITE
crafts.mydomain.com_config.php, www.crafts.mydomain.com_config.php
Code:
<?php
define('SITE_NAME','CRAFTS');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
$template_dir = "CRAFTS_mihluna";
define('CATEGORIES_ROOT','3'); //root categories is 3 for this site
?>
CONFIG FILES 5-6 / only FOOD HERE
foods.mydomain.com_config.php, www.foods.mydomain.com_config.php
Code:
<?php
define('SITE_NAME','FOODS');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
$template_dir = "FOODS_mihluna";
define('CATEGORIES_ROOT','2'); //root categories is 2 for this site
?>
CONFIG FILES 7-8 / just BOOKS IN HERE
books.mydomain.com_config.php, www.books.mydomain.com_config.php
Code:
<?php
define('SITE_NAME','BOOKS');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
$template_dir = "BOOKS_mihluna";
define('CATEGORIES_ROOT','1'); //root categories is 1 for this site
?>
Now, what is happening is that we have the main mihluna template showing up. have activated the site_links.php file and activated the sidebar box in all the templates.
changed the header of the 3 other templates so that I could see if it was loading the different site template, but it is not. What am I missing here?
:lamo:
TIA
Gargi
Re: MultiSite Module Support Thread
First of all, it would be much easier to answer if we could actually take a look at the live sites.
About your templates - are your templates really named using capital letters? If you're on a linux server, "Name" is not the same as "name". Just a thought... Did you make your subdomains' root directory point to your zen app installation folder?
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
balihr
First of all, it would be much easier to answer if we could actually take a look at the live sites.
About your templates - are your templates really named using capital letters? If you're on a linux server, "Name" is not the same as "name". Just a thought... Did you make your subdomains' root directory point to your zen app installation folder?
Fair enough:
the site is at http://cooperativetrading.com/1port/shoppe2
but you have to log in over htaccess. It's to keep the bots out for the time being.
login: mutlisite
pass: multi
If you want to log in to the back end, pm me and I will provide a login for any helpful souls, gladly. (or also an ftp login to the folder!)
it's a lin server. I took care to make sure that the template_info.php files and the folders' names were in sync.
the subdomains are pointed to the zen app folder through an apache 301 redirect. that seems to be redirecting properly, also.
Thanks for any help you can offer! Very much appreciated.
Gargi
PS: just need a few mins to put the themes back the way they were. I was playing with it some more, testing more themes.
Actually, I started out with apple_zen and I wanted to stay with that. I will put that back in there, because Mihluna was also not working properly. So, the theme is apple_zen, with apple_zen_B, apple_zen_C and apple_zen_F.
the subdomains are coop.cooperativetrading.com (foods)
books.cooperativetrading.com and crafts.cooperativetrading.com
plain old "cooperativetrading.com" resolves to the live site in a different folder with a different zen app, which does not have multisite installed.
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
glogo
the subdomains are pointed to the zen app folder through an apache 301 redirect. that seems to be redirecting properly, also.
OK, didn't even need to see your site...
301 redirects are NOT what you need. You don't want to redirect your subdomains. You want to stay in your subdomain, but it "pulls" data from somewhere else.
Take a look at my previous post here - cpanel screenshots is what you're after... :)
Re: MultiSite Module Support Thread
@bahlir
Many heartfelt thanks. that was the missing information.
For the benefit of anyone else who feels confused, this was the whole process for me.
http://docs.google.com/View?id=ddd8x4x4_117fn26fnfn
As needed this can be updated. If anyone wants to work on it, change anything still unclear, editing writes are available.
Love,
Gargi
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
ideasgirl
I have it running without issues.
PHP Code:
daylightnutrition.biz
pclean.biz
Thanks for your answer.
I put a product in the cart on "daylightnutrition.biz" and went to checkout and got the msg, that the cert isn't ok.
cert only valid vor "*.daylightnutrition.biz." (Errorcode: ssl_error_bad_cert_domain)
It works only well with www.daylightnutrition.biz!!! So you might want to redirect daylightnutrition.biz to www.daylightnutrition.biz te get rid of that.
The second problem is what I am looking for solution:
Your http://pclean.biz works only with the cert, because this gets redirected to "http://pclean.daylightnutrition.biz/".
I am looking for a solution, to make "www.pclean.biz" work directly with a cert and so not having to be redirected to "pclean.daylightnutrition.biz".
Accessing "https://pclean.biz" leads to a error. So your solution doesn't work the way it should. At least not the way I was looking for.
Didn't you have any complains from your customers?
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
glogo
@bahlir
Many heartfelt thanks. that was the missing information.
For the benefit of anyone else who feels confused, this was the whole process for me.
http://docs.google.com/View?id=ddd8x4x4_117fn26fnfn
As needed this can be updated. If anyone wants to work on it, change anything still unclear, editing writes are available.
Love,
Gargi
EDITING "RIGHTS" are available!
GUIDE FOR BEGINNERS
Re: MultiSite Module Support Thread
Thanks glogo, great resource!
Quote:
cert only valid vor "*.daylightnutrition.biz." (Errorcode: ssl_error_bad_cert_domain)
Ok, didn't spot that one, took care of it.
The complaint I have is (and I think is what you want to accomplish) that the daylightnutrition.biz comes up on the url, and customer doesn't really like the idea. I don't think there's a solution, is there?
Quote:
Accessing "https://pclean.biz" leads to a error.
That's because the SSL is for daylightnutrition, so pclean doesn't have one.
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
glogo
Good job! I was thinking of writing a guide, you just saved me the trouble... :smile:
One thing, though - i see you thanked me in the tutorial. Well, you might wanna change my name to the one i actually use... :wink: I'm not bahlir, i'm balihr - just put a dot before h and you got my domain... :smile:
Glad you got it running! Have fun!
Re: MultiSite Module Support Thread
@all, @balihr
:cool: onwards and upwards...
now that the basic install is working, we have to modify it for the client, who insists on zen cart and nothing else, and why not? It's a good platform.
only thing is, I am not (yet) a php whiz, but maybe this will get me started.
ONE
what is needed now is a way to integrate group pricing for members, but it has to be specific to each site.
as an aside, actually it probably would not have been necessary to put up the multisite, if there had been an easy way to do this in the first place. if there is a way to do it, I have not found it yet. I assumed I would be able to do it by segregating the products by site, but in the site configs I don't see it. so, it looks like I put the cart in front of the horse here.
GROUP PRICING. how does one set this up? it does not seem that it can be done in the product attributes, otherwise, no need for multisite.
Another way it would have been easy to set up is by category, like you could discount a category.
... another thing I am missing in zen cart is the ability to have a product live in multiple categories at once. So, that is also somewhat solved with this multisite, since a product can be offered across all sites, or only a few or only one.
So, maybe it was not all for naught. Can anyone point me to a do-able solution?
we have to discount the products for members 20% in 2 of the sites and 10% in the 3rd site.
TWO
After that, have to work on the shipping module. Another big topic! But one thing at a time.
THREE
Lastly, is it true that if I use subdomains I have to pay for 2 more unique IP addresses and 2 more SSL certificates? If so, maybe I can get around that by setting up the whole thing in sub-folders instead? :flex: Whee!!! Now we can do it again...
Great, have to stay on the zen train now... :yes:
Thanks so much for your help, as always... :smile:
:D G