Modify what fields displayed in list views

Started by clancywolf, 20 November 2019, 21:04:42

Previous topic - Next topic
A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

clancywolf

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

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

federica

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.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]

clancywolf

Thanks. Exactly what I needed.  Thanks for your work and support!

federica

Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9