Questions tagged [com-fields]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
93 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/...
1
vote
1answer
32 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 ...
0
votes
1answer
42 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 ...
0
votes
1answer
63 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::...
0
votes
1answer
40 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-&...
0
votes
1answer
245 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 ...
4
votes
2answers
8k 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 ...