Skip to main content

Questions tagged [com-fields]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
24 views

Can I change the layout of Joomla subform fields without an override?

The fields in my subform allow a field class. I thought I could add something like col-md-12 to get a field to take up the full width. It didn't work. So then I added row to the subform, but I can ...
Eoin's user avatar
  • 2,011
0 votes
1 answer
23 views

J5 - Utilising com_fields in component

I'm lost with utilising com_fields in my component so that my users can create a custom field for a specific purpose and have it rendered in a modal popup. So I have my component setup with a ...
Glenn Arkell's user avatar
1 vote
1 answer
79 views

Fields & Field Groups in Dashboard

In my component I have the fields and field groups showing in my dashboard (admin side) and working no problems at all but I wanted to have a config param to switch it on/off like the content ...
Glenn Arkell's user avatar
2 votes
1 answer
59 views

Creating a field plug-in, need the com_content form to be enctype multipart

I've been writing a field plug-in for adding files to articles in com_content. I've got the basics of the field plug-in working ok, extending the JFormFieldFile class The issue I've hit is, for the ...
AndyGaskell's user avatar
1 vote
1 answer
92 views

Reason for parameter for using custom fields in configuration

In the Joomla Core Extensions we have a parameter for selecting if custom fields are used in an extension or not. For example here: https://github.com/joomla/joomla-cms/blob/staging/administrator/...
astridx's user avatar
  • 449
1 vote
2 answers
563 views

Get values of other custom fields in field layout override

I am using a repeatable custom field for articles in Joomla! 3.9.16 with an alternative layout (override) of com_fields/layouts/field/render.php and an override of plugins/fields/repeatable/tmpl/...
Mano Meter's user avatar
1 vote
1 answer
122 views

How can I call com_contact fields in an article view?

We have linked the author to com_contacts and now I want to show an author image which will be a custom field in com_contacts. I was able to show it as a com_user custom field using the following ...
Eoin's user avatar
  • 2,011
0 votes
1 answer
127 views

Custom fields published state not working as expected

I am using the following code to check to see if my repeatable custom field's state is published/unpublished. If the state is set to 0, the code in between should be hidden, but instead an error is ...
Mike Hermary's user avatar
2 votes
1 answer
363 views

Override output for repeatable custom fields

I am struggling to find a way to output the values from a repeatable field in Joomla 3.9.15. I am currently accessing the custom fields assigned to articles using the following code: JHtml::...
Mike Hermary's user avatar
0 votes
1 answer
48 views

How could I make Joomla! fields as a function

<?php // Turn fields from array numbers into field names. I usually stick this in the head somewhere. foreach($this->item->jcfields as $jcfield){ $this->item->field[$jcfield-&...
Eoin's user avatar
  • 2,011
0 votes
1 answer
292 views

JForm::setFieldAttribute frontend vs backend usage

I'm missing something. I've written a plugin to manipulate specific custom user fields (the new custom fields extension). I create the fields, and make them required, but in /adminstrator I remove ...
Michael's user avatar
  • 593
5 votes
2 answers
12k views

Getting custom fields and their values (com_fields)

I started working a project on the upcoming 3.7 version, using the com_fields. I have created an article and a category level group of fields. The idea is that I want to use the category level fields ...
FFrewin's user avatar
  • 19.8k