Jump to content

Recommended Posts

Posted

I made a small module called ProcessSiteSettings and thought I’d share it here in case it’s useful to someone.

ProcessSiteSettings is a lightweight ProcessWire module for storing and editing global site values in one place. There are already similar modules available, so this is simply another free option with a focus on quick setup, usability, and helpful template snippets.

It adds a Settings item to the ProcessWire admin menu and creates one central page for global site values like:

  • copyright text
  • footer content
  • contact info
  • social links
  • SEO / AI summary text
  • images
  • repeaters
  • Repeater Matrix
  • page references
  • other regular PW fields
    Ofc. add your own fields of choice to it, or delete the ones you don't need!

It uses a normal template + page approach instead of a fake config form, so it works much more naturally with ProcessWire fields.

It also includes a small helper box on the settings edit screen that shows ready-to-use template snippets for each field. It tries to generate smarter examples depending on the field type, including more complex fields like images, repeaters, matrix items, multi-value fields, etc.

Example usage on templates:

<?= siteSettings('ss_copyright_text'); ?>
<?= siteSettings()->ss_footer_text; ?>
<?= $siteSettings->ss_contact_email; ?>

The admin is in English and the module is translation-ready.

Just install the module, and that's it!

Just sharing it here in case someone finds it useful.

Download Here:

ProcessSiteSettings.zip

  • Like 1
  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...