[*] BO : cms meta keywords now use tagify
This commit is contained in:
@@ -138,4 +138,11 @@ class AdminCmsContentControllerCore extends AdminController
|
|||||||
|| (Tools::isSubmit('position') && Tools::isSubmit('id_cms_category_to_move')))
|
|| (Tools::isSubmit('position') && Tools::isSubmit('id_cms_category_to_move')))
|
||||||
$this->adminCMSCategories->postProcess();
|
$this->adminCMSCategories->postProcess();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function setMedia()
|
||||||
|
{
|
||||||
|
parent::setMedia();
|
||||||
|
$this->addJqueryUi('ui.widget');
|
||||||
|
$this->addJqueryPlugin('tagify');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -96,21 +96,24 @@ class AdminCmsControllerCore extends AdminController
|
|||||||
'lang' => true,
|
'lang' => true,
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'class' => 'copy2friendlyUrl',
|
'class' => 'copy2friendlyUrl',
|
||||||
'hint' => $this->l('Invalid characters:').' <>;=#{}'
|
'hint' => $this->l('Invalid characters:').' <>;=#{}',
|
||||||
|
'size' => 50
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'label' => $this->l('Meta description'),
|
'label' => $this->l('Meta description'),
|
||||||
'name' => 'meta_description',
|
'name' => 'meta_description',
|
||||||
'lang' => true,
|
'lang' => true,
|
||||||
'hint' => $this->l('Invalid characters:').' <>;=#{}'
|
'hint' => $this->l('Invalid characters:').' <>;=#{}',
|
||||||
|
'size' => 70
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'type' => 'text',
|
'type' => 'tags',
|
||||||
'label' => $this->l('Meta keywords'),
|
'label' => $this->l('Meta keywords'),
|
||||||
'name' => 'meta_keywords',
|
'name' => 'meta_keywords',
|
||||||
'lang' => true,
|
'lang' => true,
|
||||||
'hint' => $this->l('Invalid characters:').' <>;=#{}'
|
'hint' => $this->l('Invalid characters:').' <>;=#{}',
|
||||||
|
'size' => 70
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
|
|||||||
Reference in New Issue
Block a user