?
avatar coolcat-creations
coolcat-creations
29 Dec 2016

Steps to reproduce the issue

Setup just one field and show it on the Frontend. Or setup all fields to be shown only on frontend.

Expected result

In backend there should not be a fields tab

Actual result

the backend shows an empty fields tab

image

avatar coolcat-creations coolcat-creations - open - 29 Dec 2016
avatar joomla-cms-bot joomla-cms-bot - change - 29 Dec 2016
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 29 Dec 2016
avatar Bakual Bakual - edited - 29 Dec 2016
avatar Bakual Bakual - change - 29 Dec 2016
Title
Custom Fields - If all Fields are shown on Frontend the Fields Tab remains in backend
[com_fields] Custom Fields - If all Fields are shown on Frontend the Fields Tab remains in backend
avatar cpfeifer
cpfeifer - comment - 30 Dec 2016

I can confirm this and I agree it should not appear if there are no fields.

@laoneo can you tell me where (which file) the Field Group tab gets inserted into the article editor? The fields are rendered through the layout file, but I'm having a hard time finding where the layout file gets called in from Fields. We just need to add a conditional / check for "show_on" status before the layout call.

avatar laoneo
laoneo - comment - 3 Jan 2017

Please test pr #13456 which should fix the issue. I think we can close this one as we have a pr.

avatar Bakual Bakual - change - 3 Jan 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-01-03 12:33:29
Closed_By Bakual
avatar Bakual Bakual - close - 3 Jan 2017

Add a Comment

Login with GitHub to post a comment