Skip to main content

Customising supplements

Supplements can be added in Photon by creating a manager class, administration interface file and associated class.

The new supplement class must be registered with the CMS in the database table JaduPageSupplements. The supplement manager class must be registered in page_supplements.xml.

<?xml version="1.0" encoding="utf-8"?>
<system xmlns:config="http://www.jadu.co.uk/schema/config">
<supplements config:type="array">
<item key="spacecraft-popular-pages">PopularPagesPageSupplementManager</item>
</supplements>
</system>