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 ?
:frusty:
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..... :(
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>
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 :huh:
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,
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>
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
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.
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 !
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.
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!