So i got main site working but add on domain asdfasdflkh.mysitename.com does not work.
Any ideas?
Printable View
Hi guys,
I ve tried several times but without success to install this module.
Reading all the posts , most of us have the same problem with taking control of the template and the layout sideboxes after the installations.
My website is : megatradecenter.com
subdomains are :
-shop1.megatradecenter.com
-shop2.megatradecenter.com
I was following all the instructions and complete the installations hoping at the end I would get my template back.
the main website and the subdomains have them templates.
The add files and modify files have been changed following the instructions . The subdomains are pointing the main domain.
When in the admin I chande the template i don't see any results , just the layout boxes configuration change ( BUT just in the admin).
I can't see any changes in the website !!! The template is still the yellow one of the multisite installation.
My zencart is totally a fresh installation. I Can't understand .
If someone has the folder with just the basic zencart installation and the multisite module added , it could be wonderful .
I appreaciate as well for any help. Help please I'm stuck in!!!
Thanks in advance!!
Saludos
Are you redirecting your subdomains to your top domain? I don't think you can do a redirect on subdomains and still use this module. If I'm not mistaking, you ibstalled zc in your top level domain and now you're simply redirecting your subdomains to your top level domain, right?
Try this:
setup your subdomain shop1 to have zencart installed. After that, create subdomain site2 from your hosting cpanel and point it to shop1. (Or you can use your top level domain instead of shop1, just change settings accordingly). In my case, it says "document root" in cpanel.
After you've done this, setup your config_sites as written in the instructions. It should work.
[QUOTE=balihr;822482]Are you redirecting your subdomains to your top domain? I don't think you can do a redirect on subdomains and still use this module. If I'm not mistaking, you ibstalled zc in your top level domain and now you're simply redirecting your subdomains to your top level domain, right?
Thanks for your quick answer!
You are right! My target is to do that!
Anyway I'm trying in this oher way just to understand what I'm doing wrong.
I tell you when I've tried.
Cheers!
[QUOTE=riky;822535][QUOTE=balihr;822482]
I got confused again on templates and domains.
I install zencart on shop1.megatradecenter.com then i add the multisite module.
Created shop2.megatradecenter.com and directed to shop1.megatradecenter.com,
which files should i load on shop.2?
I shouldn't install zencart and multisite module on shop2, isn't it?
Where does shop1 is directing?
I DON'T GET IT! :frusty:
Thanks !
You don't need ANY files in your site2 subdomain! Are you using linux hosting? Do you have a cpanel? If so, when you create a new subdomain, it asks you for a directory root. Just write shop1 name instead of shop2 and that's it. No redirections!
You can see my cpanel screenshot in the attached pics. Pic1 is creating a regular subdomain and pic2 is what you need to do so that shop2 "pulls" data from shop1.
Then, go to your includes/config_sites folder and create shop1.megatradecenter.com_config.php and shop2.megatradecenter.com_config.php
Under shop1_config, put your first template name, something like this:
Change your_template_1 to the one you're using.Code:<?php
$template_dir = "your_template_1";
define('SITE_NAME','site1');
define('HTTP_SERVER', 'http://shop1.megatradecenter.com');
define('STORE_NAME','Shop1_name'); //Store Name
?>
Do the same for shop2_config, something like this:
When finished, it should work.Code:<?php
$template_dir = "your_template_2";
define('SITE_NAME','site2');
define('HTTP_SERVER', 'http://shop2.megatradecenter.com');
define('STORE_NAME','Shop2_name'); //Store Name
?>
You are very helpful Thanks.
I ve followed your instructions and everything seems much rational .
But I still have the same problem with the admin , I have still this template changehttp://shop1.megatradecenter.com/ .
First I ve override the "MODIFY FILES" of group1 and gorup2 how Gerome said. I have probably miss something.
In the admin in the template section i see my templates in combination with de deafault language but I don't see them on the website.
As well I ve tried to add a new language but no results.
Where is coming from this template?
Many Thanks