Forums / All Other Contributions/Addons / MultiSite Module Support Thread

MultiSite Module Support Thread

Started by gerome on 23 Apr 2007, 10:24 AM · Views: 581,865

Results 141 to 160 of 2,247
21 Jul 2007, 3:07 AM
#141
stav avatar

stav

New Zenner

Join Date:
Oct 2004
Posts:
39
Plugin Contributions:
0

MultiSite Module Support Thread

streetglow:

I wrote an extension for your module, which allows you to specify a site for each product.

Any more requests?

Attachment #2319

streetglow great addon !! :) thanks.

21 Jul 2007, 3:34 AM
#142
stav avatar

stav

New Zenner

Join Date:
Oct 2004
Posts:
39
Plugin Contributions:
0

Re: MultiSite Module Support Thread

A simple solution for the admin/products.php will be a text field or multiple select list which will insert one or more site names for the product in product_site comma separated p.x. site1 or site1 , site2 , site3. In this way the product will be visible in one or more site .

21 Jul 2007, 7:51 PM
#143
gerome avatar

gerome

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

Re: MultiSite Module Support Thread

stav:

A simple solution for the admin/products.php will be a text field or multiple select list which will insert one or more site names for the product in product_site comma separated p.x. site1 or site1 , site2 , site3. In this way the product will be visible in one or more site .

Products are currently filtered according to their master categories and not the products themselves...

I was thinking to make something which would allow to simply change a category to different sites in the admin section...

Lots of work ahead ...

If you think of any other tools that would help for the use of this module, let me know and I will try to add them to the "Multisite Tools" in the admin section.

21 Jul 2007, 8:27 PM
#144
stav avatar

stav

New Zenner

Join Date:
Oct 2004
Posts:
39
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Gerome:

If you think of any other tools that would help for the use of this module, let me know and I will try to add them to the "Multisite Tools" in the admin section.

No that was just a work around for the post from streetglow , because in the extension that hi posted is not an imput field tor the products filtering in admin to be insered in the ptoducts_site database table.

The category filtering is better when you want different categories on different sites,(the usualy this is needed), but if you want the same categories but with different products the product filtering is faster sollution.

BTW. Dou you solved the filtering on (products all, products new , products special, duplicated listing and advanced search pages)?.

If yes can you send me that files please, until you release new version.

24 Jul 2007, 4:32 PM
#145
loop4ever avatar

loop4ever

New Zenner

Join Date:
Apr 2006
Posts:
18
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Gerome:

loop4ever,

  1. keeping one copy of zen-cart will make your life easier, however, this module also work with a duplicate zen-carts. The problem will be that any modification will have to be done twice and images uploading too.

  2. As for the subdomain, sometimes, if you activate the "wildcard" and if you have a dedicatede server, you can make the subdomain and the main domain going to the same folder. If you don't know how to do that, ask your hosts.

  3. Well, make sure they don't; you can redirect it with htaccess.

  4. you can ovewrite the constant for the account in your config file, or, if you want to make it cleaner, you can duplicate your payment module and overwrite the ENABLE constant for each module. It can sound complicate but it is not.

  5. you can have different SSL on the same server, only if your server have more than one IP address (one IP for each SSL).
    You can also get a common SSL but it can have issues with the cookies... Google checkout can work for multiple shops with only one SSL (use only SSL for the callback).

Gerome,

I got my subdomains working. I have only one copy of zencart and one SSL. I am going to work on the payment today. Thanks a lot!

One more question: How can I have the products sale on one site and display-only on other sites?

loop4ever

**loop4ever

360square.com**
Display & Sell Your Artwork for Free
Buy Directly from Artists

24 Jul 2007, 10:43 PM
#146
marknew avatar

marknew

Zen Follower

Join Date:
Oct 2005
Posts:
274
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hi,
I have set up two multisites in subdomains using the applezen template but i can't get the dropdown menu working on one site. It's not finding tpl_drop_menu.php but i can't see why.

http://www.retailer.crochetta.com.au/index.php?main_page=index.

The other site works fine with this template.
http://www.agents.crochetta.com.au/index.php

