Custom Fields Not Appearing In Article - Question | JoomShaper

Custom Fields Not Appearing In Article

G

GinA

Template 1 year ago

I followed Joomla's directions to create custom fields in J4 and successfully created several custom fields for article content using Newsberg template (starting with quickstart package and updating J4 to v4.4.9). I populated those fields with data, confirmed that data is saved in the fields_values table in the database, but that data is not appearing in the article on the frontend as it should (before and after display content).

Is this a problem with HelixUltimate framework or the Newsberg template's com_content override files?

When viewing the article on the frontend and looking at the Elements in the Developer Console, i see the fields_container with the new fields within it, both before and after display contents, but none of the field values appear in the public article.

Could it be a CSS issue instead?

I changed my default template to Cassiopeia Site template and the custom fields appear in the frontend article as they should.

I need help to resolve this asap.

0
2 Answers
G
GinA
Accepted Answer
1 year ago #172717

After investigating .php and .css files for the default J4 template, Cassiopeia and Newsberg, I have resolved this by changing the CSS display value in the Newsberg template.css file (via custom.css) for .view-article .article-details .fields-container to 'block'.

It is currently set to 'none'.

You should fix this in your next release.

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 1 year ago #172740

Hello GinA,

Thank you for reaching out and sharing your solution. We're glad to hear you were able to resolve it by adjusting the CSS display value in the custom.css file. We appreciate your feedback, and I’ll pass it on to the team for consideration in the next release.

0