Vox Populi(x) forum
21 Maggio 2012, 03:29:56 *
   Indice   Aiuto Ricerca Accedi Registrati  
Pagine: [1]
  Stampa  
Autore Discussione: Authors name saparated by ; in category listing  (Letto 147 volte)
BeniaminQB
Coccinella
*

Karma: +0/-0
Scollegato Scollegato

Messaggi: 2


Mostra profilo
« 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
Coccinella
*

Karma: +0/-0
Scollegato Scollegato

Messaggi: 2


Mostra profilo
« 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
Amministratore
Volpe
*****

Karma: +0/-0
Scollegato Scollegato

Messaggi: 299



Mostra profilo WWW
« Risposta #2 inserita:: 11 Novembre 2011, 12:43:39 »

Hi BeniaminQB,
ok, this is the only one solution.
cutare
Coccinella
*

Karma: +0/-0
Scollegato Scollegato

Messaggi: 5


Mostra profilo
« 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
Amministratore
Volpe
*****

Karma: +0/-0
Scollegato Scollegato

Messaggi: 299



Mostra profilo WWW
« 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:
Codice: [Select]
$query = "SELECT idbook, GROUP_CONCAT(name ORDER BY name ASC SEPARATOR ', ') AS author "to:
Codice: [Select]
$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:
Codice: [Select]
$query = "SELECT idbook, GROUP_CONCAT(name ORDER BY name ASC SEPARATOR ', ') AS author "to:
Codice: [Select]
$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:
Codice: [Select]
$this->_authorname = implode(', ', $this->_authorname);to:
Codice: [Select]
$this->_authorname = implode('; ', $this->_authorname);
Pagine: [1]
  Stampa  
 
 

A cura di Neomediatech