Add more documentation options for theme elements and groups


The theme settings are long, complex, and overwhelming.
Adding groups helped, but still, its hard to work with, even if you are the one that created the theme.

Add options for

  • Group Intro

  • Field Description

  • Field Help


Gavin Pickin
December 14, 2016, 1:04 AM

Pull request waiting.

Esme is updating the other Themes with this documentation now as well.

Gavin Pickin
December 13, 2016, 8:17 PM

After discussing with Esme, we have come up with the following additions to a Theme setting

groupIntro="Customize your colors",
fieldDescription="Choose one of the Bootswatch Themes",
fieldHelp="#loadHelpFile( 'cbBootswatchTheme.html' )#"

By default, loadHelpFile looks in the /includes/help/ folder for the file. If it exists, it returns the content of the file, if not, it returns an empty string.
Right now its a function I put in the Theme itself, easier for paths. If we decide It's a good convention, we could/should add it to the theme service.

Here is a preview

Here is the modal



Gavin Pickin


Gavin Pickin