GDPR-Compliant Bilingual Search Map

The includephp plugin allows CMSimple_XH users to safely include and execute PHP files directly in page content. It is designed for static includes only, executing PHP files placed in a controlled directory plugins/includephp/php/ and inserting their output into the CMS page.

 

This plugin adds an interactive OpenStreetMap compliant with the GDPR .
The map will only load after the visitor has explicitly given permission via a clear consent form .

Main features:

  • 🔒 Privacy by design – no tracking, no cookies, no data storage.

  • 🌍 Uses anonymous OpenStreetMap (Nominatim) search results.

  • 🧭 Supports “📍 My Location” with optional browser permission.

  • 💬 Bilingual (Dutch and English, automatically based on browser language).

  • 💡 Consent overlay that covers the map until approval is given.

  • 🎨 Modern, responsive design with rounded edges and soft shadows.

Use

Place the PHP file inplugins/includephp/php/

Add the following line to your CMSimple page:

{{{includephp('gdpr_map.php')}}}

The map will only appear if the user agrees to the privacy statement.