2 CatalystX::HelpText - Helper to include text/html snippets in Catalyst
6 Create a model class in your Catalyst project like: package
7 TestApp::Model::Help; use Moose; use namespace::autoclean;
9 extends 'CatalystX::HelpText::Model';
13 Configure it setting value for:
16 Where the help files will be found
19 What is the extension for the help files (default: html)
22 What tag will be used to wrap the shippet (default: span)
25 What css class will be applied to the wrapper tag (default:
28 Create files with the text/html to be included and store them at
31 Apply the CatalystX::HelpText::ViewRole in your View.
33 Uses the "[% helptext('SomeHelpTopic') %]"in your templates to include
34 the file "SomeHelpTopic.html" in the page.
36 Uses the script "search_undocumented_templates.pl" to find the missing
40 CatalystX::HelpText::Model
41 CatalystX::HelpText::ViewRole
44 Toomas Doran, "t0m at state51.co.uk"
46 Cinxgler Mariaca Minda, "cinxgler at ci-info.com"
49 Copyright Oscar Music and Media 2011.
52 This sofware is free software, and is licensed under the same terms as