Added an asset called Shelf, which allows you to create categories of Skus.
This commit is contained in:
parent
e9853fdf5c
commit
82056c66aa
10 changed files with 266 additions and 29 deletions
|
|
@ -947,9 +947,9 @@ sub getEditForm {
|
|||
# display keywords field
|
||||
$tabform->getTab('meta')->text(
|
||||
name => 'keywords',
|
||||
value => $self->get('keywords'),
|
||||
label => $i18n->get('keywords'),
|
||||
hoverHelp => $i18n->get('keywords help'),
|
||||
value => $self->get('keywords'),
|
||||
);
|
||||
|
||||
# metadata / content profiling
|
||||
|
|
@ -1954,7 +1954,7 @@ sub prepareView {
|
|||
my $self = shift;
|
||||
$self->{_toolbar} = $self->getToolbar;
|
||||
my $style = $self->session->style;
|
||||
my @keywords = $self->get('keywords');
|
||||
my @keywords = @{WebGUI::Keyword->new($self->session)->getKeywordsForAsset({asset=>$self, asArrayRef=>1})};
|
||||
if (scalar @keywords) {
|
||||
$style->setMeta( {
|
||||
name => 'keywords',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue