New Add-on - Global Variable Editor

I just launched a simple add-on that gives admins the ability to edit specific global variables through the CP.

This is useful if you want to give admins the ability to edit snippets of text defined in your theme's settings file. For example, a phone number, email address, mailing address, and so on. Snippets of text you want to use throughout the site, and still allow admins to control.

You can define which variables you want to be editable by adding a global top-level variable. For example...

global:
  phone: 555-555-5555

would create an editable global variable for storing a phone number. To add another editable global variable, like an email address you would do...

global:
  phone: 555-555-5555
  email: [email protected]

To display the above variables you would use {{ global:phone }} and {{ global:email }} in your templates or layouts.

The add-on creates a new tab in the CP to allow quick access to the global variables.

Any and all feedback is highly encouraged.

https://github.com/brettdewoody/statamic-globes

>>>>>>> Unanswered <<<<<<<
25 Replies
5 Followers