@ALL,
again trying to get things to work. First, I took everything out of the categories descriptions column except for the html comment. Then, set up the config_sites folders thusly:
----------------------------
ZEN APP is in folder --> mydomain.com/folder/shop
ALL PRODUCTS AND CATS (crafts, foods and books) ARE IN THIS SITE
CONFIG FILES 1-2
mydomain.com_config.php, www.mydomain.com_config.php
CONFIG FILES 3-4 / JUST CRAFTS IN THIS SITECode:<?php define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); $template_dir = "mihluna"; define('SITE_NAME','FAIR'); define('HTTP_SERVER', 'http://www.mydomain.com/folder/shop'); define('HTTPS_SERVER', 'https://www.mydomain.com/folder/shop'); define('CATEGORIES_ROOT','0'); //root categories is 0 for this site ?>
crafts.mydomain.com_config.php, www.crafts.mydomain.com_config.php
CONFIG FILES 5-6 / only FOOD HERECode:<?php define('SITE_NAME','CRAFTS'); define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); $template_dir = "CRAFTS_mihluna"; define('CATEGORIES_ROOT','3'); //root categories is 3 for this site ?>
foods.mydomain.com_config.php, www.foods.mydomain.com_config.php
CONFIG FILES 7-8 / just BOOKS IN HERECode:<?php define('SITE_NAME','FOODS'); define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); $template_dir = "FOODS_mihluna"; define('CATEGORIES_ROOT','2'); //root categories is 2 for this site ?>
books.mydomain.com_config.php, www.books.mydomain.com_config.php
Now, what is happening is that we have the main mihluna template showing up. have activated the site_links.php file and activated the sidebar box in all the templates.Code:<?php define('SITE_NAME','BOOKS'); define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); $template_dir = "BOOKS_mihluna"; define('CATEGORIES_ROOT','1'); //root categories is 1 for this site ?>
changed the header of the 3 other templates so that I could see if it was loading the different site template, but it is not. What am I missing here?
TIA
Gargi



Reply With Quote

I'm not bahlir, i'm balihr - just put a dot before h and you got my domain...
onwards and upwards...
Whee!!! Now we can do it again...
G

