Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow template override, misc improvements #3

Merged
merged 9 commits into from
Nov 16, 2015

Conversation

timkelty
Copy link

Added some features and improvements:

  • Added a template override setting, so users can use their own template/fields to render the contents of the pages if they wish.
  • Added a plugin name override setting, so users can change the name of the plugin in the nav (e.g. Docs)
  • Store section settings ad IDs instead of handles, to prevent breaking when a section handle is renamed
  • Renamed 'channel' settings to 'section'
  • Show a default message if the body field doesn't exist
  • Only show sections with hasUrls in the settings, as it is required they have urls for the plugin to work.
  • Allow config file overrides for all settings, display warnings and disable inputs on settings page when overrides exist

...and I apologize for the big PR! Great work on the plugin, though.

@RobErskine
Copy link
Owner

Dang dude! This is amazing. Reviewing now, and will merge in soon.

@timkelty
Copy link
Author

No problem, was gonna just hop in for a quick fix and got carried away :)

@RobErskine RobErskine merged commit 1ee7e48 into RobErskine:master Nov 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants