From 9a368956e7d0e9747ce53464c63002f3e822ab24 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 18 Nov 2005 21:57:03 +0000 Subject: [PATCH] rename add/edit to matrix add/edit so automatic listing of Assets works --- lib/WebGUI/Help/Asset_Matrix.pm | 12 ++++++------ lib/WebGUI/Help/_help.skeleton | 4 ++++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/lib/WebGUI/Help/Asset_Matrix.pm b/lib/WebGUI/Help/Asset_Matrix.pm index 15a3d57b3..36759e3ed 100644 --- a/lib/WebGUI/Help/Asset_Matrix.pm +++ b/lib/WebGUI/Help/Asset_Matrix.pm @@ -1,7 +1,7 @@ package WebGUI::Help::Asset_Matrix; our $HELP = { - 'add/edit' => { + 'matrix add/edit' => { title => 'add/edit help title', body => 'add/edit help body', related => [ @@ -32,7 +32,7 @@ our $HELP = { body => 'search template help body', related => [ { - tag => 'add/edit', + tag => 'matrix add/edit', namespace => 'Asset_Matrix' }, { @@ -58,7 +58,7 @@ our $HELP = { body => 'compare template help body', related => [ { - tag => 'add/edit', + tag => 'matrix add/edit', namespace => 'Asset_Matrix' }, { @@ -84,7 +84,7 @@ our $HELP = { body => 'ratings detail template help body', related => [ { - tag => 'add/edit', + tag => 'matrix add/edit', namespace => 'Asset_Matrix' }, { @@ -110,7 +110,7 @@ our $HELP = { body => 'matrix template help body', related => [ { - tag => 'add/edit', + tag => 'matrix add/edit', namespace => 'Asset_Matrix' }, { @@ -136,7 +136,7 @@ our $HELP = { body => 'detail template help body', related => [ { - tag => 'add/edit', + tag => 'matrix add/edit', namespace => 'Asset_Matrix' }, { diff --git a/lib/WebGUI/Help/_help.skeleton b/lib/WebGUI/Help/_help.skeleton index d25e03f77..eaaacdc75 100644 --- a/lib/WebGUI/Help/_help.skeleton +++ b/lib/WebGUI/Help/_help.skeleton @@ -4,6 +4,9 @@ package WebGUI::Help::_Help; ## Be sure to change the package name to match your our $HELP = { ##hashref of hashes 'help article' => { #name of article, used as a reference by other articles + #note, all Assets should have an "assetName add/edit" entry if + #you want them automatically listed in Asset, List of Available + title => 'help article title', #The title and body are looked up in the body => 'help article title', #i18n file of the same name fields => [ #This array is used to list hover help for form fields. @@ -25,6 +28,7 @@ our $HELP = { ##hashref of hashes }, ], }, + }; 1; ##All perl modules must return true