Page 84 of 224 FirstFirst ... 3474828384858694134184 ... LastLast
Results 831 to 840 of 2240
  1. #831
    Join Date
    Nov 2008
    Posts
    53
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    Still having problems with the email header.

    I have 2 sites, and what to use separte email headings.

    The override of the store logo for email isn't woring.
    -------------------------------------
    Originally Posted by cablesimple
    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');

    ----------------------

    So i tryed to replace this in email\email_template_checkout.html

    <!-- Header Section -->
    <div class="header">
    <img src="email/header.jpg" alt="logo" />
    </div>
    -------

    in this

    <!-- Header Section -->
    <div class="header">
    <img src="EMAIL_HEADER_IMAGE" alt="logo" /></div>

    but it's not working, is email_header_image defined in the admin ?

    Has someone a clue ?


  2. #832
    Join Date
    Nov 2008
    Posts
    53
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    Can't believe no one has the same problem !

    Did nobody use the email template override ?
    our are you'll on vacation !!

    Need some help here.....

  3. #833
    Join Date
    May 2007
    Posts
    99
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    Karimm,
    Being on vacation implies that someone actually works here. This is community support that is provided on users' free time. Nobody is required to answer your question. I suggest you consider that next time you get aggravated about a problem.

    What you posted will never work because it's syntactically incorrect:

    try this:
    PHP Code:
    <!-- Header Section -->
      <div class="header">
    <img src="<?php echo EMAIL_HEADER_IMAGE?>" alt="logo" /></div>

  4. #834
    Join Date
    Nov 2008
    Posts
    53
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    Sorry cablesimple / everybody,

    Didn't mean to offent anyone, i'am from holland and it's holiday time over here. was just thinking maybe the're is holiday every where and every one's on vacation, but that's stupid

    I appreciate you help, i have been search the forum for 2 days now and read all the post on this thread. without success.

    when i use you last post, this is what the source of the email says

    <div class="header">
    <img src="http://www.mydomain.com/<?php echo EMAIL_HEADER_IMAGE; ?>" alt="logo" /></div>
    </div>

    it this because the template is a html file instead of a php file so it isn't been processed by the php engine ? i guest i can't rename it just to email_template_checkout.php, can I ?

    Regards,

  5. #835
    Join Date
    May 2007
    Posts
    99
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    Oh yeah. I wasn't even paying attention to where you were putting it. Your right, the email templates are not parsed by PHP.

    The variable format in these email templates is this:
    HTML Code:
      <div class="header">
      <img src="$EMAIL_HEADER_IMAGE" alt="logo" />
      </div>

  6. #836
    Join Date
    Nov 2008
    Posts
    53
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    I already tryed that.

    This is the sourch of the email.

    <div class="header">
    <img src="http://www.mydomain.com/$EMAIL_HEADER_IMAGE" alt="logo" />
    </div>

    any ideas ? the rest of the url that should point to the template\image folder doesn't show up.

    it's defined in the domain_config file.

    define('EMAIL_HEADER_IMAGE','includes/templates/'. $template_dir. '/images/email_header.gif');

    thanks

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

    Default Re: MultiSite Module Support Thread

    Well the template is right, focus on the define statement or your config file.


    So you have that define statement in a file like:
    includes/config_sites/www.mydomain.com_config.php

    If so then I would start testing my config file to make sure it's being read properly.

  8. #838
    Join Date
    Nov 2008
    Posts
    53
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    yes i have the statement in the file

    includes/config_sites/www.mydomain.com_config.php

    i also have a few overrides and they jsut work fine.

    STORE_OWNER_EMAIL_ADDRESS','[email protected]');
    EMAIL_FROM','[email protected]');
    define('CONTACT_US_LIST','contact1,contact2,...');

    also the domain and site url's are working fine, exept for the email template override

    define('EMAIL_HEADER_IMAGE','includes/templates/'. $template_dir. '/images/email_header.gif');


    i am lost !

  9. #839
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,360
    Plugin Contributions
    23

    Default Re: MultiSite Module Support Thread

    I have installed this on a modified cart and then on fresh zen install. For some reason I cannot get the categories to show either place. I used the admin tool to put the necessary text into the category descriptions but no categories or products will show until I turn off the category filter.

    I even took the sql statement from the cat_filter file and ran it against the database and it didn't show results. Is this mysql 5.25 compatible?

    and yes I read thru most of the postings in this thread and saw no one mentioning this.
    Last edited by delia; 12 Aug 2009 at 08:31 PM. Reason: need to add info
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  10. #840
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,360
    Plugin Contributions
    23

    Default Re: MultiSite Module Support Thread

    Okay, I have to admit my stupidity. Here it goes:

    when putting in the tags to your category descriptions - put in your site names not your template names.

    I hope this helps someone else who has such brain farts!
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

 

 

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