My abook menuitem metatags will not be displayed

Started by büro exit, 06 October 2012, 16:26:25

Previous topic - Next topic
A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

büro exit

Hi,
I have the problem that my metatags will not be displayed in the sourcecode.
I have an menuitem who display all abook books. In it I have declared metatags who I need for display baners.
What could be the problem? On all other menuitems it works perfects.

best regards

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

federica

Hi,
this is a bug, I will fix it in the next version.
If you want fix it yourselft you have to modify the file /components/com_abook/views/categories/view.html.php
Add this code after row 81:
if ($this->params->get('menu-meta_keywords')){
                        $this->document->setMetadata('keywords', $this->params->get('menu-meta_keywords'));
}
if ($this->params->get('robots')){
                        $this->document->setMetadata('robots', $this->params->get('robots'));
}
if ($this->params->get('menu-meta_description')){
                        $this->document->setDescription($this->params->get('menu-meta_description'));
}


Thanks for your notice.
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]

büro exit