added matrix asset
This commit is contained in:
parent
9fda810ad0
commit
f98ac111f9
6 changed files with 2544 additions and 0 deletions
|
|
@ -16,6 +16,7 @@
|
|||
templates.
|
||||
- Added Spectre, WebGUI's new background processing engine which manages
|
||||
things like scheduled tasks and workflow processing.
|
||||
- Added Matrix asset.
|
||||
|
||||
|
||||
6.7.7
|
||||
|
|
|
|||
|
|
@ -35,8 +35,573 @@ addAvatarField();
|
|||
addEnableAvatarColumn();
|
||||
addSpectre();
|
||||
addWorkflow();
|
||||
addMatrix();
|
||||
finish();
|
||||
|
||||
#-------------------------------------------------
|
||||
sub addMatrix {
|
||||
print "\tAdding Matrix Asset\n" unless ($quiet);
|
||||
WebGUI::SQL->write("CREATE TABLE `Matrix_rating` (
|
||||
`timeStamp` int(11) NOT NULL default '0',
|
||||
`category` varchar(255) default NULL,
|
||||
`rating` int(11) NOT NULL default '1',
|
||||
`listingId` varchar(22) binary NOT NULL default '',
|
||||
`ipAddress` varchar(15) default NULL,
|
||||
`assetId` varchar(22) binary NOT NULL default '',
|
||||
`userId` varchar(22) binary default NULL
|
||||
) ");
|
||||
WebGUI::SQL->write("CREATE TABLE `Matrix_listingData` (
|
||||
`listingId` varchar(22) binary NOT NULL default '',
|
||||
`fieldId` varchar(22) binary NOT NULL default '',
|
||||
`value` varchar(255) default NULL,
|
||||
`assetId` varchar(22) binary NOT NULL default '',
|
||||
PRIMARY KEY (`listingId`,`fieldId`)
|
||||
) ");
|
||||
WebGUI::SQL->write("CREATE TABLE `Matrix_field` (
|
||||
`fieldId` varchar(22) binary NOT NULL default '',
|
||||
`category` varchar(255) NOT NULL default '',
|
||||
`name` varchar(255) default NULL,
|
||||
`label` varchar(255) default NULL,
|
||||
`description` text,
|
||||
`fieldType` varchar(35) default NULL,
|
||||
`defaultValue` varchar(255) default NULL,
|
||||
`assetId` varchar(22) binary NOT NULL default '',
|
||||
PRIMARY KEY (`fieldId`),
|
||||
KEY `categoryIndex` (`category`)
|
||||
) ");
|
||||
WebGUI::SQL->write("CREATE TABLE `Matrix_ratingSummary` (
|
||||
`listingId` varchar(22) binary NOT NULL default '',
|
||||
`category` varchar(255) NOT NULL default '',
|
||||
`meanValue` decimal(3,2) default NULL,
|
||||
`medianValue` int(11) default NULL,
|
||||
`countValue` int(11) default NULL,
|
||||
`assetId` varchar(22) binary NOT NULL default '',
|
||||
PRIMARY KEY (`listingId`,`category`)
|
||||
)");
|
||||
WebGUI::SQL->write("CREATE TABLE `Matrix` (
|
||||
`detailTemplateId` varchar(22) binary default NULL,
|
||||
`compareTemplateId` varchar(22) binary default NULL,
|
||||
`searchTemplateId` varchar(22) binary default NULL,
|
||||
`ratingDetailTemplateId` varchar(22) binary default NULL,
|
||||
`categories` text,
|
||||
`assetId` varchar(22) binary NOT NULL default '',
|
||||
`templateId` varchar(22) binary NOT NULL default '',
|
||||
`revisionDate` bigint(20) NOT NULL default '0',
|
||||
`maxComparisons` int(11) NOT NULL default '10',
|
||||
`maxComparisonsPrivileged` int(11) NOT NULL default '10',
|
||||
`privilegedGroup` varchar(22) binary NOT NULL default '2',
|
||||
`groupToRate` varchar(22) binary NOT NULL default '2',
|
||||
`ratingTimeout` int(11) NOT NULL default '31536000',
|
||||
`ratingTimeoutPrivileged` int(11) NOT NULL default '31536000',
|
||||
`groupToAdd` varchar(22) binary NOT NULL default '2',
|
||||
PRIMARY KEY (`assetId`,`revisionDate`)
|
||||
) ");
|
||||
WebGUI::SQL->write("CREATE TABLE `Matrix_listing` (
|
||||
`listingId` varchar(22) binary NOT NULL default '',
|
||||
`maintainerId` varchar(22) binary default NULL,
|
||||
`forumId` varchar(22) binary default NULL,
|
||||
`productName` varchar(255) default NULL,
|
||||
`productUrl` text,
|
||||
`manufacturerName` varchar(255) default NULL,
|
||||
`manufacturerUrl` text,
|
||||
`description` text,
|
||||
`lastUpdated` int(11) default NULL,
|
||||
`versionNumber` varchar(30) default NULL,
|
||||
`views` int(11) NOT NULL default '0',
|
||||
`compares` int(11) NOT NULL default '0',
|
||||
`clicks` int(11) NOT NULL default '0',
|
||||
`status` varchar(30) NOT NULL default 'pending',
|
||||
`clicksLastIp` varchar(16) default NULL,
|
||||
`viewsLastIp` varchar(16) default NULL,
|
||||
`comparesLastIp` varchar(16) default NULL,
|
||||
`assetId` varchar(22) binary NOT NULL default '',
|
||||
PRIMARY KEY (`listingId`)
|
||||
) ");
|
||||
my $import = WebGUI::Asset->getImportNode;
|
||||
my $folder = $import->addChild({
|
||||
title=>"Matrix Templates",
|
||||
menuTitle=>"Matrix Templates",
|
||||
className=>"WebGUI::Asset::Wobject::Folder",
|
||||
url=>"matrix-templates",
|
||||
});
|
||||
my $template = <<STOP;
|
||||
<h1>Comparison</h1>
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="font-size: 11px; font-family: helvetica, arial, sans-serif;">
|
||||
|
||||
<tr>
|
||||
<td valign="top"><tmpl_var compare.form></td>
|
||||
|
||||
<td valign="top">
|
||||
|
||||
<tmpl_if isTooMany>
|
||||
You tried to compare too many listings. Please choose <tmpl_var maxCompares> or less at a time.
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if isTooFew>
|
||||
You must choose at least two products to compare. Less than two isn't much of a comparison.
|
||||
</tmpl_if>
|
||||
|
||||
|
||||
<tmpl_unless isTooFew><tmpl_unless isTooMany>
|
||||
|
||||
|
||||
<table style="font-size: 11px; font-family: helvetica, arial, sans-serif;" align="center" cellpadding="1" cellspacing="1" border="0">
|
||||
<tr>
|
||||
<td>Product</td>
|
||||
<tmpl_loop product_loop>
|
||||
<td><a href="<tmpl_var url>"><tmpl_var name> <tmpl_var version></a></td>
|
||||
</tmpl_loop>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Last Updated</td>
|
||||
<tmpl_loop lastupdated_loop>
|
||||
<td><tmpl_var lastupdated></a></td>
|
||||
</tmpl_loop>
|
||||
</tr>
|
||||
|
||||
<tmpl_loop category_loop>
|
||||
<tr><td class="category"><tmpl_var category></td>
|
||||
<tmpl_loop product_loop>
|
||||
<td align="center"><b><tmpl_var name></b></td>
|
||||
</tmpl_loop>
|
||||
|
||||
|
||||
</tr>
|
||||
<tmpl_loop row_loop>
|
||||
<tr
|
||||
<tmpl_if __ODD__>
|
||||
class="odd"
|
||||
<tmpl_else>
|
||||
class="even"
|
||||
</tmpl_if>
|
||||
>
|
||||
<tmpl_loop column_loop>
|
||||
<td class="<tmpl_var class>" <tmpl_if description>onmouseover="return escape('<tmpl_var description>')"</tmpl_if>>
|
||||
<tmpl_var value>
|
||||
</td>
|
||||
</tmpl_loop>
|
||||
</tr>
|
||||
</tmpl_loop>
|
||||
</tmpl_loop>
|
||||
</table>
|
||||
|
||||
|
||||
</tmpl_unless></tmpl_unless>
|
||||
|
||||
</td></tr></table>
|
||||
STOP
|
||||
my $newAsset = $folder->addChild({
|
||||
title=>"Matrix Default Compare",
|
||||
menuTitle=>"Matrix Default Compare",
|
||||
namespace=>"Matrix/Compare",
|
||||
url=>"matrix-default-compare-template",
|
||||
className=>"WebGUI::Asset::Template",
|
||||
template=>$template
|
||||
}, "matrixtmpl000000000002");
|
||||
$newAsset->commit;
|
||||
$template = <<STOP;
|
||||
<tmpl_if session.var.adminOn>
|
||||
<p><tmpl_var toolbar></p>
|
||||
</tmpl_if>
|
||||
<h1><tmpl_var title></h1>
|
||||
|
||||
<tmpl_if description>
|
||||
<tmpl_var description><br /><br />
|
||||
</tmpl_if>
|
||||
|
||||
<table class="content" width="100%">
|
||||
<tr><td valign="top" width="50%">
|
||||
<p>Use the form below to select up to <tmpl_var maxCompares> listings to compare at once.
|
||||
</p>
|
||||
<tmpl_var compare.form>
|
||||
|
||||
</td><td valign="top">
|
||||
|
||||
|
||||
<p>
|
||||
<b>Narrow The Matrix</b><br>
|
||||
You can narrow the scope of the matrix by <a href="<tmpl_var search.url>">searching</a> for exactly the criteria you're looking for in a listing.
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
<br><b>Expand The Matrix</b><br>
|
||||
<tmpl_if isLoggedIn>
|
||||
<a href="<tmpl_var listing.add.url>">Click here to add a new listing.</a> Please note that you will be the official maintainer of the listing, and will be responsible for keeping it up to date.
|
||||
<tmpl_else>
|
||||
If you are the maker of a product, or are an expert user and are willing to maintain the listing, <a href="^a(linkonly);">create an account</a> so you can register your listing.
|
||||
</tmpl_if>
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
<br><b>Listing Statistics</b><br>
|
||||
<table class="content">
|
||||
<tr>
|
||||
<td>Most clicks:</td>
|
||||
<td><tmpl_var best.clicks.count></td>
|
||||
<td><a href="<tmpl_var best.clicks.url>"><tmpl_var best.clicks.name></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Most views:</td>
|
||||
<td><tmpl_var best.views.count></td>
|
||||
<td><a href="<tmpl_var best.views.url>"><tmpl_var best.views.name></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Most compares:</td>
|
||||
<td><tmpl_var best.compares.count></td>
|
||||
<td><a href="<tmpl_var best.compares.url>"><tmpl_var best.compares.name></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Most recently updated:</td>
|
||||
<td><tmpl_var best.updated.date></td>
|
||||
<td><a href="<tmpl_var best.updated.url>"><tmpl_var best.updated.name></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3"><hr size="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" colspan="3">Best Rated By Users</td>
|
||||
</tr>
|
||||
<tmpl_loop best_rating_loop>
|
||||
<tr>
|
||||
<td><tmpl_var category></td>
|
||||
<td><tmpl_var mean>/10</td>
|
||||
<td><a href="<tmpl_var url>"><tmpl_var name></a></td>
|
||||
</tr>
|
||||
</tmpl_loop>
|
||||
|
||||
|
||||
<tr>
|
||||
<td colspan="3"><hr size="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" align="center"><a href="<tmpl_var ratings.details.url>">View Ratings Details</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3"><hr size="1"></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td align="center" colspan="3">Worst Rated By Users</td>
|
||||
</tr>
|
||||
<tmpl_loop worst_rating_loop>
|
||||
<tr>
|
||||
<td><tmpl_var category></td>
|
||||
<td><tmpl_var mean>/10</td>
|
||||
<td><a href="<tmpl_var url>"><tmpl_var name></a></td>
|
||||
</tr>
|
||||
</tmpl_loop>
|
||||
|
||||
<tr>
|
||||
<td colspan="3"><hr size="1"></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<br><b>Site Statistics</b><br>
|
||||
<table class="content">
|
||||
<tr>
|
||||
<td>Listing Count:</td>
|
||||
<td><tmpl_var listing.count></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Current Visitors:</td>
|
||||
<td><tmpl_var current.user.count></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Registered Users:</td>
|
||||
<td><tmpl_var user.count></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<tmpl_if session.var.adminOn>
|
||||
<p> <a href="<tmpl_var field.list.url>">List Fields</a>
|
||||
</p>
|
||||
<tmpl_if pending_list>
|
||||
<b>PENDING LISTINGS:</b>
|
||||
</tmpl_if>
|
||||
<ul>
|
||||
<tmpl_loop pending_list>
|
||||
<li><a href="<tmpl_var url>"><tmpl_var productName></a></li>
|
||||
</tmpl_loop>
|
||||
</ul>
|
||||
</tmpl_if>
|
||||
|
||||
</td></tr></table>
|
||||
STOP
|
||||
$newAsset = $folder->addChild({
|
||||
title=>"Matrix Default View",
|
||||
menuTitle=>"Matrix Default View",
|
||||
namespace=>"Matrix",
|
||||
url=>"matrix-default-view-template",
|
||||
className=>"WebGUI::Asset::Template",
|
||||
template=>$template
|
||||
}, "matrixtmpl000000000001");
|
||||
$newAsset->commit;
|
||||
$template = <<STOP;
|
||||
<style>
|
||||
.ratingForm {
|
||||
font-size: 9px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<h1><tmpl_var productName></h1>
|
||||
|
||||
|
||||
<table class="content">
|
||||
<tr><td valign="top">
|
||||
|
||||
<table class="content">
|
||||
<tr><td><b>Web Site</b></td><td><a target="_blank" href="<tmpl_var productUrl.click>"><tmpl_var productUrl></a></td></tr>
|
||||
<tr><td><b>Version Number</b></td><td><tmpl_var versionNumber></td></tr>
|
||||
<tr><td><b>Manufacturer</b></td><td><a target="_blank" href="<tmpl_var manufacturerUrl.click>"><tmpl_var manufacturerName></a></td></tr>
|
||||
<tr><td><b>Last Updated</b></td><td><tmpl_var lastUpdated.date></td></tr>
|
||||
<tr><td><b>Clicks</b></td><td><tmpl_var clicks></td></tr>
|
||||
<tr><td><b>Views</b></td><td><tmpl_var views></td></tr>
|
||||
<tr><td><b>Compares</b></td><td><tmpl_var compares></td></tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
|
||||
<td valign="top"> </td>
|
||||
<td valign="top">
|
||||
<tmpl_if description>
|
||||
<b>Description</b><br /><tmpl_var description><br /><br />
|
||||
</tmpl_if>
|
||||
|
||||
<b>Contact Maintainer</b><br />
|
||||
<tmpl_if email.wasSent>
|
||||
<div style="color: green;">Message sent.<br /></div>
|
||||
</tmpl_if>
|
||||
<tmpl_var email.form>
|
||||
</td>
|
||||
|
||||
|
||||
<td valign="top"> </td>
|
||||
<td valign="top">
|
||||
<tmpl_var ratings>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
<p />
|
||||
|
||||
|
||||
<table width="100%" class="content">
|
||||
<tr>
|
||||
<td valign="top" width="50%">
|
||||
<span class="category">Features</span>
|
||||
<table class="content" width="180">
|
||||
|
||||
<tmpl_loop features_loop>
|
||||
<tr
|
||||
<tmpl_if __ODD__>
|
||||
class="odd"
|
||||
<tmpl_else>
|
||||
class="even"
|
||||
</tmpl_if>
|
||||
>
|
||||
<td onmouseover="return escape('<tmpl_var description>')"><tmpl_var label></td><td><tmpl_var value></td>
|
||||
</tr>
|
||||
</tmpl_loop>
|
||||
</table>
|
||||
<p />
|
||||
|
||||
|
||||
</td>
|
||||
<td valign="top" width="50%">
|
||||
|
||||
<span class="category">Benefits</span>
|
||||
<table class="content" width="180">
|
||||
<tmpl_loop benefits_loop>
|
||||
<tr
|
||||
<tmpl_if __ODD__>
|
||||
class="odd"
|
||||
<tmpl_else>
|
||||
class="even"
|
||||
</tmpl_if>
|
||||
>
|
||||
<td onmouseover="return escape('<tmpl_var description>')"><tmpl_var label></td><td class="<tmpl_var class>"><tmpl_var value></td>
|
||||
</tr>
|
||||
</tmpl_loop>
|
||||
</table>
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p />
|
||||
|
||||
<tmpl_var discussion>
|
||||
|
||||
|
||||
<tmpl_if user.canEdit>
|
||||
<br /> <hr /><a href="<tmpl_var edit.url>">Edit this listing.</a> <br>
|
||||
</tmpl_if>
|
||||
<tmpl_if user.canApprove>
|
||||
<tmpl_if isPending>
|
||||
<a href="<tmpl_var approve.url>">Approve this listing.</a><br>
|
||||
</tmpl_if>
|
||||
<a href="<tmpl_var delete.url>">Delete this listing.</a><br>
|
||||
|
||||
</tmpl_if>
|
||||
STOP
|
||||
$newAsset = $folder->addChild({
|
||||
title=>"Matrix Default Detailed Listing",
|
||||
menuTitle=>"Matrix Default Detailed Listing",
|
||||
namespace=>"Matrix/Detail",
|
||||
url=>"matrix-default-detailed-listing",
|
||||
className=>"WebGUI::Asset::Template",
|
||||
template=>$template
|
||||
}, "matrixtmpl000000000003");
|
||||
$newAsset->commit;
|
||||
$template = <<STOP;
|
||||
<h1>Rating Detail</h1>
|
||||
|
||||
<table class="content" cellpadding="5" width="60%">
|
||||
<tbody>
|
||||
<tmpl_loop rating_loop>
|
||||
<tmpl_if __ODD__>
|
||||
<tr>
|
||||
</tmpl_if>
|
||||
|
||||
<td width="50%" valign="top">
|
||||
<h2><tmpl_var category></h2>
|
||||
|
||||
<table class="content">
|
||||
<tbody>
|
||||
<tr><th>Listing</th><th>Mean</th><th>Median</th><th>Count</th></tr>
|
||||
<tmpl_loop detail_loop>
|
||||
|
||||
<tr>
|
||||
<td><a href="<tmpl_var url>"><tmpl_var name></a></td>
|
||||
<td><tmpl_var mean></td>
|
||||
<td><tmpl_var median></td>
|
||||
<td><tmpl_var count></td>
|
||||
</tr>
|
||||
|
||||
</tmpl_loop>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
<tmpl_if __EVEN__>
|
||||
</tr>
|
||||
</tmpl_if>
|
||||
|
||||
</tmpl_loop>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
STOP
|
||||
$newAsset = $folder->addChild({
|
||||
title=>"Matrix Default Rating Detail",
|
||||
menuTitle=>"Matrix Default Rating Detail",
|
||||
namespace=>"Matrix/RatingDetail",
|
||||
url=>"matrix-rating-detail-template",
|
||||
className=>"WebGUI::Asset::Template",
|
||||
template=>$template
|
||||
}, "matrixtmpl000000000004");
|
||||
$newAsset->commit;
|
||||
$template = <<STOP;
|
||||
<h1>Search The Matrix</h1>
|
||||
|
||||
|
||||
<tmpl_if isTooFew>
|
||||
<p>Your search returned no results. Try specifying a few less criteria.</p>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if isTooMany>
|
||||
<p>
|
||||
Your search returned too many results. Either select up to <tmpl_var maxCompares> products from the list below, or specify more critera.
|
||||
</p>
|
||||
</tmpl_if>
|
||||
|
||||
|
||||
<table width="100%" class="content">
|
||||
<tr><td valign="top">
|
||||
<tmpl_var compare.form>
|
||||
</td><td valign="top">
|
||||
|
||||
|
||||
|
||||
<tmpl_var form.header>
|
||||
<tmpl_var form.submit>
|
||||
|
||||
|
||||
<table width="100%" class="content">
|
||||
<tr>
|
||||
<td valign="top" width="50%">
|
||||
|
||||
|
||||
<span class="category">Features</span>
|
||||
<table class="content" width="180">
|
||||
<tmpl_loop features_loop>
|
||||
<tr
|
||||
<tmpl_if __ODD__>
|
||||
class="odd"
|
||||
<tmpl_else>
|
||||
class="even"
|
||||
</tmpl_if>
|
||||
>
|
||||
<td onmouseover="return escape('<tmpl_var description>')"><tmpl_var label></td><td><tmpl_var form></td>
|
||||
</tr>
|
||||
</tmpl_loop>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
<td valign="top" width="50%">
|
||||
|
||||
<span class="category">Benefits</span>
|
||||
<table class="content">
|
||||
<tmpl_loop benefits_loop>
|
||||
<tr
|
||||
<tmpl_if __ODD__>
|
||||
class="odd"
|
||||
<tmpl_else>
|
||||
class="even"
|
||||
</tmpl_if>
|
||||
>
|
||||
<td onmouseover="return escape('<tmpl_var description>')"><tmpl_var label></td><td><tmpl_var form></td>
|
||||
</tr>
|
||||
</tmpl_loop>
|
||||
</table>
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<tmpl_var form.submit>
|
||||
<tmpl_var form.footer>
|
||||
|
||||
|
||||
</td></tr></table>
|
||||
STOP
|
||||
$newAsset = $folder->addChild({
|
||||
title=>"Matrix Default Search",
|
||||
menuTitle=>"Matrix Default Search",
|
||||
namespace=>"Matrix/Search",
|
||||
url=>"matrix-search-template",
|
||||
className=>"WebGUI::Asset::Template",
|
||||
template=>$template
|
||||
}, "matrixtmpl000000000005");
|
||||
$newAsset->commit;
|
||||
}
|
||||
|
||||
#-------------------------------------------------
|
||||
sub updateCollaboration {
|
||||
print "\tAdding collaboration/rss template\n" unless ($quiet);
|
||||
|
|
|
|||
|
|
@ -111,6 +111,7 @@ assets = WebGUI::Asset::Snippet, \
|
|||
WebGUI::Asset::Wobject::IndexedSearch, \
|
||||
WebGUI::Asset::Wobject::MessageBoard, \
|
||||
WebGUI::Asset::Wobject::Navigation, \
|
||||
WebGUI::Asset::Wobject::Matrix, \
|
||||
WebGUI::Asset::Wobject::Poll, \
|
||||
WebGUI::Asset::Wobject::Product, \
|
||||
WebGUI::Asset::Wobject::SQLReport, \
|
||||
|
|
|
|||
1130
lib/WebGUI/Asset/Wobject/Matrix.pm
Normal file
1130
lib/WebGUI/Asset/Wobject/Matrix.pm
Normal file
File diff suppressed because it is too large
Load diff
162
lib/WebGUI/Help/Asset_Matrix.pm
Normal file
162
lib/WebGUI/Help/Asset_Matrix.pm
Normal file
|
|
@ -0,0 +1,162 @@
|
|||
package WebGUI::Help::Asset_Matrix;
|
||||
|
||||
our $HELP = {
|
||||
'add/edit' => {
|
||||
title => 'add/edit help title',
|
||||
body => 'add/edit help body',
|
||||
related => [
|
||||
{
|
||||
tag => 'search template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'compare template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'ratings detail template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'main template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'listing detail template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
],
|
||||
},
|
||||
'search template' => {
|
||||
title => 'search template help title',
|
||||
body => 'search template help body',
|
||||
related => [
|
||||
{
|
||||
tag => 'add/edit',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'compare template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'ratings detail template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'main template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'listing detail template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
],
|
||||
},
|
||||
'compare template' => {
|
||||
title => 'compare template help title',
|
||||
body => 'compare template help body',
|
||||
related => [
|
||||
{
|
||||
tag => 'add/edit',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'search template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'ratings detail template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'main template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'listing detail template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
],
|
||||
},
|
||||
'ratings detail template' => {
|
||||
title => 'ratings detail template help title',
|
||||
body => 'ratings detail template help body',
|
||||
related => [
|
||||
{
|
||||
tag => 'add/edit',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'search template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'compare template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'main template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'listing detail template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
],
|
||||
},
|
||||
'main template' => {
|
||||
title => 'matrix template help title',
|
||||
body => 'matrix template help body',
|
||||
related => [
|
||||
{
|
||||
tag => 'add/edit',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'search template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'compare template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'ratings detail template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'listing detail template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
],
|
||||
},
|
||||
'listing detail template' => {
|
||||
title => 'detail template help title',
|
||||
body => 'detail template help body',
|
||||
related => [
|
||||
{
|
||||
tag => 'add/edit',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'search template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'compare template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'ratings detail template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'main template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
685
lib/WebGUI/i18n/English/Asset_Matrix.pm
Normal file
685
lib/WebGUI/i18n/English/Asset_Matrix.pm
Normal file
|
|
@ -0,0 +1,685 @@
|
|||
package WebGUI::i18n::English::Asset_Matrix;
|
||||
|
||||
our $I18N = {
|
||||
'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>
|
||||
|
||||
<blockquote>
|
||||
<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>
|
||||
|
||||
</blockquote>
|
||||
|
||||
<p>
|
||||
<b>lastupdated_loop</b><br />
|
||||
A loop containing the last updated dates for each listing.
|
||||
</p>
|
||||
|
||||
<blockquote>
|
||||
<p>
|
||||
<b>lastUpdated</b><br />
|
||||
|
||||
The human readable date that this product was last updated.
|
||||
</p>
|
||||
</blockquote>
|
||||
|
||||
<p>
|
||||
<b>category_loop</b><br />
|
||||
A loop containing all of the category information for each listing.
|
||||
</p>
|
||||
|
||||
<blockquote>
|
||||
|
||||
<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>
|
||||
|
||||
<blockquote>
|
||||
<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>
|
||||
|
||||
<blockquote>
|
||||
<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>
|
||||
</blockquote>
|
||||
|
||||
</blockquote>
|
||||
</blockquote> |
|
||||
},
|
||||
|
||||
'comparison template help title' => {
|
||||
lastUpdated => 0,
|
||||
message => q|Matrix Comparison Template|
|
||||
},
|
||||
|
||||
'detail template help body' => {
|
||||
lastUpdated => 0,
|
||||
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>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>
|
||||
|
||||
<blockquote>
|
||||
<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>
|
||||
</blockquote>
|
||||
|
|
||||
},
|
||||
|
||||
'detail template help title' => {
|
||||
lastUpdated => 0,
|
||||
message => q|Matrix Listing Detail Template|
|
||||
},
|
||||
|
||||
'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>
|
||||
|
||||
<blockquote>
|
||||
|
||||
<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>
|
||||
|
||||
</blockquote>
|
||||
|
||||
<p>
|
||||
<b>worst_rating_loop</b><br />
|
||||
A loop containing all of the categories for this matrix and their worst ratings.
|
||||
</p>
|
||||
|
||||
<blockquote>
|
||||
<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>
|
||||
</blockquote>
|
||||
|
||||
<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>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.
|
||||
<blockquote>
|
||||
<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>
|
||||
</blockquote>
|
||||
</p> |
|
||||
},
|
||||
|
||||
'matrix template help title' => {
|
||||
lastUpdated => 0,
|
||||
message => q|Matrix Main Template|
|
||||
},
|
||||
|
||||
'ratings detail template help title' => {
|
||||
lastUpdated => 0,
|
||||
message => q|Matrix Ratings Detail Template|
|
||||
},
|
||||
|
||||
'ratings detail template help body' => {
|
||||
lastUpdated => 0,
|
||||
message => q|<p>The following variables are available in the ratings detail template.</p>
|
||||
|
||||
<p>
|
||||
<b>rating_loop</b><br />
|
||||
This loop contains a list of the categories in this matrix.
|
||||
</p>
|
||||
|
||||
<blockquote>
|
||||
|
||||
<p>
|
||||
<b>category</b><br />
|
||||
The name of the current category.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>detail_loop</b><br />
|
||||
A loop containing a list of listings who have had at least 10 ratings votes and are listed in order by average rating from highest to lowest.
|
||||
</p>
|
||||
|
||||
<blockquote>
|
||||
<p>
|
||||
<b>url</b><br />
|
||||
The URL to the detail page for this listing.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>mean</b><br />
|
||||
|
||||
This listing's mean (or average) rating.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>median</b><br />
|
||||
This listing's median (or middle) rating.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>count</b><br />
|
||||
|
||||
The total score for this listing.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>name</b><br />
|
||||
The name of this listing.
|
||||
</p>
|
||||
</blockquote>
|
||||
</blockquote> |
|
||||
},
|
||||
|
||||
'search template help body' => {
|
||||
lastUpdated => 0,
|
||||
message => q|<p>The following variables are available in the matrix search template.</p>
|
||||
|
||||
<p>
|
||||
<b>compare.form</b><br />
|
||||
The checkbox form that lists all of the listings in this matrix.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>form.header</b><br />
|
||||
|
||||
The required header component of the search form.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>form.footer</b><br />
|
||||
The required footer component of the search form.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>form.submit</b><br />
|
||||
|
||||
The default submit button for the search form.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b><i>category</i>_loop</b><br />
|
||||
A loop is created for each category in this matrix. The category name is "<i>category</i>_loop" where category is the name of the category with spaces replaced with hyphens. So if you had a category called "Bells And Whistles" the loop would be called "bells-and-whistles_loop".
|
||||
</p>
|
||||
|
||||
<blockquote>
|
||||
|
||||
<p>
|
||||
<b>name</b><br />
|
||||
The name of the listing.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>fieldType</b><br />
|
||||
The type of field specified for this matrix field.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>label</b><br />
|
||||
The label given to this field that describes what the field represents.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>description</b><br />
|
||||
A description of the field that gives more detail about the field and is used in the hover over tool tips.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>form</b><br />
|
||||
The form element representing this field.
|
||||
</p>
|
||||
|
||||
</blockquote>|
|
||||
},
|
||||
|
||||
'search template help title' => {
|
||||
lastUpdated => 0,
|
||||
message => q|Matrix Search Template|
|
||||
},
|
||||
|
||||
'add/edit help title' => {
|
||||
lastUpdated => 0,
|
||||
message => q|Matrix, Add/Edit|
|
||||
},
|
||||
|
||||
'add/edit help body' => {
|
||||
lastUpdated => 0,
|
||||
message => q|<p>The Matrix allows you to set up a really powerful comparison system for any manner of item or service.</p>
|
||||
|
||||
<p>
|
||||
<b>Categories</b><br />
|
||||
|
||||
Specify one category per line here to define the categories for this matrix. Categories are used to subdivide fields and also represent the things users can rate each listing on.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>Detail Template</b><br />
|
||||
Select a template to be used to display the detailed information about a listing.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>Rating Detail Template</b><br />
|
||||
|
||||
Select a template to be used to display the detailed ratings information.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>Search Template</b><br />
|
||||
Select a template to be used to display the search engine interface.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>Compare Template</b><br />
|
||||
Select a template to be used to show the listing comparison data.
|
||||
</p>|
|
||||
},
|
||||
}
|
||||
|
||||
1;
|
||||
Loading…
Add table
Add a link
Reference in a new issue