Forum

Thread tagged as: Suggestions

Labels & messages

Hi guys,

Just a suggestion for a possible feature - some may find it useful. Do you think it might be possible/worthwhile having a Labels & messages section within the settings, under Pages maybe where you can specify a list of commonly used strings/labels/whatever that can be used throughout the site?

So, if you have created a Label called Phone number (the slug for which would be phone-number), and then in a template you could use <perch:label id="phone-number" />.

Could be handy for all sorts - alert messages, phone numbers, titles, success messages for embedded forms etc, anything that is used throughout the site.

Jon.

Jon Young

Jon Young 0 points

  • 6 years ago

Jon. This is a nice idea. While not a feature of perch at this time it's something You could achieve using set_var() and use a perch_layout() to define settings.

EDITED: To clarify my message.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Noted, thanks Jon.