Page 69 of 224 FirstFirst ... 1959676869707179119169 ... LastLast
Results 681 to 690 of 2240
  1. #681
    Join Date
    Dec 2008
    Location
    Cypress, Texas
    Posts
    4
    Plugin Contributions
    0

    Default 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.

  2. #682
    Join Date
    Mar 2006
    Location
    Melbourne, Australia
    Posts
    377
    Plugin Contributions
    0

    Default 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?

  3. #683
    Join Date
    Mar 2006
    Location
    Melbourne, Australia
    Posts
    377
    Plugin Contributions
    0

    Default 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?

  4. #684
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Have a Drink 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.

    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 ><>
    Newest Site: ChargerPros - Stuff4Toys

  5. #685
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Have a Drink 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 ><>
    Newest Site: ChargerPros - Stuff4Toys

  6. #686
    Join Date
    May 2007
    Posts
    99
    Plugin Contributions
    0

    Default 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');

  7. #687
    Join Date
    May 2007
    Posts
    99
    Plugin Contributions
    0

    Default 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
    Last edited by cablesimple; 20 Jan 2009 at 04:12 PM.

  8. #688
    Join Date
    Jan 2009
    Posts
    55
    Plugin Contributions
    0

    Default 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

  9. #689
    Join Date
    May 2007
    Posts
    99
    Plugin Contributions
    0

    Default 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

  10. #690
    Join Date
    Jan 2009
    Posts
    55
    Plugin Contributions
    0

    Default

    Quote Originally Posted by cablesimple View Post
    Doddsey_65,
    Sounds to me like you didn't create a includes/config_sites/[config_file] for the domain your trying to reach
    I have a site1_config and site2_config and they have in them the $template_dir SITE_NAME HTTP_SERVER HTTPS_SERVER CATEGORIES_ROOT.
    Posted via Mobile Device

 

 

Similar Threads

  1. v154 WorldPay Module version 3.0 - Support thread
    By countrycharm in forum Addon Payment Modules
    Replies: 115
    Last Post: 20 Jul 2021, 04:00 PM
  2. Bambora/Beanstream Payment Module Support Thread
    By swguy in forum Addon Payment Modules
    Replies: 127
    Last Post: 26 Mar 2021, 04:13 PM
  3. WorldPay Module version 2.0 - Support thread
    By philip_clarke in forum Addon Payment Modules
    Replies: 729
    Last Post: 4 Nov 2017, 08:23 AM
  4. PC Configurator Module [Support Thread]
    By lebrand2006 in forum All Other Contributions/Addons
    Replies: 254
    Last Post: 22 Aug 2012, 03:52 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR