Create a new field in Joomla contacts or Joomla users. In field settings, Options tab, set the 'Show Label' option to 'Hide'
The field label should not be displayed when the field is rendered in contact and profile views (default layouts) (working as expected in Articles)
Field Label keeps showing
Category | com_fields | ⇒ | com_contact com_fields com_users |
Build | RC2 | ⇒ | 3.7-rc2 |
Status | New | ⇒ | Confirmed |
Nope, this is not related to the other issues. It's just that com_contact has an override for the field layout and that one doesn't check the label parameter.
See https://github.com/joomla/joomla-cms/blob/staging/components/com_contact/layouts/field/render.php
I don't know about the user one, that one should use the regular layout as far as I know.
The regular JLayout is this one: https://github.com/joomla/joomla-cms/blob/staging/components/com_fields/layouts/field/render.php
oppsss... sorry
then a new bug for the custom fields
Well com_users doesn't use an override yet for the field layout it doesn't use either the regular JLayout
At least it can be easily addressed for com_contact
If I'm not wrong, but com_users uses JForm to show the fields. It has a totally different behavior than com_contact. But yes, com_contact should have the same behavior as com_content.
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-05-03 09:16:26 |
Closed_By | ⇒ | franz-wohlkoenig |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
closed as having PR #15756
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/15304
but the PR is only for the contact, the problem is also in the user, please reopen.
As already said, the profile view is a form and has a totally different set up. I suggest to open a new issue for that one as the logic is very different then the rest of Joomla.
Issue confirmed.
System information
3.7.0-rc2 (nightly Build)
macOS Sierra, 10.12.4
Firefox 52 (64-bit)
MAMP 4.1.1