No Code Attached Yet
avatar reilldesign
reilldesign
3 Nov 2021

Steps to reproduce the issue

go to components » Contacts » Contacts and click Options. Select »Settings None« in the Icons tab.

Expected result

show nothing

Actual result

icons are shown

System information (as much as possible)

Joomla 4.0.4
PHP Version 7.4.3
Web Server Apache

Additional comments

avatar reilldesign reilldesign - open - 3 Nov 2021
avatar joomla-cms-bot joomla-cms-bot - change - 3 Nov 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 Nov 2021
avatar brianteeman
brianteeman - comment - 3 Nov 2021

What are the settings for the menu item that you are accessing the contact in the front end

avatar reilldesign
reilldesign - comment - 3 Nov 2021

i'm using the Menu Item Type Single Contact. there are no settings for icons in the Contact Display Options tab or the others.

avatar richard67
richard67 - comment - 3 Nov 2021

@reilldesign What do you mean with "icons"? A profile image? Or an icon for the menu item?

For the contact image it is sufficient to define an image for the contact and in the menu item options set "Contact Information" to be shown.

Seems I've misunderstood the issue first.

avatar richard67
richard67 - comment - 3 Nov 2021

Or do you mean the icons beside address, phone, email and so on?

As far as I could see - but maybe I've missed something - they cannot be set individually for the single contact or the contact menu item, they can be only set in the options of the contact component.

Got it and can reproduce the issue.

avatar richard67
richard67 - comment - 3 Nov 2021

@reilldesign If my last comment answers your questions let us know so we can close this issue, or close it yourself. Thanks in advance.

avatar brianteeman
brianteeman - comment - 3 Nov 2021

@richard67 That is exactly what is being described in the first post and the report is that it is NOT working and the icons are still being displayed

avatar brianteeman
brianteeman - comment - 3 Nov 2021

I can confirm the bug and am looking at the reason

avatar richard67
richard67 - comment - 3 Nov 2021

@brianteeman Just wanted to type I can confirm.

avatar brianteeman
brianteeman - comment - 3 Nov 2021

This block of code (that works in j3) is not working in j4

case 2:
// None
$item->params->set('marker_address', '');
$item->params->set('marker_email', '');
$item->params->set('marker_telephone', '');
$item->params->set('marker_mobile', '');
$item->params->set('marker_fax', '');
$item->params->set('marker_misc', '');
$item->params->set('marker_webpage', '');
$item->params->set('marker_class', 'jicons-none');
break;

avatar brianteeman
brianteeman - comment - 3 Nov 2021

The problem was created by the changes made by @chmst in #30985

avatar chmst chmst - close - 3 Nov 2021
avatar chmst
chmst - comment - 3 Nov 2021

Please test #35963

avatar chmst chmst - change - 3 Nov 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-11-03 20:56:53
Closed_By chmst

Add a Comment

Login with GitHub to post a comment