Re: MultiSite Module Support Thread
I have it installed now but when i try to define language and currency its's not working can anyone help me out
Here is the define for the language and currency in the config file
define('LANGUAGE_CURRENCY', 'SEK');
define('LANGUAGE_DEFAULT_SELECTOR','se'); //Language Selector
define('LANGUAGE_CURRENCY', 'USD');
define('LANGUAGE_DEFAULT_SELECTOR','en'); //Language Selector
is that right or?
Re: MultiSite Module Support Thread
anyone know where teh new location for the instructions might be?
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
johnniejetski
anyone know where teh new location for the instructions might be?
both instructions are in the file that you download from free addons
one is a pdf file and the other is a text file you need to read these instructions carefully (remember this module dosnt merge easy with v1.5)
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
Gerome
.... 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.
Has anyone managed to use banners with Multisite?
I've tried using the SITE_NAME constant in both the banner name and html desc. and added the 'Execute(cat_filter' in /includes/functions/banner.php - no luck.
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
Robbie_79
In your database, add a column to your ORDERS table called SITE_NAME. (varchar 32, NULL by default will do fine)
In the orders class, AFTER the $sql_data_array array, add:
PHP Code:
//Multisite Module - Add the order_site in the order table
$sql_data_array['order_site']=ORDER_SITE;
//eof Multisite Module
Perhaps you can help me with the problems I have with multisite and ultimate seo?
You mentioned something about making edits to the htaccess?
Hi Guys!
I'm having troubles viewing where an order comes from via the admin panel. I was directed to check out post 1351 (above) and have since added the column SITE_NAME to my database.
However, I'm not sure where to put the code in the includes/classes/order.php file, as there are 19 instances of '$sql_data_array'.
I'm running Zen Cart version 1.3.9h, with the latest version of the Multi Site module.
If anybody knows how to do this exactly, I'd love some help. Thanks!
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
simon1066
Has anyone managed to use banners with Multisite?
I've tried using the SITE_NAME constant in both the banner name and html desc. and added the 'Execute(cat_filter' in /includes/functions/banner.php - no luck.
I'm currently using Multisite and banners on my sites. I created extra banner groups in order to have separate banners for each site.
This post may be helpful:
http://www.zen-cart.com/forum/showthread.php?t=43735
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
tracey
Hi Guys!
I'm having troubles viewing where an order comes from via the admin panel. I was directed to check out post 1351 (above) and have since added the column SITE_NAME to my database.
However, I'm not sure where to put the code in the includes/classes/order.php file, as there are 19 instances of '$sql_data_array'.
I'm running Zen Cart version 1.3.9h, with the latest version of the Multi Site module.
If anybody knows how to do this exactly, I'd love some help. Thanks!
tracey, in the readme I found this:
Code:
#######################################
### FILE includes/classes/order.php ###
#######################################
Line 613:
'ip_address' => $_SESSION['customers_ip_address'] . ' - ' . $_SERVER['REMOTE_ADDR']
);
Replace by:
'ip_address' => $_SESSION['customers_ip_address'] . ' - ' . $_SERVER['REMOTE_ADDR']
);
//Multisite Module - Add the order_site in the order table
$sql_data_array['order_site']=ORDER_SITE;
//eof Multisite Module
In my setup, the //Multisite... lines are on #645 - I'm running Zen v1.50
Thanks for this, I'll take a look at it. At first glance I'm not sure if it applies as I'm using a single template for all my sites. Perhaps it'll be clearer to me in the cold light of day.
Simon
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
johnniejetski
anyone know where teh new location for the instructions might be?
The instructions are found here
http://www.thisdomain.net/dev/
Re: MultiSite Module Support Thread
Hi Guys,
Just to add my experience on making Best Sellers Page(by yellow1912) add on to support multisite module.
It is very simple, just add in the cat_filter will do.
File to edit
/includes/module/pages/best_sellers/header_php.php
Line 38
From:
$listing_sql = $db->bindVars($listing_sql, ':languageID', $_SESSION['languages_id'], 'integer');
To:
$listing_sql = $db->bindVars(cat_filter($listing_sql), ':languageID', $_SESSION['languages_id'], 'integer');
Hope this helps.
Re: MultiSite Module Support Thread
I have created a template in /includes/templates directory called MYCUSTOM. So the directory path is /includes/templates/MYCUSTOM
In the Admin area, I clicked Tools>Layout Boxes Controller. The screen shows the Boxes Path as /includes/modules/ …
I am not going to reset it to default.
After making changes to the LEFT/RIGHT COLUMN Status, LEFT/RIGHT Column, LEFT/RIGHT COLUMN Sort Order, SINGLE COLUMN Sort Order and SINGLE COLUMN Status for all the box file names, what steps should I take next in order to retain the settings when there is an upgrading of the software.
Currently I am using v1.3.9h.
I appreciate the response. Thanks.