| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Newsletter Bug Fix / Mod | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Newsletter Bug Fix / Mod
This is really a bug fix with a mod.
The newsletter sends out the text mail templates regardless if you select it to send as a html email. Thats the bug .... now the mod bit The ability to send a newsletter with a header AS WELL as a signature. add a template called newsletter_header.tpl in /skin1/mail/html/ and put whatever header you want in it ... your signature bit (footer) is in /skin1/mail/html/newsletter_signature.tpl update that as well, to match your design. now for the code change ... in /xcart/admin/newsletter_modify.php change Code:
Code:
If you use the internal PHP mailer .. change the following ... Code:
Code:
If you don't use the internal PHP mailer .. change the following Code:
Code:
I recommend you change all the file regardless of which system you use.
__________________
Darren Kierman Carlisle Glass (http://www.carlisleglass.co.uk/) ... running X-Cart Gold 4.4.5 [unix] |
|||||||||
#2
|
|||||||
|
|||||||
Not sure what version that was for but I couldn't find those particular files in 4.0.16. However, it was enough to get me started and I eventually got it working as follows:
Add a template called newsletter_header.tpl in /skin1/mail/html/ (I just cloned my mail_header.tpl as I wanted it basically the same) Then open modules/news management/news_send.php and edit the following: Add Code:
just before Code:
And then add Code:
just before Code:
Add Code:
before Code:
and lastly, change Code:
to Code:
___________________ X-Cart Gold v. 4.0.16 |
|||||||
#3
|
|||||||||
|
|||||||||
Hi Extreme,
I dont remember which version this coding was for either - I wrote that post 2 years ago. Think i coded it when i was using v3 of xcart.
__________________
Darren Kierman Carlisle Glass (http://www.carlisleglass.co.uk/) ... running X-Cart Gold 4.4.5 [unix] |
|||||||||
|
|
|||
X-Cart forums © 2001-2020
|