User tests: Successful: Unsuccessful:
Fixes filtering banners by keywords. Similar to #29466.
Create a banner client.
Create a banner. Assign to a client. Add a keyword, e.g. Joomla
.
Set some keywords for the document. Make sure the last keyword is not the same as the one set in the banner. E.g. add this to templates/cassiopeia/index.php
:
$this->setMetadata('keywords', 'Joomla, CMS');
Publish a banner module. Enable Select by Keyword
option.
View the module in frontend.
Banner shown.
Banner not shown.
Status | New | ⇒ | Pending |
Category | ⇒ | Front End com_banners |
I have tested this item
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-06-12 23:52:40 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
|
Thanks!
Was not sure where to add,
So, added above line (Instructions) templates/cassiopeia/index.php: to this place:
$app = Factory::getApplication();
$lang = $app->getLanguage();
$wa = $this->getWebAssetManager();
$this->setMetadata('keywords', 'Joomla, CMS');