biggeeves / Instance-Marker

Customize REDCap with a watermark based on the URL
Apache License 2.0
1 stars 4 forks source link

Marker doesn't appear on non-project pages #2

Closed iznaut closed 6 years ago

iznaut commented 6 years ago

The marker no longer seems to appear on pages such as the "My Projects" view or the Control Center.

This may be a new issue in REDCap 8.3 as it still appears on these pages when I look at my 8.2.2 instance.

dr01d3r commented 6 years ago

REDCap v8.3.0 updated the "every page" hook logic to prevent execution on non-project pages, unless explicitly allowed, through the enable-every-page-hooks-on-system-pages configuration setting.

https://github.com/vanderbilt/redcap-external-modules/blob/master/docs/official-documentation.md

biggeeves commented 6 years ago

REDCap V8.3 and changed. The every page hook was changed. The new setting in the config file is: "enable-every-page-hooks-on-system-pages": true

The new setting has been added to the config file in Instance-Marker. The marker now appears on every page. Tested and approved on REDCap V8.6.0