Vox Populi(x) forum

Alexandria Book Library => Supporto (Support) => Topic started by: beamaria on 25 October 2012, 15:57:49

Title: Cambiare alcune stringhe
Post by: beamaria on 25 October 2012, 15:57:49
Ciao a tutti!
Il componente è veramente ottimo; ho solo una domanda: vorrei cambiare la scritta "recensione" che compare dopo la descrizione (anno, autori ecc) dei libri, e il nome della root per la categoria principale (in menù/categorie). Per fare ciò sono andata in questo percorso: miosito/components/com_abook/language/it-IT
ed ho modificato queste due stringhe:
COM_ABOOK_REVIEW="Descrizione" (prima era Recensione)
COM_ABOOK_DEFAULT_PAGE_TITLE="Il nostro catalogo" (prima era Alexandria Book Library)
Tuttavia anche dopo aver fatto il refresh e vuotato la cache del browser, le mie modifiche non compaiono. Ho tralasciato qualcosa? Uso Joomla 2.5.7  e Safari
GRAZIE!!
Title: Re: Cambiare alcune stringhe
Post by: federica on 27 October 2012, 13:19:49
Ciao beamaria,
se hai abilitato la cache da joomla prova a svuotarla.
Altrimenti dovresti verificare l'esistenza del file <tuo_sito>/language/it-IT/it-IT.com_abook.ini e fare lì le modifiche.
Il nome della biblioteca è modificabile dalla configurazione generale del componente, se è questo che intendi, altrimenti spiegami in quale pagina compare la scritta che vorresti cambiare e vediamo se riesco ad aiutarti.
Title: Re: Cambiare alcune stringhe
Post by: beamaria on 27 October 2012, 16:25:37
Grazie Federica!
Ora ho risolto; in effetti io cambiavo le stringhe in components/com_abook, invece il percorso corretto è quello che mi hai indicato :)
Un altro chiarimento: è possibile inserire una vista per esempio delle prime due pagine di un certo capitolo del libro? E se sì, come?
Ribadisco il concetto: grande componente!!!  ;D ;D ;D
Title: Re: Cambiare alcune stringhe
Post by: federica on 30 October 2012, 17:05:20
grazie!
potresti usare uno di quei plugin che visualizzano i pdf online all'interno di un articolo, funzionano anche nella descrizione dei libri. Fai un pdf di qualche pagina e lo visualizzi. Non so se poò servire al tuo scopo, ma non mi viene in mente altro.
Title: Re: Cambiare alcune stringhe
Post by: cchrisj on 01 November 2012, 05:37:26
I am trying to remove the "Review" header and have edited en-GB.com_abook.ini  and I have emptied my browser cache as well as the Joomla site cache ... can't see to get rid of it.

Ideally, I want the result of a search to look like this:

Category: Thanksgiving
Pages: 92
Price: 3.50
Library: Frisco STYLE Magazine
Year: 2012
Read: [link to issue]  (Instead of Cataloge No).

Any help is appreciated.
Title: Re: Cambiare alcune stringhe
Post by: federica on 04 November 2012, 13:02:21
Hi cchrisj,
to change "Review" string modify the language file in your_site/components/com_abook/language/en-GB/en-GB.com_abook.ini or your_site/language/en-GB/en-GB.com_abook.ini. The path depends on which Abook version is installed.

To change the search view you have to modify the file your_site/components/com_abook/views/search/tmpl/default_results.php . You can add also "pages", "price" and "year", but to add library and read data you must also change the file your_site/components/com_abook/model/search.php.
Title: Re: Cambiare alcune stringhe
Post by: cchrisj on 04 November 2012, 14:35:55
I keep getting a heading of "Articles" at the top left. Here's a sample:

http://friscostyle.friscostyle.com/index.php/component/content/article/81-frisco-style-issues/130-november-2012

I CANNOT figure out where this heading is coming from. I do not want a heading of any kind on these pages.
Title: Re: Cambiare alcune stringhe
Post by: federica on 04 November 2012, 15:06:21
Hi cchrisj,
you have already open another topic (http://forum.voxpopulix.org/supporto-%28support%29/article-header-keeps-showing-up!!/)  for the same problem.
This forum is'n for impatient people. Before writing still waiting for a reply.