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,870

Results 1,841 to 1,860 of 2,247
18 Oct 2013, 6:57 PM
#1841
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

MultiSite Module Support Thread

lidlchris:

turns out i was missing the final ?> at the end of the config file.. :) strange thing about the slow time though - can't figure that one out.

Glad it worked for you, but the closing ?> is not necessary. None of my site config files contain the ?> tag, so the cause is probably something else.

18 Oct 2013, 7:20 PM
#1842
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Design75:

Glad it worked for you, but the closing ?> is not necessary. None of my site config files contain the ?> tag, so the cause is probably something else.

really??? don't the have the <?php at the beginning??? all mine do.. without the closing tag, not sure how it could work.. unless you don't need the php tags at all?

18 Oct 2013, 10:50 PM
#1844
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Design75:

I think you misunderstood me. You NEED the opening tag (<?php) in a file , but not the the last closing tag (?>)

ok now that has me concerned.. because when i take out the closing ?>, the entire config file displays on my website at the top.. but when i add it back in, the site work ok.. and the opening <?php is at the top of the config file in both these scenarios..

20 Oct 2013, 8:24 AM
#1845
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: MultiSite Module Support Thread

Can you post the contents of the config files (site_config and the original configure) files? Without the user sensitive information like passwords etc.

20 Oct 2013, 4:14 PM
#1846
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Design75:

Can you post the contents of the config files (site_config and the original configure) files? Without the user sensitive information like passwords etc.

not sure why that would matter.. like i said if i have the opening <?php statement, i need the closing ?> otherwise the entire file shows up in text form on my website.. i remove the closing ?> and the site breaks.. i add it back in and it works great..

22 Oct 2013, 6:35 PM
#1847
twi avatar

twi

Zen Follower

Join Date:
Aug 2007
Posts:
277
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Does anyone have any success in verifying a google merchant url when multisite is installed? Any hints and pointers anyone?

29 Oct 2013, 3:52 PM
#1848
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,455
Plugin Contributions:
4

Re: MultiSite Module Support Thread

Hi, I looked for answers here on how to manage the banners with multisite without success. Some workarounds are way too difficult. This is an easy way of doing it that worked for me:

On the site's *config files that you want the banner to appear you are going to insert this:

define('SHOW_BANNERS_GROUP_SET1','BannerGroupName'); //Banner Display Groups - Header Position 1

You can look for the define setting on your MultisiteTools > Display Configuration page.

On the site's *config files that you DON'T want the banner to appear, you are going to insert this:

define('SHOW_BANNERS_GROUP_SET1',''); //Banner Display Groups - Header Position 1

As you can see you just leave in blank the group to be displayed, that way that site won't display that banner.

Hope that helps! :smartalec:

IDEASLady
IDEAS Creative Studio

Your image... our business!

4 Nov 2013, 9:09 PM
#1849
desmat avatar

desmat

New Zenner

Join Date:
Sep 2009
Posts:
23
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hi, don't know whether this is the right place for my query,

Ihave installed 4 sites using multisite, Facing sessions problem, only on the main site, sometimes the main site sessions just vanish, and regardless how many times I login, the moment I press checkout button, I am again sent back to the login page.

23 Nov 2013, 6:45 PM
#1850
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: MultiSite Module Support Thread

crazy problem this time... have this module working fine for months now with 7 'sub sites'.. added a new one and i'm testing it and coming up with this problem:

the canonical url is getting put into the coding as the wrong URL.. the site is swordsofhonor.net and if you view source, the canonical url is coming up as http://www.swordsofhonor.net/medieval-clothing.html.. have no idea why it's adding the medieval-clothing.html at the end?? here is the coding in the template that produces that:

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>" /> <?php if (isset($canonicalLink) && $canonicalLink != '') { ?> <link rel="canonical" href="<?php echo $canonicalLink; ?>" /> <?php } ?>

any ideas?

23 Nov 2013, 6:56 PM
#1851
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: MultiSite Module Support Thread

lidlchris:

crazy problem this time... have this module working fine for months now with 7 'sub sites'.. added a new one and i'm testing it and coming up with this problem:

the canonical url is getting put into the coding as the wrong URL.. the site is swordsofhonor.net and if you view source, the canonical url is coming up as http://www.swordsofhonor.net/medieval-clothing.html.. have no idea why it's adding the medieval-clothing.html at the end?? here is the coding in the template that produces that:

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>" /> <?php if (isset($canonicalLink) && $canonicalLink != '') { ?> <link rel="canonical" href="<?php echo $canonicalLink; ?>" /> <?php } ?>

any ideas?

and here's the coding for that site in the config_sites.php file:

<?php /* define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); */ $template_dir = "responsive_sheffield_blue"; define('SITE_NAME','Swords of Honor Net'); define('HTTP_SERVER', 'http://www.swordsofhonor.net'); define('HTTPS_SERVER', 'http://www.swordsofhonor.net');
24 Nov 2013, 9:35 AM
#1852
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: MultiSite Module Support Thread

