Vox Populi(x) forum

Alexandria Book Library => Supporto (Support) => Topic started by: büro exit on 06 October 2012, 16:26:25

Title: My abook menuitem metatags will not be displayed
Post by: büro exit on 06 October 2012, 16:26:25
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
Title: Re: My abook menuitem metatags will not be displayed
Post by: federica on 07 October 2012, 12:42:55
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.
Title: Re: My abook menuitem metatags will not be displayed
Post by: büro exit on 07 October 2012, 16:25:45
Hi,
thanks for your direct response!

BR