Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is there a way to adjust the layout of the Mail Logger display so that it fits with the Garland fluid width theme?
Also is there a way to organize the log in descending time order or another sort order as required?
Thanks,
Izzy
Comment | File | Size | Author |
---|---|---|---|
#2 | mail_logger.patch | 1.95 KB | Paul Lomax |
Comments
Comment #1
litwol CreditAttribution: litwol commentedChange the css file that comes with mail logger as needed to fit your theme.
to change order by mails by date just click on that column table header.
Comment #2
Paul Lomax CreditAttribution: Paul Lomax commentedI found that HTML emails were getting very garbled, to the point it was destroying the page layout of the email AND the site, because the sites css was effecting it.
I created a patch, its probably not bulletproof but it does the job. It puts the email preview into an iframe to prevent it from inheriting any of the themes styles or scripts.
Because this patch is aimed at people who want to use HTML emails, I had to remove the lb2br function, because this was causing them to render badly. So any text emails will most likely be missing carriage returns.
(Apologies if this patch doesn't work for you, its my first attempt! The changes aren't huge so you can probably work them out from the patch file)
Credit goes to lor3 for figuring out the JS!
Comment #3
litwol CreditAttribution: litwol commentedno JS please.
Comment #4
Paul Lomax CreditAttribution: Paul Lomax commentedWhy no JS?
Comment #5
NancyDru