Jump to content

remove default logo on selected e-mails?


Nnyan

Recommended Posts

Hello,

 

I have a custom coded welcome e-mail (and a few others) and I want to use the logo that was made with that custom template. I still want to use the default logo (as defined in the general settings area) for various other e-mails (confirmation e-mails and such).

 

any way for me to do this?

Link to comment
Share on other sites

  • 4 weeks later...

I just did a test case in switching out the logo based on custom fields, e.g.

 

if ($clientsdetails["customfields1"]=="Something")
$pdf->Image(ROOTDIR.'/images/logo2.gif',20,25);
else
$pdf->Image(ROOTDIR.'/images/logo.jpg',10,10);

 

This was very helpful to me!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated