I noticed that in the config for Contacts List Layout there are options for any field in a contact but for the Street Address.
This is in my current J!3.9 but it also appears to be in J!4
Labels |
Added:
?
|
Just found out.. same applies to postcode / zip code field in contact list view
I was just looking in the new joomla 4 beta 1 and it seems ok.
Please let me know if I've misunderstood the issue, apologies if so.
Hi @pieter-groeneweg sorry, I missed that it was in the list view, rather than the item view.
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-12-18 10:36:14 |
Closed_By | ⇒ | rdeutz |
i checked within a j!3.9
the following changes will solve. My experience in github, cloning, submitting and on is too little to do it in another way. Sorry for that.
Following is to be inserted
into following files at approx line number
254 \components\com_contact\views\category\tmpl\default.xml
302 \components\com_contact\views\categories\tmpl\default.xml
106 \components\com_contact\views\featured\tmpl\default.xml
into following file at approx line number
835 \administrator\components\com_contact\config.xml
This needs to be added to the database files in the insert of the extensions table
"show_street_address_headings":"1"
Somewhere.. forgivem as I am not too familiar with DB ins and outs
In the language file /public_html/administrator/language/en-GB/en-GB.com_contact.ini following constants need an entry:
This now allows the Street Address to be show or hidden in de contact category lists layout
$item->address
already is available to be used in templates
ie. in "core" /components/com_contact/views/category/tmpl/default_items.php insert at line 96
This tiny bit resolves the issue. Tested on a 3.9.18 and it works.
Surprising it was never there but it would be awesome if it could be added to current 3.9 and future 3.10 and 4.x