Vox Populi(x) forum

Alexandria Book Library => Supporto (Support) => Topic started by: tulinux on 13 October 2013, 19:49:55

Title: ORDINAMENTO ERRATO
Post by: tulinux on 13 October 2013, 19:49:55
Salve, sto realizzando un grosso archivio per un ente di certificazione per l'ergonomia e sono partito creando le categorie ed inserendo gli autori e gli editori, ora mi accingevo ad inserire i volumi ma praticamente mi è impossibile inserirli dal form perchè NON sono ordinati in ordine ALFABETICO ed è improponibile fornire al cliente un modulo di inserimento con questo problema... Posso intervenire in qualche modo in PHP...?
Il componente per il resto funziona egregiamente, Complimenti !
Carlo

Allego screenshot
Title: Re: ORDINAMENTO ERRATO
Post by: federica on 14 October 2013, 10:14:47
Ciao Carlo,
sono a conoscenza del problema, l'ho anche corretto ma poi non ho mai il tempo di pubblicare la nuova versione di Abook.

Ho fatto una modifica veloce al file che genera l'elenco degli autori.
Il file è administrator/components/com_abook/models/book.php
Fai prima una copia del vecchio file e poi sostituiscilo con quello che trovi in allegato (rimuovi l'estensione .txt).

Mi fa piacere sapere che utilizzi Abook nel tuo progetto, se ti piace, metti una recensione su joomla.org così anche altri utenti potranno leggere la tua opinione.
Title: Re: ORDINAMENTO ERRATO
Post by: Rosalie on 22 November 2013, 14:13:27
Hi,

Your answer helped me to make authors and tags appear in alfabetical order in the book manager. Thank you very much!

But, I have the same question for the locationslist:

Is there a way to make the locations appear in alfabetical order in the dropdownlist with locations, in the book manager (book information)?
It's very difficult to find the right location in a list of 3000 locations without alfabetical ordering...

I looked in the book.php-file, but I didn't find the lines that refer to the locations-dropdown-list, so I suppose they're somewhere else...

Kind regards,
Rosalie
Title: Re: ORDINAMENTO ERRATO
Post by: federica on 10 December 2013, 10:36:51
Hi Rosalie,
the sql queries are in the folder models.
You can modify the queries yourself or wait for next release (for joomla 3).