|
BeniaminQB
|
 |
« inserita:: 07 Novembre 2011, 17:36:48 » |
|
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.
|
|
|
|
Vox Populi(x) forum
|
 |
« inserita:: 07 Novembre 2011, 17:36:48 » |
|
|
|
|
|
|
|
BeniaminQB
|
 |
« Risposta #1 inserita:: 08 Novembre 2011, 21:35:02 » |
|
Never mind, solved. I didi it editing separator in /models/ files.
|
|
|
|
Vox Populi(x) forum
|
 |
« Risposta #1 inserita:: 08 Novembre 2011, 21:35:02 » |
|
|
|
|
|
|
|
federica
|
 |
« Risposta #2 inserita:: 11 Novembre 2011, 12:43:39 » |
|
Hi BeniaminQB, ok, this is the only one solution.
|
|
|
|
cutare
|
 |
« Risposta #3 inserita:: 21 Novembre 2011, 12:22:50 » |
|
BeniaminQB, how did you do exactly? where and what you changed?
|
|
|
|
Vox Populi(x) forum
|
 |
« Risposta #3 inserita:: 21 Novembre 2011, 12:22:50 » |
|
|
|
|
|
|
|
federica
|
 |
« Risposta #4 inserita:: 13 Dicembre 2011, 10:05:05 » |
|
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);
|
|
|
|