Author Topic: Modify what fields displayed in list views  (Read 526 times)

Offline clancywolf

  • Coccinella
  • *
  • Posts: 2
  • Karma: +0/-0
Modify what fields displayed in list views
« on: 20 November 2019, 21:04:42 »
Where would I go to change which fields are displayed in the list of books displayed as a result of a search, and a result from clicking on a tag? 
For example, in the demo site: https://abook.neodemo.net/search.html   displays Year, Hits, Tags and Date Insert.  Where would I go so I can make it not show Date Insert? 

Similarly, I can't tell if it is the same code when I click on a tag to see all books with that tag.  For example: https://abook.neodemo.net/tags/2-sience.html  generates a list that looks the same as above, but since I am getting there from a differant route, would the same code be edited?

Thank you for any help.

Alexandria 3.1.5, Joomla 3.9.13, php 7.3.11

Vox Populi(x) forum

Modify what fields displayed in list views
« on: 20 November 2019, 21:04:42 »

Offline federica

  • Amministratore
  • Delfino
  • *****
  • Posts: 1.052
  • Karma: +1/-0
Re: Modify what fields displayed in list views
« Reply #1 on: 21 November 2019, 10:33:02 »
Hi clancywolf,
components/com_abook/layouts/category/item.php is the file you have to modify to change detail order in all lists (search, tag, category, ecc...).
I suggest to create an override so you must not apply your change at every abook update. Put override file in templates/your_templates/html/layoutscom_abook/category/item.php
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
http://www.antivirushelp.it
stacca la spina!

Vox Populi(x) forum

Re: Modify what fields displayed in list views
« Reply #1 on: 21 November 2019, 10:33:02 »

Offline clancywolf

  • Coccinella
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Modify what fields displayed in list views
« Reply #2 on: 21 November 2019, 18:40:18 »
Thanks. Exactly what I needed.  Thanks for your work and support!

Offline federica

  • Amministratore
  • Delfino
  • *****
  • Posts: 1.052
  • Karma: +1/-0
Re: Modify what fields displayed in list views
« Reply #3 on: 22 November 2019, 11:18:06 »
You are welcome!
If you like abook please add a review in Joomal JED https://extensions.joomla.org/extension/alexandria-book-library/
Thanks
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
http://www.antivirushelp.it
stacca la spina!

Vox Populi(x) forum

Re: Modify what fields displayed in list views
« Reply #3 on: 22 November 2019, 11:18:06 »