Questions tagged [custom-field]

The tag has no usage guidance.

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

How do I get of joomla's custom field group and its content

How do I query the joomla custom field group and its content (if it exists)? I want the content of field groups to be "implemented" in the joomla's template com_content/article/default.php file. My ...
0
votes
2answers
291 views

How to get Custom Fields related to Joomla Content?

I want to know how they get the values of custom user fields within Joomla articles. This is to contribute ideas and ways to solve it.
1
vote
1answer
949 views

Add layout for custom field

How can i add an additional layout for repeatable.php of the custom fields in my template? So i want to create repeatable_image.php and make it available in layout render option of the custom field. ...
0
votes
1answer
387 views

Retrieve values from a custom field in Joomla 3.8

excuse for my English. I try to retrieve my value from a custom field in com_categories. I added this field by a plugin. My value is correctly saved but i don't why, i can't retrieve my value from ...
1
vote
1answer
503 views

Custom Fields inside module override

I am using this code inside a module override that render articles, to show the custom fields: <?php $id=$item->id; $db = JFactory::getDbo(); $query = 'select * from #...
0
votes
1answer
32 views

Group of fields for different group of users

I have custom field "Client type" in registration form, which I created in Users->Fields. Already I have next usergroups: Registered Subgroup of Registered - Human Subgroup of Registered - Company I ...
1
vote
1answer
279 views

How can I add custom user field values to an article?

I have created a custom user field named "Gender". How can I show this field in an article? I can only manage to show: username, name, email and User Id Here is my current Sourcerer code to access ...
3
votes
1answer
565 views

Getting Category's custom fields in a blog view

I'm trying to get the custom fields value of a category in a blog view. I have try the article item method but on the child item (supposed to be the current category item in the loop) : JLoader::...
4
votes
1answer
273 views

How to generate a dynamic note field for a custom component?

I am attempting to develop my first custom component called com_image. Because of the structure and function of my project requirements, it made best sense to clone the com_contact folder and ...
0
votes
1answer
134 views

How to dynamically filter blog/list layout by today's date?

I've created a Joomla article category 'Events' with three list views: all events past events future events All three views refer to the same "Events" category. The past and future events layout use ...
3
votes
2answers
162 views

How can I output each item of a multiple list custom field

