User tests: Successful: Unsuccessful:
Pull Request for Issue #35868.
This PR proposes a solution for issue #35868. Basically, it does 3 things:
Most of the code is copied from the System - Sef plugin https://github.com/joomla/joomla-cms/blob/4.0-dev/plugins/system/sef/sef.php#L106-L134. I think this should be enough for email content.
Images not being displayed, links... are not accessible in the email.
Images are being displayed properly, links... are accessible in the email.
None.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration Libraries |
Labels |
Added:
?
|
@dgrammatiko We don't know if this is supported, and I even unsure where and how we should add that base tag in email content, so I will stay with the current solution.
@dgrammatiko We don't know if this is supported, and I even unsure where and how we should add that base tag in email content, so I will stay with the current solution.
The whole mail thing in Joomla is a huge hack. There should have been a document type email
and then most things could follow the architecture...
I have tested this item
Convert relative URLs (for example, link to an image...) to absolute URLs.
WORK
Show editor buttons in editor so to allow easier insert menu item, article... to HTML mail template.
WORK
Convert none self URLs (for example, link to article.., link to menu item... inserted by editor buttons) to absolute sef urls.
WORK
To add further confirmation:
Convert relative URLs (for example, link to an image...) to absolute URLs.
WORK
Show editor buttons in editor so to allow easier insert menu item, article... to HTML mail template.
WORK
Convert none self URLs (for example, link to article.., link to menu item... inserted by editor buttons) to absolute sef urls.
WORK
Status | Pending | ⇒ | Ready to Commit |
I set the test result for @aftertaf manually. Set this to RTC after 2 successful tests.
I have tested this item
I have tested this item
I have tested this item
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-01-21 22:05:26 |
Closed_By | ⇒ | bembelimen | |
Labels |
Added:
?
|
Thx
@joomdonation out of curiosity injecting a base tag in the head wouldn't be easier
<base href="<?php echo Uri::root(false)" />
?Context: https://www.caniemail.com/ doesn't show which clients support this tag but this issue hteumeuleu/caniemail#199 probably implies that the tag is widely supported
I'm NOT an email expert!!!