This is not a problem with the multi site module, but with your SEO module.
If you hover your mouse over over the Medieval Clothing-> link in the side bar you will see that the actual link is to http://www.swordsofhonor.net/medieval-clothing.html.

24 Nov 2013, 8:01 PM
#1853
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Design75:

This is not a problem with the multi site module, but with your SEO module.
If you hover your mouse over over the Medieval Clothing-> link in the side bar you will see that the actual link is to http://www.swordsofhonor.net/medieval-clothing.html.

why that link??? if you hover over other links, they show something different. not sure why you are saying it's with the seo module.. i use the CEON_URI_MAPPING module to rename the URL's but that's working fine with other sub sites.. why would it pull that particular link and use it as the canonical url? in fact, i just removed that link and it still uses it as the canonical..

27 Nov 2013, 9:20 PM
#1854
rainbow_pixie_star avatar

rainbow_pixie_star

Zen Follower

Join Date:
Feb 2012
Posts:
427
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hi,
I have got to this part of the install and was not too sure if I was understanding it correctly...

So, if your sites are called https://www.site1.com and https://www.site2.net Then your should rename your template to site1 and site2.
The file includes/templates/site1/template_info.php should have the line:
view plaincopy to clipboardprint?

$template_name = 'site1';

The file includes/templates/site2/template_info.php should have the line:
view plaincopy to clipboardprint?

$template_name = 'site1';

Should the text above that says site 1 not say site 2 as it says site two above that?

Also. Am I making 2 copies of my template as I want two different sites extra to my main one?

I am not too sure what to do. Due to being half way through this, my site is now offline. I am worried that If I cannot do it that my site will be offline for a while. Tried to re upload my old site and now it is stuck in this current position... craftjam.co.uk

Is anyone able to help me as i am really lost and not sure what to do. If not I think I am going to have to pay someone to do this for me.

Thank you
Ay

12 Dec 2013, 6:50 PM
#1855
ken0306 avatar

ken0306

New Zenner

Join Date:
May 2010
Posts:
7
Plugin Contributions:
0

Re: MultiSite Module Support Thread

are you using the same template for both sites? if yes, you will have to share same configurations under your zen cart admin. So if you want to using same template for both website and be able to configure each site individually, you will have to duplicate your template and rename them.

12 Dec 2013, 6:53 PM
#1856
ken0306 avatar

ken0306

New Zenner

Join Date:
May 2010
Posts:
7
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hi, has anyone make this addon be able to share product images? can anyone point me to the right direction?
thank you

12 Dec 2013, 7:09 PM
#1857
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: MultiSite Module Support Thread

ken0306:

Hi, has anyone make this addon be able to share product images? can anyone point me to the right direction?
thank you

I do not understand your question, can you elaborate?

12 Dec 2013, 9:04 PM
#1858
ken0306 avatar

ken0306

New Zenner

Join Date:
May 2010
Posts:
7
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Design75:

I do not understand your question, can you elaborate?

I thinking about using one images using under difference website. So, when I update my may website, my sub store also adding the images to the product pages.

For example

Main store upload product AAA
images a.jpg, a_MED.jpg a_LRG.jpg upload to images folder.

as the same time, product AAA shows in sub store ABC with images. I looking for the way to share the images that listing under Main store images folder.

So, I was trying to change the configure.php define('DIR_WS_IMAGES', 'images/'); to define('DIR_WS_IMAGES', 'http://www.MAINSTORE.com/images/');

This will bring up the small images, but only small images.

I would like to know if there is a way to bring up multiple images with large and med size. If there is a way to do it, we will be able to host your images under difference server to allow difference website to share it.

19 Jan 2014, 7:36 AM
#1859
kevinman4404 avatar

kevinman4404

New Zenner

Join Date:
Jul 2013
Posts:
8
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hi, I have what should be an easy installation question:

I have the site canadabassoonpublishing.ca and subdomain m.canadabassoonpublishing.ca.
The two templates are called full and mobile. So all the template folders are named that, and this is reflected in their respective template_info.php.

Here is the canadabassoonpublishing.ca_config.php for the main domain:

<?php $template_dir = "full"; define('SITE_NAME','full'); define('HTTP_SERVER', 'canadabassoonpublishing.ca); ?>

And m.canadabassoonpublishing.ca_config.php:

<?php $template_dir = "mobile"; define('SITE_NAME','mobile'); define('HTTP_SERVER', 'm.canadabassoonpublishing.ca'); ?>

The server in includes/configure.php is written as: canadabassoonpublishing.ca.

The problem is that it ignores the templates and just puts the default "classic" one. What might be the problem?
thanks
Kevin

19 Jan 2014, 12:15 PM
#1860
kevinman4404 avatar

kevinman4404

New Zenner

Join Date:
Jul 2013
Posts:
8
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Sorry- it turns out the configure.php had not been successfully transferred onto my server. Working now!