PageSections Plus 1.6.8 — optional GMS galleries

Gallery (GMS) controls now appear only when Gallery Made Simple is installed and active. Without GMS, normal text and picture sections keep their Bootstrap layout. Previously saved gallery IDs are retained and unavailable gallery columns are omitted from frontend output; restore GMS to display them again.

The Bootstrap factory template uses the core cms_module tag inside a gms_available guard, so Smarty can compile it without the optional GMS short tag. The upgrade updates only the unchanged previous factory Bootstrap template. Customised templates are preserved: replace direct {GMS ...} calls in your own template with guarded {cms_module module='GMS' ...} calls as documented in README/module help.

Requirements: CMSMS 2.2 or later. GMS is optional. The supplied Bootstrap layout requires Bootstrap 5.3. Licence: GPL-2.0-or-later.

Back up your site and database. Import the XML using Module Manager, or copy the ZIP's PageSectionsPlus directory into modules/ and upgrade under Extensions → Modules. Do not uninstall an existing installation. Clear the CMSMS cache after upgrading.

Validation: all 10 PHP files (including the regression harness) pass syntax checks. Tests use real Smarty 3.1.48 with CMSMS API stubs and cover GMS absent/inactive/active, gallery control visibility, saved selections, Bootstrap layouts, guarded gallery calls and factory/custom/CRLF/repeated upgrades. Local ModuleChecker static preflight reports zero errors, four warnings, no skipped checks. This is not a live CMSMS install test.

Source and guide: https://github.com/MasterCatsUK/CMSMS-PageSectionsPlus
Credits: https://github.com/MasterCatsUK/CMSMS-PageSectionsPlus/blob/main/CREDITS.md