About Template Notes

Renders a "Help" tab on pages with infos for the current used template. The content is loaded from /site/templates/notes/. You can add [tplname].html or [tplname].md files.

Category 1Admin Helpers
Admin helper modules are those that provide helpful tools, UI enhancements or optimizations to the admin panel (excluding Fieldtype or Inputfield modules).
Category 2Development Tools
Modules that have more to do with assisting development of a site rather than managing its content.
Category 3Markup Generation
Markup modules that are called upon to generate or parse markup (like HTML). Markup modules are most often used on the front-end of a site (rather than admin).
Release StateStable
Should be safe for use in production environments. *
Authorsoma
Module Version1.0.3
Class NameTemplateNotes
Compatibility2.3, 2.4, 2.5, 2.6
Date AddedNovember 25, 2013
Last UpdatedOctober 3, 2014
Recommended ByNew recommendations may take up to 1 day to appear.

Instructions

This module's files should be placed in /site/modules/TemplateNotes/
How to install or uninstall modules

README

Template Notes Module

Adds a "Help" tab to pages for notes and instructions on the current template used.

You can add content by simply putting a file in /site/templates/notes/ the module will automatically load that file if it find one and adds a "Help" tab to pages edit form.

Name the files using the template name. You can use html or markdown to write the help text.

  • /site/templates/notes/[tplname].html
  • /site/templates/notes/[tplname].md

To style the content you can specify a custom css file url you add to the module settings.

Changelog:

1.0.3

  • Fixed issues with PW2.5
  • Fixed top margin on tab content
  • Added example class to TemplateNotes.css to move the Help tab to the right edge

Comments

  • heldercervantes

    heldercervantes 12 months ago 00

    Has anyone tested this with v3? Doesn't seem to work.

    • heldercervantes

      heldercervantes 12 months ago 10

      Managed to make it work just by tweaking the IF statements that adapt to the version on the .module file:

      if(ProcessWire::versionMajor >= 3)
      $form->prepend($tab);

Post a Comment

Your e-mail is kept confidential and not included with your comment. Website is optional.