I would like to have the authors name saparated by ; instead of , in the category listing. I managed to do it in search results, and book details, but not in category listing.
See the image for details
Thanks in advance for your support.
Never mind, solved. I didi it editing separator in /models/ files.
Hi BeniaminQB,
ok, this is the only one solution.
BeniaminQB, how did you do exactly? where and what you changed?
Hi cutare,
open the file <your_site>/components/com_abook/models/category.php
modify the row n°198 from:
$query = "SELECT idbook, GROUP_CONCAT(name ORDER BY name ASC SEPARATOR ', ') AS author "
to:
$query = "SELECT idbook, GROUP_CONCAT(name ORDER BY name ASC SEPARATOR '; ') AS author "
open the file <your_site>/components/com_abook/models/search.php
modify the row n°193 from:
$query = "SELECT idbook, GROUP_CONCAT(name ORDER BY name ASC SEPARATOR ', ') AS author "
to:
$query = "SELECT idbook, GROUP_CONCAT(name ORDER BY name ASC SEPARATOR '; ') AS author "
open the file <your_site>/components/com_abook/models/author.php
modify the row n°139 from:
$this->_authorname = implode(', ', $this->_authorname);
to:
$this->_authorname = implode('; ', $this->_authorname);