Would this be in configure.php?
Thanks
M

24 Jul 2007, 11:20 PM
#147
marknew avatar

marknew

Zen Follower

Join Date:
Oct 2005
Posts:
274
Plugin Contributions:
0

Re: MultiSite Module Support Thread

yep, configure.

29 Jul 2007, 1:25 PM
#148
reza avatar

reza

Zen Follower

Join Date:
Aug 2006
Posts:
166
Plugin Contributions:
0

Re: MultiSite Module Support Thread

A question about Advanced search and multi site module

hi, I see the multisite can filter categories between defined sites. the problem comes, when you are searching something in one site by using advanced search, there, you see all the categories (also from the other sites!!) , and it makes a confusing for the customer who doesn't see these other categories in the category side box of the current site and even by selecting one of them in search of his key word, the result is no product when this category belongs to the other site.

queston: is there any problem in my installation that in advanced search I see all the categories ( so the categories that not belong to this site )?
if yes, where can be the fout?
if no, is there any way to resolve this problem?

thanks in advance

31 Jul 2007, 9:04 AM
#149
gerome avatar

gerome

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

Re: MultiSite Module Support Thread

reza:

A question about Advanced search and multi site module

hi, I see the multisite can filter categories between defined sites. the problem comes, when you are searching something in one site by using advanced search, there, you see all the categories (also from the other sites!!) , and it makes a confusing for the customer who doesn't see these other categories in the category side box of the current site and even by selecting one of them in search of his key word, the result is no product when this category belongs to the other site.

queston: is there any problem in my installation that in advanced search I see all the categories ( so the categories that not belong to this site )?
if yes, where can be the fout?
if no, is there any way to resolve this problem?

thanks in advance

Well spotted. I know this problem, I just didn't have time to fix it. Basically, all I have to do is fix the query using the usual cat_filter() function...

It will be done soon.

31 Jul 2007, 7:57 PM
#150
lina0962 avatar

lina0962

Zen Follower

Join Date:
Jun 2006
Posts:
403
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hello, Gerome:

I don't quite understand your install instructions step 4 (I apoligize that I am not a native-english speaker)

Do you mean that:

  1. For the files in Group 1, I can just directly upload the files from "Modify_Files" folder onto the server and replace the original zencart files?

  2. For the files in Group 2, I can upload them to "my template" ffolder, for example, includes/modules/sideboxes/my_template/best_sellers.php. Therefore, I don't need to replace the original file like includes/modules/sideboxes/best_sellers.php. Is my understanding right?

Thank you very much!!

Lina

31 Jul 2007, 10:15 PM
#151
lina0962 avatar

lina0962

Zen Follower

Join Date:
Jun 2006
Posts:
403
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Gerome:

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
https://www.site1.com/index.php
https://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.

Hello, Gerome:

I started page 1 to read all the posts within this thread. And I run into this post.

I don't understand how you can use one folder for two different domain names. It seems my hosing company allows me to have one folder for each domain and each subdomain name. So I just uploaded the files vis FTP to the individual folder. Also what is exactly is a "dedicated server"?

My hosting company is called Dreamhost, by the way.

Thanks a lot!

lina

1 Aug 2007, 8:21 AM
#152
gerome avatar

gerome

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

Re: MultiSite Module Support Thread

lina0962:

Hello, Gerome:

I started page 1 to read all the posts within this thread. And I run into this post.

I don't understand how you can use one folder for two different domain names. It seems my hosing company allows me to have one folder for each domain and each subdomain name. So I just uploaded the files vis FTP to the individual folder. Also what is exactly is a "dedicated server"?

My hosting company is called Dreamhost, by the way.

Thanks a lot!

lina

If you have a dedicated server, you have to activate the "wildcard", then any domain name going to your IP address will go to your main website.

If not, then it not that easy. With 1and1 hosts, I can specify different domain name that will go in the same folder. If you don't know how to do it, ask your hosting company.

2 Aug 2007, 6:29 PM
#153
stav avatar

stav

New Zenner

Join Date:
Oct 2004
Posts:
39
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hi Gerome.

