Good morning
I need when I clic in a book link on the category view, will open directy the book (in this case all are PDF free files open to the public). Is there an option o way to modify the source code to do that?
Regards
Hi davidowen,
there isn't an option, but you can modify the code yourself.
Open the file:
components/com_abook/views/category/tmpl/default_items.php
modify the code from:
<?php $linkbook=JRoute::_(AbookHelperRoute::getBookRoute($item->slug, $item->slugcat));?>
to:
<?php $linkbook = "images/".$this->params->get('file_path').'/'.$item->file;?>
It works.
Thank you