Questions tagged [custom-field]

With Custom Fields you can add extra information fields to Joomla's Articles and Users.

Filter by
Sorted by
Tagged with
0
votes
2answers
146 views

Joomla custom fields management

I'm new to Joomla'scustom fields and also don't have a deep knowledge of Joomla. I need to create a custom field name "Speakers" to associate to a event. It's a multiselect field so that ...
0
votes
1answer
41 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
698 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
417 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
40 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 ...
2
votes
4answers
2k 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
273 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
1k 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 ...
5
votes
2answers
533 views

Custom Form Field not working in Windows environment

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
167 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
1k 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
2answers
366 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
4answers
1k 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
474 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 ...
4
votes
2answers
3k 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
539 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
1k 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
481 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
2k 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
304 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
916 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 ...
6
votes
3answers
1k 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
758 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
351 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/...
5
votes
2answers
10k 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 ...
2
votes
2answers
1k 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
61 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
364 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 ...
3
votes
1answer
189 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
931 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 ...
2
votes
4answers
600 views

Custom Fields in component Articles - Joomla 3.6.4

i need add 2 fields to the component content (articles), need add 2 images and try some examples but don't work :-( have a github with the last try https://github.com/javimata/plg_addfield Can help ...
1
vote
2answers
2k views

Custom field colResizable plugin not working but works in fiddle

I got this fiddle: http://jsfiddle.net/2h4kLzgj/9/ Now I am trying to add this to a custom field in Joomla but for some reason it does not work at all in the administrator. The table shows up but ...
2
votes
1answer
988 views

use Joomla Subform field values in custom field from same module

I have the basic xml file where in I call subforms into two tabs. Called Tab 1 and Tab 2. The content of this file is below. mod_something.xml <fieldset name="tab1"> <field ...
0
votes
1answer
68 views

Custom Article plugin loses functionality after article creation

I have created a plugin that adds a radio selection and text fields to back-end Article creation (and I thought edit as well) but the functionality behind those custom inputs only fires on creation. I ...
0
votes
1answer
469 views

How to implement a phone number field mask in custom component?

How can I implement an input field mask for JForms in my component? Specifically I want a phone number mask something like ()-____. I only want users to enter digits and not have them enter ...
1
vote
1answer
43 views

Content-based plugin not loading

I'm pretty new to plugin creation and I've already hit a snag. I'm trying to add fields to the admin-side article creation via plugin but nothing is showing up in $params signifying proper loading and ...
1
vote
1answer
172 views

What is the proper file for a custom field in admin-only article creation?

Through following this guide, I've created a plugin and installed it but I am having trouble with the final step. Most guides are saying to create a template override and if I create an override for ...
1
vote
1answer
445 views

DPFields display values in module

I've been using the Joomla extension DP fields to add fields to the joomla content model. The extension is great, I started using it after watching Macro Dings' talk at Joomla Day UK 2016 on YouTube. ...
4
votes
1answer
172 views

How to remove the default editor inserted in a custom module

I have created a custom module in Joomla 3.5; I have a set of fields, but surprisingly, a default editor is inserted into the module basic tab, while I have not such fields in my fields XML: <...
2
votes
2answers
1k views

Call php function in backend of module

I am trying to call a php function from the backend of a module (I'm using a custom form field). com_ajax does not work because it pulls the current menu item, which doesn't exist since it is not ...
0
votes
1answer
270 views

Joomla Custom Fields Module / Matrix

I'm new to Joomla...wondering if there's a module similar to ExpressionEngine matrix fields. Ultimately, I would like the ability to create a set of grouped custom fields where user can add multiple ...
1
vote
2answers
123 views

Joomla 3.4 custom fields names strange behavior in JForm

I'm working for FE component with form to make ability to user set some values to filter data from DB (ex: select, text). After user make submit these fields need to show values user have selected ...
1
vote
0answers
264 views

Create Custom form field similar to Tag form field type

I want to create a custom field : hobby similar to TAG form field except one thing. I want to create this custom field for my component and therefore want to save the hobby field values or tags in my ...
1
vote
1answer
607 views

Customize Global Configuration

Can we customize global configurations ( configuration.php ) to add custom parameters? . As it stores DB / FTP settings, I want to add payment gateway configurations. If there is a way to add ...
3
votes
1answer
78 views

Handling of Plugin Custom Field Type Data

I have written a custom field type which will allow users to upload a file (CSV). Upon submitting the file, the plugin needs to be able to read through it and then do its own thing (update database ...
3
votes
2answers
615 views

Passing Arguments for custom field

I need a custom field which has to select the database with some conditions. When customer A logged in this field has to select records belong to customer A only. The custom field is as below ...
1
vote
1answer
496 views

Showing a custom field in front-end without a form

I have a custom field called time which has the below coding. jimport('joomla.form.formfield'); jimport('joomla.form.helper'); JFormHelper::loadFieldClass('list'); class JFormFieldTime extends ...
3
votes
1answer
532 views

How to retrieve active filter from a custom field form?

Having followed the excellent explanation for How to create a view with filters and pagination, I have a custom field that filters for the most part. As it is, the code in the custom field is ...
2
votes
1answer
2k views

Adding custom fields to com_content category

I have a component which mainly deals with Joomla content articles. I want to add custom fields to Joomla core category. Is there any chance to add custom fields into category through a plugin or ...