Re: MultiSite Module Support Thread
Thanks, I got the paypal thing worked out.
Is there a DEFINE type command for order confirmation e-mails. I was hoping to have a custom logo at the top of the confirmation e-mails for each site.
My site sends orders to restaurants and I would like the order confirmations to have their Logo.
If not, I guess I can use the generic one for my site that sells them the service.
Thanks for a great mod.
Re: MultiSite Module Support Thread
Getting there, but I have no categories appearing in the categories box. Everything else seems to work though! I have reset the sideboxes, but no effect. I have the site name in every category description. What can I be missing?
Re: MultiSite Module Support Thread
I think I found my problem:
following the instructions provided by loop4ever:
In admin/includes/configure.php, insert the following code at the beginning of the file
$site_name = explode('/', $_SERVER['REQUEST_URI']);
if ($site_name[1] == '' || $site_name[1] == 'primarystorename') {
define('DIR_WS_ADMIN', '/primarystorename/admin/');
define('DIR_WS_CATALOG', '/primarystorename/');
define('DIR_WS_HTTPS_ADMIN', '/primarystorename/admin/');
define('DIR_WS_HTTPS_CATALOG', '/primarystorename/');
define('SITE_NAME', 'primarystorename');
} else {
define('DIR_WS_ADMIN', '/'. $site_name[1] . '/admin/');
define('DIR_WS_CATALOG', '/'. $site_name[1] . '/');
define('DIR_WS_HTTPS_ADMIN', '/' . $site_name[1] . '/admin/');
define('DIR_WS_HTTPS_CATALOG', '/' . $site_name[1] . '/');
define('SITE_NAME', $site_name[1]);
}
unset($site_name);
Does this replace
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/catalog/');
define('CATEGORIES_ROOT','0'); //root categories for multi site
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
define('DIR_WS_PHPBB', '/phpBB2/');
or go above it?
Re: MultiSite Module Support Thread
I am just about to go live with 3 sites on multi-site and just thought about an issue that I have not been able to find an answer for. Perhaps I am using the wrong search keywords, but I have not been able to answer this.
Quote:
What about customized eMail letters, order confirmations and such. How are they handled. Are there separate template files for each domains eMail handling?
I tried searching the Wiki, Tutorials and FAQ to see if the email folder had over-rides, but did not find an answer there either.
I know that Store Name, Owner's Name, Store email, URL, etc; all come from the config files.
What are you using for or how are you defining custom email header graphics for each site?
JOhn ><>
Re: MultiSite Module Support Thread
My test sites don't seem to be picking up the /includes/languages/english/store_template/meta_tags.php
www.liberty-flag.com/ xstore/
www.americasflag.com/ xstore/
I added spaces to the urls so the search engines don't find us.
I get no Title, Description, Keywords - meta tags.
JOhn ><>
Re: MultiSite Module Support Thread
jkovar,
The solution I used for this was to create an email_header.gif (or whatever name you want) in each store's templates/[template_name]/images folder.
Then in the includes/config_sites/[site config file] include this line:
define('EMAIL_HEADER_IMAGE','includes/templates/'. $template_dir. '/images/email_header.gif');
Re: MultiSite Module Support Thread
stuff4Toys,
The override system in ZenCart doesn't apply to the emails as of yet. I've come up with a couple solutions to use store custom graphics and to customize the variables that are used in the emails, but this does not allow you to use your own email template for each store. That being said it wouldn't be too difficult to hack that into the system. In case your interrested in my solutions though:
For the "front-end" emails such as the welcome email, and order confirmation I used the technique I just posted to jkovar.
For the order confirmations it's a bit more tricky. I posted a solution however in post#659 that works well for me.
--------------------------------------
Regarding your second post. I just tested out the meta_tags.php override and it's working fine on my sites. For a test, try setting the HOME_PAGE variables specifically and see if they change your homepage title/description/keywords.
HOME_PAGE_TITLE
HOME_PAGE_META_DESCRIPTION
HOME_PAGE_META_KEYWORDS
Re: MultiSite Module Support Thread
Hi. I tried to install multi site on a fresh install of zencart. When i open my site it says domain local host doesnt exist. What have i done wrong?
Posted via Mobile Device
Re: MultiSite Module Support Thread
Doddsey_65,
Sounds to me like you didn't create a includes/config_sites/[config_file] for the domain your trying to reach