Closed fatcrobat closed 7 years ago
Unfortunately, we can't just change the namespace, because that would break the API. Interesting that this even works in Contao 3.5… because the same class exists there as well.
@Toflar aren't you using this extension in your Contao 4 project(s)?
Yes, no problems so far.
@aschempp This can be closed, registered a hook with $GLOBALS['TL_HOOKS']['replaceInsertTags']
and ran within root namespace as well. Then the contao class loader took my class instead of your Inserttag
class. Still strange, but now working for me.
Hi there,
i know this module is not actively maintained, but still very helpful within contao 4. If the module is not running in its own namespace within contao 4, i get the following error:
Was there any reason why not running in a custom namespace, or old php days?
Can you please merge this pull request?