Maybe this can help on filtering.

In the main_page=specials, main_page=products_new, main_page=featured_products the filtering provided in the includes/modules/ new_products.php , featured_products.php, specials_index.php don't working.

But if you add the filtering function in includes/templates/template_default/templates/tpl_modules_products_new_listing.php
line 23 :
$products_new = $db->Execute(cat_filter($products_new_split->sql_query));

the same for the templates featured_products and specials the filtering is working ok.
But now all products are displaying twice. :D.
Do you have any solution on this please?.

3 Aug 2007, 1:16 AM
#154
stav avatar

stav

New Zenner

Join Date:
Oct 2004
Posts:
39
Plugin Contributions:
0

Re: MultiSite Module Support Thread

The

stav:

In the main_page=specials, main_page=products_new, main_page=featured_products the filtering provided in the includes/modules/ new_products.php , featured_products.php, specials_index.php don't working.

Should be

In the main_page=products_new, main_page=products_all, main_page=specials, main_page=featured_products the filtering provided in the includes/modules/pages/product_new/header_php.php , includes/modules/pages/products_all/header_php.php, includes/modules/pages/special/main_template_vars.php, includes/modules/pages/featured_products/header_php.php don't working.

3 Aug 2007, 7:53 AM
#155
gerome avatar

gerome

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

Re: MultiSite Module Support Thread

stav:

The

Should be

In the main_page=products_new, main_page=products_all, main_page=specials, main_page=featured_products the filtering provided in the includes/modules/pages/product_new/header_php.php , includes/modules/pages/products_all/header_php.php, includes/modules/pages/special/main_template_vars.php, includes/modules/pages/featured_products/header_php.php don't working.

Do you have multiple languages ?

3 Aug 2007, 9:50 AM
#156
stav avatar

stav

New Zenner

Join Date:
Oct 2004
Posts:
39
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Gerome:

Do you have multiple languages ?

Yeas I have two languages

3 Aug 2007, 9:54 AM
#157
gerome avatar

gerome

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

Re: MultiSite Module Support Thread

stav:

Yeas I have two languages

This is why the categories doesn't filter properly.

I have to review the queries in order to make it work with more than one language... I will hopefully have time to do that this week-end ...

3 Aug 2007, 10:00 AM
#158
stav avatar

stav

New Zenner

Join Date:
Oct 2004
Posts:
39
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Gerome:

This is why the categories doesn't filter properly.

I have to review the queries in order to make it work with more than one language... I will hopefully have time to do that this week-end ...

Ok Thank you very much :)

3 Aug 2007, 12:53 PM
#159
lina0962 avatar

lina0962

Zen Follower

Join Date:
Jun 2006
Posts:
403
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hello, Gerome:

My two sites are https://www.loveinrose.com, and https://www.wholesale.loveinrose.com

After I followed your instructions to install multisite module, all the sideboxes disappeared. And I went to admin->tool->template selection and choose the right template for https://www.loveinrose.com (by the way, the template for loverinrose.com is "loveinrose", and I ranamed every other folder too), and then went to "layout Boxes Controller" and turned on a number of sideboxes.

But still no sidebox showed up in the https://www.loveinrose.com

Did I miss anything?

Lina

3 Aug 2007, 3:44 PM
#160
gerome avatar

gerome

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

Re: MultiSite Module Support Thread

lina0962:

Hello, Gerome:

My two sites are www.loveinrose.com, and www.wholesale.loveinrose.com

After I followed your instructions to install multisite module, all the sideboxes disappeared. And I went to admin->tool->template selection and choose the right template for www.loveinrose.com (by the way, the template for loverinrose.com is "loveinrose", and I ranamed every other folder too), and then went to "layout Boxes Controller" and turned on a number of sideboxes.

But still no sidebox showed up in the www.loveinrose.com

Did I miss anything?

Lina
have you been into: Tools -> Layout Boxes Controller ?
I can see two sideboxes in your site (categories and search..)

basically the sideboxes setting is independant for each site. When you add a new site, you have to set the sidebox for this new site.