added missing help files

This commit is contained in:
JT Smith 2008-04-30 22:31:27 +00:00
parent 102b5fd1ae
commit 7152eaeaee
7 changed files with 143 additions and 13 deletions

View file

@ -70,7 +70,7 @@ sub definition {
defaultValue => $i18n->get("default thank you message"),
fieldType => "HTMLArea",
label => $i18n->get("thank you message"),
hoverHelp => $i18n->get("thank you message"),
hoverHelp => $i18n->get("thank you message help"),
},
defaultPrice => {
tab => "shop",

View file

@ -34,8 +34,8 @@ sub definition {
defaultValue => 'nFen0xjkZn8WkpM93C9ceQ',
tab => "display",
namespace => "Shelf",
hoverHelp => $i18n->get('view template help'),
label => $i18n->get('view template'),
hoverHelp => $i18n->get('shelf template help'),
label => $i18n->get('shelf template'),
}
);
push(@{$definition}, {

View file

@ -0,0 +1,35 @@
package WebGUI::Help::Asset_Donation;
use strict;
our $HELP = {
'template' => {
title => 'donation template',
body => '',
isa => [
{
tag => 'sku properties',
namespace => 'Asset_Sku',
},
],
fields => [
],
variables => [
{ name => "formHeader" , required=>1},
{ name => "formFooter" , required=>1 },
{ name => "donateButton" , required=>1 },
{ name => "priceField" , required=>1 },
{ name => "hasAddedToCart" , required=>1 },
{ name => "thankYouMessage", description=>"thank you message help" },
{ name => "defaultPrice", description=>"default price help" },
{ name => "templateId", description=>"donation template help" },
],
related => [
],
},
};
1;

View file

@ -0,0 +1,36 @@
package WebGUI::Help::Asset_Shelf;
use strict;
our $HELP = {
'template' => {
title => 'shelf template',
body => '',
isa => [
{ namespace => "Asset_Wobject",
tag => "wobject template variables"
},
{ tag => 'pagination template variables',
namespace => 'WebGUI'
},
],
fields => [
],
variables => [
{ name => "shelves" , required=>1},
{ name => "products" , required=>1, variables => [
{ name => "thumbnailUrl" },
{ name => "price" },
],
},
{ name => "templateId", description=>"shelf template help" },
],
related => [
],
},
};
1;

View file

@ -1,10 +1,9 @@
package WebGUI::Help::_Help; ## Be sure to change the package name to match your filename.
package WebGUI::Help::Asset_FlatDiscount;
use strict; ##Required for good Perl::Critic code
use strict;
##Stub document for creating help documents.
our $HELP = { ##hashref of hashes
our $HELP = {
'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

View file

@ -3,6 +3,42 @@ package WebGUI::i18n::English::Asset_Donation;
use strict;
our $I18N = {
'donation template help' => {
message => q|Donation Template|,
lastUpdated => 0,
context => q|a help label|
},
'donateButton' => {
message => q|The button for the donation form.|,
lastUpdated => 0,
context => q|template variable|
},
'formHeader' => {
message => q|The top of the donation form.|,
lastUpdated => 0,
context => q|template variable|
},
'formFooter' => {
message => q|The bottom of the donation form.|,
lastUpdated => 0,
context => q|template variable|
},
'priceField' => {
message => q|The field in the donation form that the user types in what they wish to donate.|,
lastUpdated => 0,
context => q|template variable|
},
'hasAddedToCart' => {
message => q|A condition indicating that the user has added the donation to their cart, so we can display the thank you message.|,
lastUpdated => 0,
context => q|template variable|
},
'donate button' => {
message => q|Add Donation To Cart|,
lastUpdated => 0,
@ -27,13 +63,13 @@ our $I18N = {
context => q|help for default price field|
},
'template' => {
message => q|Template|,
'donation template' => {
message => q|Donation Template|,
lastUpdated => 0,
context => q|the label for the field where you select the template for this asset|
},
'template help' => {
'donation template help' => {
message => q|Choose a template that should be used to display the donation.|,
lastUpdated => 0,
context => q|help for default price field|

View file

@ -3,19 +3,43 @@ package WebGUI::i18n::English::Asset_Shelf;
use strict;
our $I18N = {
'price' => {
message => q|The price of this sku.|,
lastUpdated => 0,
context => q|a template variable|,
},
'thumbnailUrl' => {
message => q|The URL for a thumbnail image of this sku. If it has no thumbnail, then this variable will be empty.|,
lastUpdated => 0,
context => q|a template variable|,
},
'shelves' => {
message => q|A loop containing the list of shelves that are children of this one in the asset tree. Each record in the loop contains all the properties of a shelf.|,
lastUpdated => 0,
context => q|a template variable|,
},
'products' => {
message => q|A loop containing the list of products that match the keywords specified in this shelf. Each record in the loop contains all the properties of the matching sku, plus the following variables.|,
lastUpdated => 0,
context => q|a template variable|,
},
'subcategories' => {
message => q|Subcategories|,
lastUpdated => 0,
context => q|a template label|,
},
'view template' => {
message => q|View Template|,
'shelf template' => {
message => q|Shelf Template|,
lastUpdated => 0,
context => q|a property|,
},
'view template help' => {
'shelf template help' => {
message => q|Choose the template that will display the list of products associated with this shelf.|,
lastUpdated => 0,
context => q|help for a property|,