User tests: Successful: Unsuccessful:
Pull Request for Issue Closes #31989
Replacement PR for #32714
Prepend templatePath with Uri:root to Ensure templatePath is always absolute and not a broken relative url
See #31989
Visit frontend , click a menu link in the left menu to get to an article
Note that the CASSIOPEIA logo (white text on blue background) is present
In Joomla Admin disable the "System - SEF" plugin
Refresh your article page on the frontend
Note the logo is now a broken image
paths are relative, and therefore image doesn't display when non-SEF mode and not at / (ie. in a sub folder or not on the home page where url contains /index.php/path/to like http://127.0.0.1:4444/index.php/component/users/reset?Itemid=101)
regardless of SEF plugin status, the image and assets loaded from $templatePath load correctly.
none
Status | New | ⇒ | Pending |
Category | ⇒ | Front End Templates (site) |
Title |
|
Labels |
Added:
?
|
I have tested this item
I have tested this item
Tested successfully in Beta8-dev of 24 March in Wampserver 3.2.4 using PHP 8.0.2.
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-03-25 09:34:09 |
Closed_By | ⇒ | drmenzelit | |
Labels |
Added:
?
|
Thanks!
Switched to Joomla API with preceding
/
to make it actually work.