Can anyone help me solve a mystery?
I am building a new site using Egg 3.3. I have Jerome Baker's Html_Email_Handler plugin (5.1) installed. Everything works great on all notifications, except when I upload a file. When the email notification is viewed on a mobile device it shows a portion of the html code for the link in the email:
rel="nofollow" style="text-decoration: none; color: #4682B4;">
But, on a mobile device it doesn't apply the color or text-decoration instructions. When viewed on a desktop browser the attributes are applied as they should be. I have searched the site for the color instructions and can't find any code that has any errors.
Any ideas where to even look? Is this a problem with my css changes to the plugin or a problem with the file handling? It doesn't happen on all email notifications. Any ideas? Thanks for any help!
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Try temporarily disabling these changes, clean the caches and check again.
It may be caused by your mobile browser or mail client.
You can add your own custom styles for links.
In start.php or Bootstrap class:
In my_plugin/styles.css:
You can use this skeleton plugin (Elgg 3).
Learn more.
Thank you. I'll see if that helps.
Thank you Nikolai Shcherbin but that didn't seem to help. On the mobile device it is actually leaving off:
From the string and tag "View and comment on the file" <br><a rel.... It then inserts the full URL in quotes and puts this after it:
Then leaves off:
And the URL, but picks up with:
And then writes out the URL as a link but doesn't show the ending </a> tag.
I am definitely a newbie, but this seems like some error in the php that puts together the notification code for emails about file uploads. It doesn't do it on other notifications. It's very strange. I looked at some emails that were sent out before I tweaked the CSS and it did the same thing. That seems to be a problem with either plugins or core files.
As a side note, these emails all take much longer to go through than any others.
As a side note, these emails all take much longer to go through than any others.
As a side note, these emails all take much longer to go through than any others.
I don't think Elgg core is the reason of this issue because Html email handler plugin works fine on all our sites (Elgg 3.3.23).
(By the way, I highly recommend to upgrade your app to the latest Elgg version).
Try to disable all 3rd party activated plugins except Html email handler plugin, clean the caches and check out an issue again.
Enable these 3rd party plugins one-by-one to find the problem plugin.
Another question is where did you download this plugin?
I'll try that. Thanks.
I think I got it from Jerome Baker's page for the plugin. I'll reload it and try again. Thanks.
This is the correct link if you mean this https://elgg.org/plugins/709492
- Previous
- 1
- 2
- Next
You must log in to post replies.