Soma Posted November 25, 2013 Posted November 25, 2013 Template Notes Adds a "Help" tab to pages for notes and instructions on the current template used. You can add content by simply putting a html or markdown file in /site/templates/notes/ the module will automatically load that file if it finds one and adds a "Help" tab to the page 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. http://modules.processwire.com/modules/template-notes/ https://github.com/somatonic/TemplateNotes This module was quickly written after seeing a wish-list request by Joss http://processwire.com/talk/topic/5016-help-tab-for-template/ 22
pwired Posted November 25, 2013 Posted November 25, 2013 +1 good found. Useful and practical to keep track of structure of larger sites and keeping a history of edits. 1
Pete Posted November 25, 2013 Posted November 25, 2013 Nice one Soma. I was thinking of a more complicated solution earlier, so +1 for keeping it simple and effective as these notes only need to be written once per template by the person building the site really 1
dazzyweb Posted November 25, 2013 Posted November 25, 2013 Looks good. Very useful. I am liking processwire even more 1
Lance O. Posted April 27, 2014 Posted April 27, 2014 This is a great module and a simple solution to providing contextual help for my clients. Thank you, Soma!
Lance O. Posted April 27, 2014 Posted April 27, 2014 Oops, for some reason, the module isn't detecting my custom CSS file. My path is correct: site/templates/notes/notes.css and the file exists when I visit it in a browser. I'm using PW 2.4.0. 1
Soma Posted May 5, 2014 Author Posted May 5, 2014 Thanks for the report. I fixed the issue with custom CSS and committed it just now. 1
Lance O. Posted May 5, 2014 Posted May 5, 2014 @soma Looks like that fix did the trick! Thank you for updating. I think I'm going to get a lot of use from this module.
Soma Posted October 3, 2014 Author Posted October 3, 2014 Just fixed some issue with new PW 2.5 while still compatible with 2.4. The module is now on v1.0.3 and updated on modules.processwire.com https://github.com/somatonic/TemplateNotes/commit/7a16e25126d1f2b2ef2b4792edc00f70b9c2db1b 6
Lance O. Posted September 22, 2016 Posted September 22, 2016 Is this module compatible with PW 3.x? I just installed it but the Help tab isn't displaying for the designated template.
johndoe Posted November 14, 2016 Posted November 14, 2016 On 22.09.2016 at 7:33 PM, Lance O. said: Is this module compatible with PW 3.x? I just installed it but the Help tab isn't displaying for the designated template. I changed 2 lines in site/modules/TemplateNotes/TemplateNotes.module (starts at line 98) if(ProcessWire::versionMajor == 2 && ProcessWire::versionMinor <= 4) $form->append($tab); if(ProcessWire::versionMajor >= 2 && ProcessWire::versionMinor >= 5) $form->prepend($tab); to if(ProcessWire::versionMajor == 3 && ProcessWire::versionMinor <= 4) $form->append($tab); if(ProcessWire::versionMajor >= 3 && ProcessWire::versionMinor >= 5) $form->prepend($tab); Seems to be working on 3.0.40. Only glitch is the bottom Save button jumps above notes content.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now