print_r($item->jcfields); Array ( [1] => stdClass Object ( [id] => 1 [title] => Specialisms [name] => specialisms [checked_out] ...
0
votes
1answer
197 views

How can you call custom fields in an override for com_contacts

In com_content I can call my fields one by one as follows <?php echo $this->item->jcfields[3]->value; ?> The same code does not work in com_contacts. How can I call the fields in a ...
1
vote
3answers
2k views

How to add placeholder to input field via php variable

In my login form, custom layout fields are displayed by the $field->input variable. Unfortunately, those fields are displayed without the placeholder attribute. Is there any way to add this ...
2
votes
2answers
640 views

How to show article's custom fields in the header of the page?

I am using Jommla's default Protostar template. I have custom fields for articles and I want to show this custom field in the header of the page, not inside the article. How can I achieve that?
2
votes
2answers
71 views

Custom form field types unavailable in plugin backend when plugin disabled

I've created a plugin and added a couple of custom fields to its backend. For that I followed the indications from the Joomla docs. I extended for example JFormFieldList to get a dropdown list of ...
0
votes
3answers
349 views

Custom fields - JS in template override

We need to add some enhanced ecommerce tags to standard Google Analytics tracking on few pages. We think the best way to do it would be to use Joomla Custom fields so we created a custom field for ...
1
vote
1answer
133 views

Joomla custom fields let a user add their own options

Joomla has custom fields, but I want something more. If I add a field, lets say: colors to a category. Is it possible somehow that a user can open an article, and add his own options? In this case ...
1
vote
0answers
73 views

Extended tag field joomla article custom field

I have some joomla custom fields in articles. But I need 3 custom fields that should behave like the joomla "tags" so that, besides selecting from the options available, the user can also insert a new ...
1
vote
2answers
51 views

Custom fields “on demand”

I've got an article that's a simple event. I don't need any event management extension because I used joomla custom fields to associate to each event some info like speakers, date, .... One info ...
0
votes
1answer
105 views

Joomla custom fields management

I'm new to joomla custom fields and also don't have a deep knowledge of joomla. I need to create a custom fields name "Speakers" to associate to a event. It's a multiselect field so that when ...
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-&...
1
vote
1answer
530 views

Joomla custom fields in mod_articles_category

i've create several custom fields and i can show all them easy in articles, or articles list. Now i would need render them in mod_articles_category override but i cannot reach the target so far. Is ...
1
vote
1answer
352 views

Custom fields don't render plugin shortcode

I am using custom fields introduced in Joomla 3.7 as a way to structure articles in my Joomla 3.8.3. installation. One of my custom fields contains shortcode to be rendered by another plugin. But all ...
1
vote
0answers
35 views

Seeking Joomla module to display selected articles and their fields

Seeking for a module similar to DisplayNews with advanced functionality. I need to modify the display template in such way that it shows specific Joomla Fields of the articles selected. Here is a ...
1
vote
3answers
1k views

How to filter articles by jcfields (Custom Fields)?

i'm trying to filter articles by custom fields. In Wordpress it's quite easy to do, but i'm blocked now. Here's what i would imagine right to do, but it's not: JModelLegacy::addIncludePath(...
1
vote
2answers
205 views

Make an ajax request on submit on register page with custom fields

I'am on Joomla! 3.8.3, on the register form i have added some custom fields. I want when the user submit the form, make a check on one custom field to check if the value entered is in the list of ...
0
votes
2answers
953 views

How can I call custom fields in a blog view?

If I do print_r($this->item->jcfields) I see the array. But when I try to call it in the usual way nothing aooears. Does anyone know how to achieve this? They don’t appear in Params obviously. But ...
4
votes
2answers
449 views

Custom Form Field not working

My attempt is to re-build the example here: https://docs.joomla.org/Creating_a_custom_form_field_type Somehow, Joomla doesn't see the City.php file in administrator/components/com_testing/models/...
1
vote
1answer
133 views

How to get article id on BT CONTENT SLIDER?

I have a BT CONTENT SLIDER module on main page of my website to show a list of 3 articles from category called "News" on main page. I would like to read custom params of that articles shown on that ...
3
votes
1answer
775 views

How to select predefined options in an custom form list-field?

I'm trying to pre-select several options in a custom form field. I created a new JFormField which extends JFormFieldList and gets its values from my database. This is my current code: protected ...
1
vote
1answer
329 views

Creating custom form field type extended from standard tag field

I'm trying to create a custom form field type for my component. Functionally it should operate the same as the standard tag form field type, except I want to store the tags in my own database table (...
3
votes
3answers
850 views

Joomla custom fields type url file - upload?

I am trying to add a simple file upload field type to the com_contact using Joomla's custom fields. I see there is a 'URL scheme File' type but I couldn't figure out how to get that to work as a file ...
5
votes
3answers
4k views

Joomla custom fields in Category List

With Joomla 3.7.x article custom fields have finally gotten part of Joomla content. However, I would like to ask how I can render these Custom Fields in the Joomla Category List? Adding custom ...
1
vote
2answers
373 views

Event for saving Custom Fields data? Or before save

I am looking for the event is triggered when saves or just before the com_fields custom field saves the data? Also, is there any where I can find the list of all com_fields event trigger the ones I ...
3
votes
1answer
2k views

How to fetch joomla article custom fields in another component?

I have created some custom fields in my joomla article from backend now I want to fetch them in another component. What would be the code to achieve it?
2
votes
1answer
466 views

Accessing current users custom field

I´ve added a custom users field (called "test"). Now I want to call the value of this custom field for the current user who is logged in. In the mysql databse I see the custom field under _fields. So ...
1
vote
1answer
824 views

renderField with fields from custom plugin

I need to expand the functionality of the registration form. Following some tutorials and the sample profile plugin I was able to use the onContentPrepareForm to add the new fields. Now the second ...
0
votes
1answer
450 views

Display ReCaptcha field after Joomla 3.7 user custom fields

I added some text custom fields to the user registration form. Joomla 3.7 allows users to easily add custom fields to various components, this is a nice feature. However I'm unable to figure out how ...
3
votes
2answers
1k views

Joomla 3.7.x PHP API set value of custom user field

I'm writing a PHP script that goes through the users, and reads and writes some custom user fields. The reading part is done, by the use of the FieldsHelper. It works nicely. However, trying to write ...
1
vote
1answer
280 views

Joomla media extra field without Alt tag

I've created an additional media field to include in some articles, and I noticed that the ALT and Title attribute for the media field can not be set to the image. I need suggestions for an override ...
1
vote
1answer
801 views

Create thumbnails with custom field images

I have articles with custom fields type media. I need to create thumbnails from these images with a fixed widths (1200px, 700px, 450px and 250px) to display with the picture element and on different ...
5
votes
3answers
931 views

Joomla Custom field type - How to create one

I am looking for some information about how to create a custom field type for joomla 3.7 core custom fields. Can anyone point me in the direction of a tutorial, an example of anything that may help ...
4
votes
1answer
590 views

How to save data from subform fieldtype in joomla 3.7 custom field

I made a subform repeatable fieldtype custom field plugin to integrate with the custom field extension in 3.7x, and it works correctly to display the the fields during article submission. However, the ...
1
vote
1answer
248 views

Custom form field not working on server

I created a custom component and in the form one custom field categoryList to list all categories dynamically. Following is the code: formname.xml <fieldset addfieldpath="/administrator/...
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 ...
1
vote
2answers
982 views

Custom 'dynamic' form field creation

I tried to look around, but didn't exactly found what I was looking for. Joomla have documentation about how to create custom form fields. That was useful, but what I need is (I guess simple..?). I ...
3
votes
1answer
53 views

Make a checkbox group disappear

I am using BreezingForms and I have a checkbox group that look for files into my database. It is possible that there is no item to select in the database; at this moment, I want the checkbox group to ...
0
votes
1answer
343 views

Customization Of Joomla! Form Fields In Frontend (Tag Field Specifically)

Is there anyway to customize how a standard Joomla! field type displays in the front end? I have created a form and every field looks fine EXCEPT the "tag" field type which for some reason is styling ...
2
votes
1answer
170 views

Create a Custom field for content for adminside as Video

I am in need of custom plugin that allow me to add custom fields like Video from admin side for Articles of all category. Can anyone guide me please. Video File type (I will select file and that ...
1
vote
1answer
821 views

Dynamic fields in module parameters

I have created a Joomla module that renders a set of headlines in a widget, with links to the main item. It loads these headlines from either a Joomla category or an RSS feed, and is extensible so I ...