About General settings
Module that stores global site settings
|Category 1||Admin Helpers|
Admin helper modules are those that provide helpful tools, UI enhancements or optimizations to the admin panel (excluding Fieldtype or Inputfield modules).
|Category 2||Process Modules|
Process modules are apps that run in the ProcessWire admin.
|Category 3||Other Modules|
Modules that have a unique purpose not covered by existing categories.
Should be safe for use in production environments. *
|Date Added||September 5, 2016|
|Last Updated||May 11, 2018|
This module's files should be placed in /site/modules/ProcessGeneralSettings/
How to install or uninstall modules
This module provides a solution for keeping general site settings in one place
- Admin can create unlimited number of settings
- Settings can be grouped
- Admin can set setting label, notes, property name, field width and type
- Settings can be of type text, checkbox, radios, select, email, url, integer
- The output can be language aware
In module configuration create as many settings as needed. Customize their label, type, widthand provide a name you want to use in a template files (property name). Every time you wish to output site name you can use $settings->site_name or wire('settings')->site_name You can change global name ($settings) to something else in module configuration.
To get basic markup with all settings and their values use $settings->render().
This version of the module requires ProcessWire 2.7+
##MultilanguageTo make fields multilanguage aware create a field with a same property name with '_languageName' appended. Example: Your site has two languages: default and french, create site_title and site_title_french fields. Put in a template $settings->site_title. If a user has set french language, this module output site_title_french, otherwise site_title.
Copyright 2016 by Piotr Markiewicz
No comments yet. Be the first to post!
Your e-mail is kept confidential and not included with your comment. Website is optional.
- Admin Helpers
- Core Modules
- Development Tools
- Field Types
- File Validator
- Input Fields
- Language Modules
- Language Packs
- Markup Generation
- Premium Modules
- Process Modules
- Proof of Concept
- Site Profiles
- Social, Feeds, Services
- Text Formatters
- Other Modules
- Users and Access
*Use modules at your own risk. There are no guarantees or warranties. It is recommended that you backup your site and database before installing new modules.