template variable breakout
This commit is contained in:
parent
0d1d2a4675
commit
58566a6ed6
2 changed files with 787 additions and 477 deletions
|
|
@ -223,6 +223,72 @@ our $HELP = {
|
|||
'compare template' => {
|
||||
title => 'comparison template help title',
|
||||
body => 'comparison template help body',
|
||||
variables => [
|
||||
{
|
||||
'name' => 'isTooMany'
|
||||
},
|
||||
{
|
||||
'name' => 'isTooFew'
|
||||
},
|
||||
{
|
||||
'name' => 'compare.form'
|
||||
},
|
||||
{
|
||||
'name' => 'product_loop',
|
||||
'variables' => [
|
||||
{
|
||||
'name' => 'name'
|
||||
},
|
||||
{
|
||||
'name' => 'version'
|
||||
},
|
||||
{
|
||||
'name' => 'url',
|
||||
'description' => 'details url'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
'name' => 'lastupdated_loop',
|
||||
'variables' => [
|
||||
{
|
||||
'name' => 'lastUpdated'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
'name' => 'category_loop',
|
||||
'variables' => [
|
||||
{
|
||||
'name' => 'category',
|
||||
'description' => 'tmplVar category'
|
||||
},
|
||||
{
|
||||
'name' => 'columnCount'
|
||||
},
|
||||
{
|
||||
'name' => 'row_loop',
|
||||
'variables' => [
|
||||
{
|
||||
'name' => 'column_loop',
|
||||
'variables' => [
|
||||
{
|
||||
'name' => 'value'
|
||||
},
|
||||
{
|
||||
'name' => 'class'
|
||||
},
|
||||
{
|
||||
'name' => 'description',
|
||||
'description' => 'tmplVar field.description'
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
related => [
|
||||
{
|
||||
tag => 'matrix add/edit',
|
||||
|
|
@ -275,6 +341,159 @@ our $HELP = {
|
|||
'main template' => {
|
||||
title => 'matrix template help title',
|
||||
body => 'matrix template help body',
|
||||
variables => [
|
||||
{
|
||||
'name' => 'compare.form',
|
||||
},
|
||||
{
|
||||
'name' => 'search.url'
|
||||
},
|
||||
{
|
||||
'name' => 'isLoggedIn'
|
||||
},
|
||||
{
|
||||
'name' => 'field.list.url'
|
||||
},
|
||||
{
|
||||
'name' => 'listing.add.url'
|
||||
},
|
||||
{
|
||||
'name' => 'best.views.url'
|
||||
},
|
||||
{
|
||||
'name' => 'best.views.count'
|
||||
},
|
||||
{
|
||||
'name' => 'best.views.name'
|
||||
},
|
||||
{
|
||||
'name' => 'best.compares.url'
|
||||
},
|
||||
{
|
||||
'name' => 'best.compares.count'
|
||||
},
|
||||
{
|
||||
'name' => 'best.compares.name'
|
||||
},
|
||||
{
|
||||
'name' => 'best.clicks.url'
|
||||
},
|
||||
{
|
||||
'name' => 'best.clicks.count'
|
||||
},
|
||||
{
|
||||
'name' => 'best.clicks.name'
|
||||
},
|
||||
{
|
||||
'name' => 'best_rating_loop',
|
||||
'variables' => [
|
||||
{
|
||||
'name' => 'url',
|
||||
'description' => 'tmplVar best.url'
|
||||
},
|
||||
{
|
||||
'name' => 'category',
|
||||
'description' => 'tmplVar best.category'
|
||||
},
|
||||
{
|
||||
'name' => 'name',
|
||||
'description' => 'tmplVar best.name'
|
||||
},
|
||||
{
|
||||
'name' => 'mean'
|
||||
},
|
||||
{
|
||||
'name' => 'median'
|
||||
},
|
||||
{
|
||||
'name' => 'count'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
'name' => 'worst_rating_loop',
|
||||
'variables' => [
|
||||
{
|
||||
'name' => 'url',
|
||||
'description' => 'tmplVar worst.url'
|
||||
},
|
||||
{
|
||||
'name' => 'category',
|
||||
'description' => 'tmplVar worst.category'
|
||||
},
|
||||
{
|
||||
'name' => 'name',
|
||||
'description' => 'tmplVar worst.name'
|
||||
},
|
||||
{
|
||||
'name' => 'mean',
|
||||
'description' => 'tmplVar worst.mean'
|
||||
},
|
||||
{
|
||||
'name' => 'median',
|
||||
'description' => 'tmplVar worst.median'
|
||||
},
|
||||
{
|
||||
'name' => 'count',
|
||||
'description' => 'tmplVar worst.count'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
'name' => 'ratings.details.url'
|
||||
},
|
||||
{
|
||||
'name' => 'best.posts.url'
|
||||
},
|
||||
{
|
||||
'name' => 'best.updated.url'
|
||||
},
|
||||
{
|
||||
'name' => 'best.updated.date'
|
||||
},
|
||||
{
|
||||
'name' => 'best.updated.name'
|
||||
},
|
||||
{
|
||||
'name' => 'last_update_loop',
|
||||
'variables' => [
|
||||
{
|
||||
'name' => 'url',
|
||||
'description' => 'tmplVar last.url'
|
||||
},
|
||||
{
|
||||
'name' => 'name',
|
||||
'description' => 'tmplVar last.name'
|
||||
},
|
||||
{
|
||||
'name' => 'lastUpdated',
|
||||
'description' => 'tmplVar last.lastUpdated'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
'name' => 'user.count'
|
||||
},
|
||||
{
|
||||
'name' => 'current.user.count'
|
||||
},
|
||||
{
|
||||
'name' => 'listing.count'
|
||||
},
|
||||
{
|
||||
'name' => 'pending_list',
|
||||
'variables' => [
|
||||
{
|
||||
'name' => 'url',
|
||||
'description' => 'tmplVar pending.url'
|
||||
},
|
||||
{
|
||||
'name' => 'productName',
|
||||
'description' => 'tmplVar pending.productName'
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
related => [
|
||||
{
|
||||
tag => 'matrix add/edit',
|
||||
|
|
@ -301,6 +520,115 @@ our $HELP = {
|
|||
'listing detail template' => {
|
||||
title => 'detail template help title',
|
||||
body => 'detail template help body',
|
||||
variables => [
|
||||
{
|
||||
'name' => 'discussion'
|
||||
},
|
||||
{
|
||||
'name' => 'screenshot',
|
||||
'description' => 'tmplVar screenshot'
|
||||
},
|
||||
{
|
||||
'name' => 'thumbnail'
|
||||
},
|
||||
{
|
||||
'name' => 'email.form'
|
||||
},
|
||||
{
|
||||
'name' => 'email.wasSent'
|
||||
},
|
||||
{
|
||||
'name' => 'edit.url'
|
||||
},
|
||||
{
|
||||
'name' => 'user.canEdit'
|
||||
},
|
||||
{
|
||||
'name' => 'user.canApprove'
|
||||
},
|
||||
{
|
||||
'name' => 'approve.url'
|
||||
},
|
||||
{
|
||||
'name' => 'delete.url'
|
||||
},
|
||||
{
|
||||
'name' => 'isPending'
|
||||
},
|
||||
{
|
||||
'name' => 'lastUpdated.epoch'
|
||||
},
|
||||
{
|
||||
'name' => 'lastUpdated.date'
|
||||
},
|
||||
{
|
||||
'name' => 'id'
|
||||
},
|
||||
{
|
||||
'name' => 'description',
|
||||
'description' => 'listing description'
|
||||
},
|
||||
{
|
||||
'name' => 'productName'
|
||||
},
|
||||
{
|
||||
'name' => 'productUrl'
|
||||
},
|
||||
{
|
||||
'name' => 'productUrl.click'
|
||||
},
|
||||
{
|
||||
'name' => 'manufacturerName'
|
||||
},
|
||||
{
|
||||
'name' => 'manufacturerUrl'
|
||||
},
|
||||
{
|
||||
'name' => 'manufacturerUrl.click'
|
||||
},
|
||||
{
|
||||
'name' => 'versionNumber'
|
||||
},
|
||||
{
|
||||
'name' => 'views'
|
||||
},
|
||||
{
|
||||
'name' => 'compares'
|
||||
},
|
||||
{
|
||||
'name' => 'clicks'
|
||||
},
|
||||
{
|
||||
'name' => 'ratings'
|
||||
},
|
||||
{
|
||||
'name' => 'CATEGORY_NAME_loop',
|
||||
'variables' => [
|
||||
{
|
||||
'name' => 'value',
|
||||
},
|
||||
{
|
||||
'name' => 'name',
|
||||
'description' => 'tmplVar name'
|
||||
},
|
||||
{
|
||||
'name' => 'label'
|
||||
},
|
||||
{
|
||||
'name' => 'description',
|
||||
'description' => 'listing description'
|
||||
},
|
||||
{
|
||||
'name' => 'category',
|
||||
'description' => 'tmplVar category'
|
||||
},
|
||||
{
|
||||
'name' => 'class',
|
||||
'description' => 'tmplVar class'
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
related => [
|
||||
{
|
||||
tag => 'matrix add/edit',
|
||||
|
|
|
|||
|
|
@ -29,112 +29,95 @@ our $I18N = {
|
|||
lastUpdated => 0
|
||||
},
|
||||
|
||||
'isTooMany' => {
|
||||
message => q|A condition indicating that the user has selected too many listings to compare. They may only compare Max Comparisons listings at a time.|,
|
||||
lastUpdated => 1149783768,
|
||||
},
|
||||
|
||||
'isTooFew' => {
|
||||
message => q|A condition indicating that the user has selected too few listings to compare. They must compare at least two listings.|,
|
||||
lastUpdated => 1149783768,
|
||||
},
|
||||
|
||||
'compare.form' => {
|
||||
message => q|The checkbox form that contains all the listings in this matrix.|,
|
||||
lastUpdated => 1149783768,
|
||||
},
|
||||
|
||||
'product_loop' => {
|
||||
message => q|A loop containing the product information (not contained in categories) for this listing.|,
|
||||
lastUpdated => 1149783768,
|
||||
},
|
||||
|
||||
'name' => {
|
||||
message => q|The name of the product.|,
|
||||
lastUpdated => 1149783768,
|
||||
},
|
||||
|
||||
'version' => {
|
||||
message => q|The version number or model number of the product.|,
|
||||
lastUpdated => 1149783768,
|
||||
},
|
||||
|
||||
'details url' => {
|
||||
message => q|The URL to the details page for this listing.|,
|
||||
lastUpdated => 1149783768,
|
||||
},
|
||||
|
||||
'lastupdated_loop' => {
|
||||
message => q|A loop containing the last updated dates for each listing.|,
|
||||
lastUpdated => 1149783768,
|
||||
},
|
||||
|
||||
'lastUpdated' => {
|
||||
message => q|The human readable date that this product was last updated.|,
|
||||
lastUpdated => 1149783768,
|
||||
},
|
||||
|
||||
'category_loop' => {
|
||||
message => q|A loop containing all of the category information for each listing.|,
|
||||
lastUpdated => 1149783768,
|
||||
},
|
||||
|
||||
'tmplVar category' => {
|
||||
message => q|The name of the current category.|,
|
||||
lastUpdated => 1149783768,
|
||||
},
|
||||
|
||||
'columnCount' => {
|
||||
message => q|The number of products being compared.|,
|
||||
lastUpdated => 1149783768,
|
||||
},
|
||||
|
||||
'row_loop' => {
|
||||
message => q|A loop containing the product data for this field in this category. |,
|
||||
lastUpdated => 1149783768,
|
||||
},
|
||||
|
||||
'column_loop' => {
|
||||
message => q|A loop containing the value data for this field for this product. The first value in this loop is always the field name.|,
|
||||
lastUpdated => 1149783768,
|
||||
},
|
||||
|
||||
'value' => {
|
||||
message => q|The value of this field.|,
|
||||
lastUpdated => 1149783768,
|
||||
},
|
||||
|
||||
'class' => {
|
||||
message => q|The name of the stylesheet class for this field. it is generated by the value with all the spaces replaced by underscores and all the special characters removed.|,
|
||||
lastUpdated => 1149783768,
|
||||
},
|
||||
|
||||
'tmplVar field.description' => {
|
||||
message => q|The description for this field.|,
|
||||
lastUpdated => 1149783768,
|
||||
},
|
||||
|
||||
'comparison template help body' => {
|
||||
lastUpdated => 0,
|
||||
message => q| <p>The following template variables are available in the comparison template.</p>
|
||||
|
||||
<p>
|
||||
<b>isTooMany</b><br />
|
||||
A condition indicating that the user has selected too many listings to compare. They may only compare Max Comparisons listings at a time.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
||||
<b>isTooFew</b><br />
|
||||
A condition indicating that the user has selected too few listings to compare. They must compare at least two listings.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>compare.form</b><br />
|
||||
The checkbox form that contains all the listings in this matrix.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
||||
<b>product_loop</b><br />
|
||||
A loop containing the product information (not contained in categories) for this listing.
|
||||
</p>
|
||||
|
||||
<div class="helpIndent">
|
||||
<p>
|
||||
<b>name</b><br />
|
||||
The name of the product.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>version</b><br />
|
||||
The version number or model number of the product.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>url</b><br />
|
||||
The URL to the details page for this listing.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<b>lastupdated_loop</b><br />
|
||||
A loop containing the last updated dates for each listing.
|
||||
</p>
|
||||
|
||||
<div class="helpIndent">
|
||||
<p>
|
||||
<b>lastUpdated</b><br />
|
||||
|
||||
The human readable date that this product was last updated.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<b>category_loop</b><br />
|
||||
A loop containing all of the category information for each listing.
|
||||
</p>
|
||||
|
||||
<div class="helpIndent">
|
||||
|
||||
<p>
|
||||
<b>category</b><br />
|
||||
The name of the current category.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>columnCount</b><br />
|
||||
The number of products being compared.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>row_loop</b><br />
|
||||
A loop containing the product data for this field in this category.
|
||||
</p>
|
||||
|
||||
<div class="helpIndent">
|
||||
<p>
|
||||
<b>column_loop</b><br />
|
||||
|
||||
A loop containing the value data for this field for this product. The first value in this loop is always the field name.
|
||||
</p>
|
||||
|
||||
<div class="helpIndent">
|
||||
<p>
|
||||
<b>value</b><br />
|
||||
The value of this field.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
||||
<b>class</b><br />
|
||||
The name of the stylesheet class for this field. it is generated by the value with all the spaces replaced by underscores and all the special characters removed.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>description</b><br />
|
||||
The description for this field.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div> |
|
||||
|
|
||||
},
|
||||
|
||||
'comparison template help title' => {
|
||||
|
|
@ -142,191 +125,169 @@ our $I18N = {
|
|||
message => q|Matrix Comparison Template|
|
||||
},
|
||||
|
||||
'discussion' => {
|
||||
message => q|The forum attached to this listing.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'tmplVar screenshot' => {
|
||||
message => q|The URL to the uploaded photo or screenshot.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'thumbnail' => {
|
||||
message => q|The URL to the thumbnail of the uploaded photo or screenshot|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'email.form' => {
|
||||
message => q|A form to use to send an email to the listing maintainer.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'email.wasSent' => {
|
||||
message => q|A condition indicating whether an email message was sent or not.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'edit.url' => {
|
||||
message => q|The URL to the edit page for this listing.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'user.canEdit' => {
|
||||
message => q|A condition indicating whether the current user has the privileges necessary to edit this listing.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'user.canApprove' => {
|
||||
message => q|A condition indicating whether the current user has the privileges necessary to approve this listing so it appears on site.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'approve.url' => {
|
||||
message => q|The URL to approve this listing.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'delete.url' => {
|
||||
message => q|The URL to delete this listing.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'isPending' => {
|
||||
message => q|A condition indicating whether this listing has been approved or not.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'lastUpdated.epoch' => {
|
||||
message => q|The epoch date of when this listing was last updated.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'lastUpdated.date' => {
|
||||
message => q|A human readable date of when this listing was last updated.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'id' => {
|
||||
message => q|The unique identifier of this listing.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'listing description' => {
|
||||
message => q|The description of this listing.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'productName' => {
|
||||
message => q|The name of this listing.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'productUrl' => {
|
||||
message => q|The manufacturer's URL for this listing.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'productUrl.click' => {
|
||||
message => q|The product URL to use if you want to register the click count for this listing.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'manufacturerName' => {
|
||||
message => q|The name of the company that manufactuers theproduct or provides the service represented in this listing.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'manufacturerUrl' => {
|
||||
message => q|The manufacturer's URL.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'manufacturerUrl.click' => {
|
||||
message => q|The manufacturer URL to use if you want to register the click count for this listing.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'versionNumber' => {
|
||||
message => q|The version number or model number of this product.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'views' => {
|
||||
message => q|The total number of views this listing has received.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'compares' => {
|
||||
message => q|The total number of compares this listing has received.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'clicks' => {
|
||||
message => q|The total number of clicks this listing has received.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'ratings' => {
|
||||
message => q|The ratings form (or results) for this listing.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'CATEGORY_NAME_loop' => {
|
||||
message => q|A loop is created for each category in this matrix. The name of the loop is the category name with spaces replaced with hypens and a _loop added to the end. So if you have a category called "Bells and Whistles" then the loop would be called "bells-and-whistles_loop".|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'tmplVar name' => {
|
||||
message => q|The name of this field.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'label' => {
|
||||
message => q|The label of this field.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'listing description' => {
|
||||
message => q|The description that tells the user what this field represents.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'tmplVar category' => {
|
||||
message => q|The name of the category this field is in.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'tmplVar class' => {
|
||||
message => q|The stylesheet class name for this field. The class is the field value with spaces replaced with underscores and all non alphanumeric characters removed.|,
|
||||
lastUpdated => 1149784175,
|
||||
},
|
||||
|
||||
'detail template help body' => {
|
||||
lastUpdated => 1144969331,
|
||||
lastUpdated => 1149795166,
|
||||
message => q|<p>The following variables are available in the listing detail template.</p>
|
||||
|
||||
<p>
|
||||
<b>discussion</b><br />
|
||||
The forum attached to this listing.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>screenshot</b><br />
|
||||
The URL to the uploaded photo or screenshot.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>thumbnail</b><br />
|
||||
The URL to the thumbnail of the uploaded photo or screenshot
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>email.form</b><br />
|
||||
|
||||
A form to use to send an email to the listing maintainer.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>email.wasSent</b><br />
|
||||
A condition indicating whether an email message was sent or not.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>edit.url</b><br />
|
||||
|
||||
The URL to the edit page for this listing.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>user.canEdit</b><br />
|
||||
A condition indicating whether the current user has the privileges necessary to edit this listing.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>user.canApprove</b><br />
|
||||
|
||||
A condition indicating whether the current user has the privileges necessary to approve this listing so it appears on site.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>approve.url</b><br />
|
||||
The URL to approve this listing.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>delete.url</b><br />
|
||||
|
||||
The URL to delete this listing.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>isPending</b><br />
|
||||
A condition indicating whether this listing has been approved or not.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>lastUpdated.epoch</b><br />
|
||||
|
||||
The epoch date of when this listing was last updated.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>lastUpdated.date</b><br />
|
||||
A human readable date of when this listing was last updated.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>id</b><br />
|
||||
|
||||
The unique identifier of this listing.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>description</b><br />
|
||||
The description of this listing.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>productName</b><br />
|
||||
|
||||
The name of this listing.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>productUrl</b><br />
|
||||
The manufacturer's URL for this listing.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>productUrl.click</b><br />
|
||||
|
||||
The product URL to use if you want to register the click count for this listing.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>manufacturerName</b><br />
|
||||
The name of the company that manufactuers theproduct or provides the service represented in this listing.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>manufacturerUrl</b><br />
|
||||
|
||||
The manufacturer's URL.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>manufacturerUrl.click</b><br />
|
||||
The manufacturer URL to use if you want to register the click count for this listing.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>versionNumber</b><br />
|
||||
|
||||
The version number or model number of this product.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>views</b><br />
|
||||
The total number of views this listing has received.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>compares</b><br />
|
||||
|
||||
The total number of compares this listing has received.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>clicks</b><br />
|
||||
The total number of clicks this listing has received.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>ratings</b><br />
|
||||
|
||||
The ratings form (or results) for this listing.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b><i>category</i>_loop</b><br />
|
||||
A loop is created for each category in this matrix. The name of the loop is the category name with spaces replaced with hypens and a _loop added to the end. So if you have a category called "Bells and Whistles" then the loop would be called "bells-and-whistles_loop".
|
||||
</p>
|
||||
|
||||
<div class="helpIndent">
|
||||
<p>
|
||||
|
||||
<b>value</b><br />
|
||||
The value of this field.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>name</b><br />
|
||||
The name of this field.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
||||
<b>label</b><br />
|
||||
The label of this field.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>description</b><br />
|
||||
The description that tells the user what this field represents.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
||||
<b>category</b><br />
|
||||
The name the category this field is in.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>class</b><br />
|
||||
The stylesheet class name for this field. The class is the field value with spaces replaced with underscores and all non alphanumeric characters removed.
|
||||
</p>
|
||||
</div>
|
||||
|
|
||||
},
|
||||
|
||||
|
|
@ -335,198 +296,219 @@ our $I18N = {
|
|||
message => q|Matrix Listing Detail Template|
|
||||
},
|
||||
|
||||
'search.url' => {
|
||||
message => q|The URL to the matrix search page.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'isLoggedIn' => {
|
||||
message => q|A condition indicating whether the current user is logged in to the site.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'field.list.url' => {
|
||||
message => q|The URL to the page where you configure new fields for this matrix.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'listing.add.url' => {
|
||||
message => q|The URL to the page where a user can add a new listing to the matrix.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'best.views.url' => {
|
||||
message => q|The URL to the listing that has the most views.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'best.views.count' => {
|
||||
message => q|The total number of views of the listing that has the most views.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'best.views.name' => {
|
||||
message => q|The name of the listing that has the most views.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'best.compares.url' => {
|
||||
message => q|The URL to the listing that has the most compares.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'best.compares.count' => {
|
||||
message => q|The number of compares of the listing that has the most compares.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'best.compares.name' => {
|
||||
message => q|The name of the listing that has the most compares.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'best.clicks.url' => {
|
||||
message => q|The URL of the listing that has the most clicks.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'best.clicks.count' => {
|
||||
message => q|The number of clicks of the listing that has the most clicks.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'best.clicks.name' => {
|
||||
message => q|The name of the listing that has the most clicks.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'best_rating_loop' => {
|
||||
message => q|A loop containing all of the categories for this matrix and their best ratings.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'tmplVar best.url' => {
|
||||
message => q|The URL of the listing that has the best rating for this category.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'tmplVar best.category' => {
|
||||
message => q|The name of this cateogry.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'tmplVar best.name' => {
|
||||
message => q|The name of the listing that has the best rating for this category.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'mean' => {
|
||||
message => q|The mean (or average) rating of the best listing in this category.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'median' => {
|
||||
message => q|The median (or middle) rating of the best listing in this category.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'count' => {
|
||||
message => q|The sum of all the votes of the best listing in this category.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'worst_rating_loop' => {
|
||||
message => q|A loop containing all of the categories for this matrix and their worst ratings.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'tmplVar worst.url' => {
|
||||
message => q|The URL of the listing that has the worst rating for this category.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'tmplVar worst.category' => {
|
||||
message => q|The name of this cateogry.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'tmplVar worst.name' => {
|
||||
message => q|The name of the listing that has the worst rating for this category.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'tmplVar worst.mean' => {
|
||||
message => q|The mean (or average) rating of the worst listing in this category.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'median' => {
|
||||
message => q|The median (or middle) rating of the worst listing in this category.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'count' => {
|
||||
message => q|The sum of all the votes of the worst listing in this category.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'ratings.details.url' => {
|
||||
message => q|The URL to the ratings details page.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'best.posts.url' => {
|
||||
message => q|The URL to the listing that has the most forum posts.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'best.updated.url' => {
|
||||
message => q|The URL to the listing that was updated most recently.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'best.updated.date' => {
|
||||
message => q|The date of the most recently updated listing.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'best.updated.name' => {
|
||||
message => q|The name of the listing that was most recently updated.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'last_update_loop' => {
|
||||
message => q|A loop containing the 20 most recently updated listings.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'tmplVar last.url' => {
|
||||
message => q|The URL to view this listing.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'tmplVar last.name' => {
|
||||
message => q|The name of the product.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'tmplVar last.lastUpdated' => {
|
||||
message => q|The date this listing was updated.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'user.count' => {
|
||||
message => q|The total number of registered users on the site.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'current.user.count' => {
|
||||
message => q|The number of users browsing the site right now.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'listing.count' => {
|
||||
message => q|The number of listings in this matrix.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'pending_list' => {
|
||||
message => q|A loop containing the list of pending listing.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'tmplVar pending.url' => {
|
||||
message => q|The URL to the pending listing.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'tmplVar pending.productName' => {
|
||||
message => q|The product title of the pending listing.|,
|
||||
lastUpdated => 1149795214,
|
||||
},
|
||||
|
||||
'matrix template help body' => {
|
||||
lastUpdated => 0,
|
||||
message => q|<p>The following variables are available in the main Matrix template.</p>
|
||||
|
||||
<p><b>compare.form</b><br />
|
||||
The checkbox form that lists all of the comparable items in this matrix.
|
||||
</p>
|
||||
|
||||
<p><b>search.url</b><br />
|
||||
The URL to the matrix search page.
|
||||
</p>
|
||||
|
||||
<p><b>isLoggedIn</b><br />
|
||||
A condition indicating whether the current user is logged in to the site.
|
||||
</p>
|
||||
|
||||
<p><b>field.list.url</b><br />
|
||||
The URL to the page where you configure new fields for this matrix.
|
||||
</p>
|
||||
|
||||
<p><b>listing.add.url</b><br />
|
||||
The URL to the page where a user can add a new listing to the matrix.
|
||||
</p>
|
||||
|
||||
<p><b>best.views.url</b><br />
|
||||
The URL to the listing that has the most views.
|
||||
</p>
|
||||
|
||||
<p><b>best.views.count</b><br />
|
||||
The total number of views of the listing that has the most views.
|
||||
</p>
|
||||
|
||||
<p><b>best.views.name</b><br />
|
||||
The name of the listing that has the most views.
|
||||
</p>
|
||||
|
||||
<p><b>best.compares.url</b><br />
|
||||
The URL to the listing that has the most compares.
|
||||
</p>
|
||||
|
||||
<p><b>best.compares.count</b><br />
|
||||
The number of compares of the listing that has the most compares.
|
||||
</p>
|
||||
|
||||
<p><b>best.compares.name</b><br />
|
||||
The name of the listing that has the most compares.
|
||||
</p>
|
||||
|
||||
<p><b>best.clicks.url</b><br />
|
||||
The URL of the listing that has the most clicks.
|
||||
</p>
|
||||
|
||||
<p><b>best.clicks.count</b><br />
|
||||
The number of clicks of the listing that has the most clicks.
|
||||
</p>
|
||||
|
||||
<p><b>best.clicks.name</b><br />
|
||||
The name of the listing that has the most clicks.
|
||||
</p>
|
||||
|
||||
<p><b>best_rating_loop</b><br />
|
||||
A loop containing all of the categories for this matrix and their best ratings.
|
||||
</p>
|
||||
|
||||
<div class="helpIndent">
|
||||
|
||||
<p><b>url</b><br />
|
||||
The URL of the listing that has the best rating for this category.
|
||||
</p>
|
||||
|
||||
<p><b>category</b><br />
|
||||
The name of this cateogry.
|
||||
</p>
|
||||
|
||||
<p><b>name</b><br />
|
||||
The name of the listing that has the best rating for this category.
|
||||
</p>
|
||||
|
||||
<p><b>mean</b><br />
|
||||
The mean (or average) rating of the best listing in this category.
|
||||
</p>
|
||||
|
||||
<p><b>median</b><br />
|
||||
The median (or middle) rating of the best listing in this category.
|
||||
</p>
|
||||
|
||||
<p><b>count</b><br />
|
||||
The sum of all the votes of the best listing in this category.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<p><b>worst_rating_loop</b><br />
|
||||
A loop containing all of the categories for this matrix and their worst ratings.
|
||||
</p>
|
||||
|
||||
<div class="helpIndent">
|
||||
|
||||
<p><b>url</b><br />
|
||||
The URL of the listing that has the worst rating for this category.
|
||||
</p>
|
||||
|
||||
<p><b>category</b><br />
|
||||
The name of this cateogry.
|
||||
</p>
|
||||
|
||||
<p><b>name</b><br />
|
||||
The name of the listing that has the worst rating for this category.
|
||||
</p>
|
||||
|
||||
<p><b>mean</b><br />
|
||||
The mean (or average) rating of the worst listing in this category.
|
||||
</p>
|
||||
|
||||
<p><b>median</b><br />
|
||||
The median (or middle) rating of the worst listing in this category.
|
||||
</p>
|
||||
|
||||
<p><b>count</b><br />
|
||||
The sum of all the votes of the worst listing in this category.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<p><b>ratings.details.url</b><br />
|
||||
The URL to the ratings details page.
|
||||
</p>
|
||||
|
||||
<p><b>best.posts.url</b><br />
|
||||
The URL to the listing that has the most forum posts.
|
||||
</p>
|
||||
|
||||
<p><b>best.updated.url</b><br />
|
||||
The URL to the listing that was updated most recently.
|
||||
</p>
|
||||
|
||||
<p><b>best.updated.date</b><br />
|
||||
The date of the most recently updated listing.
|
||||
</p>
|
||||
|
||||
<p><b>best.updated.name</b><br />
|
||||
The name of the listing that was most recently updated.
|
||||
</p>
|
||||
|
||||
<p><b>last_update_loop</b><br />
|
||||
A loop containing the 20 most recently updated listings.
|
||||
</p>
|
||||
|
||||
<div class="helpIndent">
|
||||
|
||||
<p><b>url</b><br />
|
||||
The URL to view this listing.
|
||||
</p>
|
||||
|
||||
<p><b>name</b><br />
|
||||
The name of the product.
|
||||
</p>
|
||||
|
||||
<p><b>lastUpdated</b><br />
|
||||
The date this listing was updated.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<p><b>user.count</b><br />
|
||||
The total number of registered users on the site.
|
||||
</p>
|
||||
|
||||
<p><b>current.user.count</b><br />
|
||||
The number of users browsing the site right now.
|
||||
</p>
|
||||
|
||||
<p><b>listing.count</b><br />
|
||||
The number of listings in this matrix.
|
||||
</p>
|
||||
|
||||
<p><b>pending_list</b><br />
|
||||
A loop containing the list of pending listing.
|
||||
</p>
|
||||
|
||||
<div class="helpIndent">
|
||||
|
||||
<p><b>url</b><br />
|
||||
The URL to the pending listing.
|
||||
</p>
|
||||
|
||||
<p><b>productName</b><br />
|
||||
The product title of the pending listing.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
|
||||
lastUpdated => 1149795645,
|
||||
message => q|<p>The following variables are available in the main Matrix template.</p>|
|
||||
},
|
||||
|
||||
'matrix template help title' => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue