Thomas A.
Hi! I made kind of a workaround, where i overwrite the moduleCache helper method
abstract class ModuleHelper extends _ModuleHelper {
public static function moduleCache($module, $moduleparams, $cacheparams)
and in case of a locked manager, it uses modulemode 1. that works in our case since we dont have any css / js header infos for those modules.
if i would adjust the T3. where would i need to do so. the replace method modulesanywhere seems to come from onAfterRender.
# Function Location
1 () JROOT/libraries/src/WebAsset/WebAssetManager.php:259
2 Joomla\CMS\WebAsset\WebAssetManager->useAsset() JROOT/libraries/src/Document/HtmlDocument.php:403
3 Joomla\CMS\Document\HtmlDocument->mergeHeadData() JROOT/libraries/src/Cache/Cache.php:507
4 Joomla\CMS\Cache\Cache::getWorkarounds() JROOT/libraries/src/Cache/Controller/CallbackController.php:80
5 Joomla\CMS\Cache\Controller\CallbackController->get() JROOT/plugins/system/t3/includes/joomla4/ModuleHelper.php:136
6 Joomla\CMS\Helper\ModuleHelper::moduleCache() JROOT/libraries/src/Document/Renderer/Html/ModuleRenderer.php:93
7 Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render() JROOT/plugins/system/modulesanywhere/src/Replace.php:629
8 RegularLabs\Plugin\System\ModulesAnywhere\Replace::processPosition() JROOT/plugins/system/modulesanywhere/src/Replace.php:510
9 RegularLabs\Plugin\System\ModulesAnywhere\Replace::processMatch() JROOT/plugins/system/modulesanywhere/src/Replace.php:698
10 RegularLabs\Plugin\System\ModulesAnywhere\Replace::replaceMatches() JROOT/plugins/system/modulesanywhere/src/Replace.php:680
11 RegularLabs\Plugin\System\ModulesAnywhere\Replace::replace() JROOT/plugins/system/modulesanywhere/src/Replace.php:81
12 RegularLabs\Plugin\System\ModulesAnywhere\Replace::processModules() JROOT/plugins/system/modulesanywhere/src/Replace.php:149
13 RegularLabs\Plugin\System\ModulesAnywhere\Replace::replaceTags() JROOT/plugins/system/modulesanywhere/modulesanywhere.php:99
14 PlgSystemModulesAnywhere->changeFinalHtmlOutput() JROOT/libraries/regularlabs/src/SystemPlugin.php:155
15 RegularLabs\Library\SystemPlugin->onAfterRender() JROOT/libraries/src/Plugin/CMSPlugin.php:289
16 Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}() JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:486
17 Joomla\Event\Dispatcher->dispatch() JROOT/libraries/src/Application/EventAware.php:111
18 Joomla\CMS\Application\WebApplication->triggerEvent() JROOT/libraries/src/Application/CMSApplication.php:1031
19 Joomla\CMS\Application\CMSApplication->render() JROOT/libraries/src/Application/SiteApplication.php:724
20 Joomla\CMS\Application\SiteApplication->render() JROOT/libraries/src/Application/CMSApplication.php:298
21 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
22 require_once() JROOT/index.php:32
Thanks a lot!