User tests: Successful: Unsuccessful:
Pull Request for Issue #21329.
This is an alternative to Rosie-Eagle#1 and #21948.
This fixes the issue of module positions and modules with titles containing special regular expression characters not being loaded.
Note, the use of }
hasn't been fixed.
Copied from #21329 by franz-wohlkoenig:
{loadmodule mod_custom, Some math: 1 + 1 = 2}
Notice "{loadmodule mod_custom, Some math: 1 + 1 = 2}" not beeing replaced by the actual rendering of the module you created at steps 3 to 5. The text "{loadmodule mod_custom, Some math: 1 + 1 = 2}" is still there as if it were untouched.
No.
Status | New | ⇒ | Pending |
Category | ⇒ | Front End Plugins |
Title |
|
Labels |
Removed:
J3 Issue
|
There's an error in testing instructions. The shortcode should contain module name, not just title. So, for example, {loadmodule Some math: 1 + 1 = 2}
should become {loadmodule mod_login,Some math: 1 + 1 = 2}
.
I have tested this item
wouldn't it be easier to use preg_quote?
This was meant to be faster but now I'm wondering whether we need to use utf8 string functions from Joomla\String\StringHelper
here.
Title |
|
No need to use utf8 functions. Works fine like this.
I have tested this item
@franz-wohlkoenig Please test latest commit.
Status | Pending | ⇒ | Ready to Commit |
RTC as previous test still good (latest commits include only branch updates).
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-01-22 21:47:27 |
Closed_By | ⇒ | HLeithner | |
Labels |
Added:
?
|
Thanks
I have tested this item? unsuccessfully on 61ff38b
Module isn't rendered also by using this PR.
Note: Append a Module by click on "Module"-Button load it by ID, so this Problem didn't exist.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22034.