Vox Populi(x) forum

Alexandria Book Library => Supporto (Support) => Topic started by: clancywolf on 20 November 2019, 21:04:42

Title: Modify what fields displayed in list views
Post by: clancywolf 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
Title: Re: Modify what fields displayed in list views
Post by: federica 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
Title: Re: Modify what fields displayed in list views
Post by: clancywolf on 21 November 2019, 18:40:18
Thanks. Exactly what I needed.  Thanks for your work and support!
Title: Re: Modify what fields displayed in list views
Post by: federica 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