Skip to content

Installation

The MODX installer should install the package automatically from the modmore repository.

A custom manager page called ConsentFriend is installed within the Extras menu.

There are some system settings available in the namespace ConsentFriend. These can also be edited in the settings (gear icon) tab of the ConsentFriend custom manager page.

Prepare the website

ConsentFriend installs several default services. Some of them use system/context settings that you have to create yourself.

After the installation on an existing website, you need to identify the external services used, such as Google Analytics, Matomo, Google Fonts, etc. If these services are referenced at the end of the Head or Body section, you can edit an existing service or create a new service and use the found code in the Code tab. ConsentFriend will make the necessary changes to the code for the consent management window.

If you use inline code for external services, you have to modify it on your own.

After the preparation you have to enable ConsentFriend with the consentfriend.enable system setting. Then the consent management window will be shown in the frontend. A context, a user or a usergroup setting would supersede this system setting and can be used too.