pdoTools
pdoTools copied to clipboard
Set info that MODX runs in connector mode
See the discussion on https://community.modx.com/t/pdopage-ajax-pagination-not-working-on-multilanguage-website/7244/3 and the issue #363 here.
Routing plugins (LangRouter, SmartRouting or xRouting) have to know that MODX runs in connector mode to disable running in onHandleRequest.
See i.e. https://github.com/Jako/LangRouter/blob/master/core/components/langrouter/src/Plugins/Events/OnHandleRequest.php#L21-L26 https://github.com/Jako/SmartRouting/blob/master/core/components/smartrouting/src/Plugins/Events/OnHandleRequest.php#L22-L27