As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [component]

Components are the main functional units of Joomla!; they can be seen as mini-applications. An easy analogy would be that Joomla! is the operating system and the components are desktop applications.

47 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
190 views

Document Manager Recommendations

I'm looking for some recommendations for a document manager that's compatible with Joomla 3+. Seems to be a pretty popular question throughout the Joomla community. In the past I've always used Phoca ...
jonboy's user avatar
  • 3,543
2 votes
1 answer
81 views

What is the correct way to insert the first category called "Uncategorized" in the categories table in the SQL file during installation of component?

I also need to know if the insert of the table #__content_types is correct and if there is something missing in the SQL installation code. SET time_zone = "+00:00"; CREATE TABLE IF NOT ...
JonatasCF's user avatar
2 votes
0 answers
58 views

Authenticate Http request

I'm trying to POST from one controller method to another with the Http class. $http = new Http(); $url = Uri::base().'index.php?option=com_mycontroller&task=my_method'; $response = $http->post($...
justrusty's user avatar
  • 131
2 votes
1 answer
82 views

Is it possible to create a component "addon"?

I've created a component for handling a multitude of things for my clients, but I frequently get feedback that certain sections aren't needed or that additional sections are desired. The first ...
Chaosxmk's user avatar
  • 318
2 votes
0 answers
125 views

How to get an AJAX call in component's administrator side

I added a component to my site and it accesses my DB via an AJAX call. In my 'tmpl' folder, I have a 'default.php' file which makes an AJAX call that is received by view.json.php just outside that ...
LaioZatt's user avatar
2 votes
0 answers
29 views

Using the SQL `Delimiter` statement in component update

For the next version of my component I need split some data into different tables, which requires some rather more complex SQL than I would usually use. The problem is that there doesn't seem to be a ...
glenatron's user avatar
  • 239
2 votes
0 answers
59 views

Clear component toolbar task

I've added a custom toolbar button to export the items from a custom component as a CSV. The CSV is getting exported correctly but my custom task is then being triggered when navigating the ...
Sean Dooley's user avatar
2 votes
1 answer
289 views

Create record from modal edit form

Is there a standard Joomla mechanism / development pattern for creating a modal edit form to create an item from within another item? I've used this tutorial to create a modal list view, where you ...
codinghands's user avatar
  • 2,295
1 vote
1 answer
30 views

admin edit.php saves but doesn't retrieve data from "params" database field

I have a config.xml with some parameters for my component. I need to define these parameters for each individual item. So in admin/models/forms/myview.xml, I've written my fields: <fields name=&...
Alberto Santini's user avatar
1 vote
0 answers
23 views

Article layout override in J!4

I'm starting to worry about updating my Joomla! 3 to Joomla! 4 (4.0.6 at the time of posting this). In Joomla!, 3 I used a lot the functionality that allows to create article layout overrides by ...
Simon D.'s user avatar
1 vote
1 answer
176 views

Where do I add php code to submit an HTML form?

I am new to Joomla, and so far, I used the basics to make a simple website. I decided to try out making a component, using JCB, that has a database of a list of items, and for each item, there is a ...
shaded's user avatar
  • 11
1 vote
0 answers
64 views

"404 Component not found" when trying to set an image for a category

I'm experiencing a really weird error in the backend of my site - Whenever I try to set an image for a category or article, the modal that pops up just shows me the Joomla dashboard. When I'm editing ...
D Shaw's user avatar
  • 11
1 vote
0 answers
105 views

How do I upload images to a specific folder (Component Backend)

I would like to know how I upload files to a specific folder through Joomla Administrator Panel (My Component Backend). I know how to do it in the site part following along with this tutorial: https:/...
Thiago Guimarães's user avatar
1 vote
0 answers
31 views

Failed deleting sourcerer_php - Joomla 3.x

I randomly get a warning notice on the front end of my Joomla! website and I really can't understand why. Failed deleting sourcerer_php_d72bnbv27u4bfkdpa01347flf8gfkl I checked my tmp folder on ...
KingUthil's user avatar
1 vote
0 answers
130 views

How to get SEF URL from JRoute when layout set in menu item

I've set up my component which has one view and several layouts. For each layout I've added a views/myview/tmpl/layoutname.xml file which sets the layout via a hidden variable, like so: <field ...
Dom's user avatar
  • 512
1 vote
0 answers
48 views

Module placed in main area and displaying article images? Is that allowed?

Edit: ____________________________________________________________________ To clarify this. It’s not about how to code it. But a question about which to choose. Module or Component? ...
Jonas Borneland's user avatar
1 vote
0 answers
156 views

"Joomla is not defined" error when logged in - Pagination

Hi we have 2 different custom componenets running on a website (they aren't loaded together, just have the same issue) and they have pagination. We are finding that when clicking on the pagination an ...
Alex Mehan's user avatar
1 vote
0 answers
17 views

Desktop application for macOS to generate components, plugins and modules

I would like to know if there's a desktop application to easy generate components, plugins and modules for Joomla. I have tested this two generators: https://www.npmjs.com/package/generator-joomla3 ...
troyKoutei's user avatar
1 vote
0 answers
16 views

Com_Contact strange behavior showing labels for empty contact fields, how to resolve?

So, thanks to FFrewin's help I was able to resolve and issue with the default com_contact template not showing entered address information Problems with Contact showing . The issue is that the contact ...
nizz0k's user avatar
  • 537
1 vote
0 answers
44 views

How does com_contact caching work when it has a form token?

I've been looking into conservative caching recently and felt I'd got my head around it. However, when I added it to a site, I was surprised to see that the core component com_content caches forms. ...
RichardB's user avatar
  • 3,072
1 vote
0 answers
555 views

Using CodeMirror editor in custom component

I am trying to use CodeMirror as the editor for a field inside a component I am developing. I have specified the editor as codemirror in the form.xml file but I get a javascript error on the page: ...
Maverik Minett's user avatar
1 vote
0 answers
91 views

How to implement nested submenus in the administrative sidebar?

I'm using JHtmlSidebar::addEntry() to build a menu in the sidebar. However, I need a better way to organize the menu items in there. I don't see a way to easily create a nested menu structure. I'm ...
nimble's user avatar
  • 418
1 vote
0 answers
44 views

Are there any file download components for joomla that are MVC and Bootstrap?

I've tried pretty much every free file download component I could find, all of them are flawed to the point where I dont see them as the answer for my site. I would like something that is coded with ...
wobbles's user avatar
  • 215
1 vote
0 answers
271 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 ...
Liz.'s user avatar
  • 1,375
1 vote
0 answers
104 views

How to retain state on refresh when adding a new item?

In a component I'm building I plan on having a 'new item' screen featuring a button that will, on click, allow a modal selection from a 'list' view using a custom modal form field type. Once done, I'...
codinghands's user avatar
  • 2,295
1 vote
0 answers
392 views

Remove /components/ from Popular Tags Cloud module

I have set up a page called domain.com/tags.html on the root which links to the com_tags component and shows a set of tags most used. I also want to use the Popular tag cloud module, mod_tags_popular,...
Anriëtte Myburgh's user avatar
0 votes
0 answers
20 views

Drag-and-drop - what is the value of "data-draggable-group" for?

I've been building a Joomla 4 component, and have been looking to add the drag-and-drop re-ordering functionality. I have been doing this by looking at how the core components achieve it. I managed to ...
RichardB's user avatar
  • 3,072
0 votes
0 answers
22 views

How To Install And Set the path to FFMPEG in EasySocial Joomla Component

How can I install FFMPEG for EasySocial Joomla Component and then set the path to FFMPEG in EasySocial Settings Video Section? We are using Laragon Local Server. PHP: 7.4.33 OS: Windows 10
Saeed Ghofrani Jahromi's user avatar
0 votes
0 answers
81 views

How to use emoji picker plugin from editor in Joomla in a textarea field?

I need to use the emoji picker plugin from editor to add emojis in a textarea field. Is it possible? It's for my chat component: https://extensions.joomla.org/extension/communication/chat/tabapapo/
JonatasCF's user avatar
0 votes
0 answers
30 views

In extensions, make the schema update SQL conditional

In the xml install file for an extension for Joomla! 4.0, there are these lines that make the SQL update : <update> <schemas> <schemapath type="mysql">sql/...
user3533235's user avatar
0 votes
1 answer
114 views

Trying to add subform field to existing component xml

I've added the following into my components XML file : <field name="activity_name" type="subform" label="Activity" description="" multiple="true&...
RustyJoomla's user avatar
  • 2,066
0 votes
2 answers
62 views

Run model function in view file to insert default value into sql

I am new to Joomla and received a half-done component. It is a mostly database-dependent component. The component consists of a SQL file that inserts all the data and is able to display it. I am ...
Marcin Sypniewski's user avatar
0 votes
0 answers
207 views

An error has occurred. 1062 Duplicate entry '0' for key 'PRIMARY' Return to Control Panel?

I have been trying to add a new post from few days using the EasyBlog component in my Joomla 3.9.24 site, but I am getting anerror after clicking the add new button from the Joolma backend. I can't ...
manikanta gowda's user avatar
0 votes
0 answers
94 views

Joomla - PHP session in joomla disappears

I am programming a little component and module in Joomla. My component and module reads a variable from the php session (this variable is set before for external php script). External php script: ...
mreig's user avatar
  • 1
0 votes
0 answers
65 views

Adding a module from a component

I have a component that I want to use to add a module automatically. This needs to be achieved in the administrator area. My idea is to have a button in one of the component views. That component ...
user1616338's user avatar
0 votes
1 answer
149 views

How to override "Select an option" header for SQL and list fields

In my custom component, inside the forms, I have several list fields. Some are normal list fields, others are sql fields. All of these show "Select an option" as a header. I can't find the way to ...
TVBZ's user avatar
  • 213
0 votes
0 answers
108 views

How to override default.php for config.xml

I have component which has config.xml. It is render with the com_config/view/component/tmpl/default.php. I need to override this file in my component and create my custom layout. Red all the articles ...
Toma Tomov's user avatar
0 votes
0 answers
40 views

Jomres Country code and flag not corresponding

Country codes and flags do not correspond. Where can I change the country codes? I checked the mod-language (language switcher), but didn't find all the flags and countries. Is there another folder ...
nanar's user avatar
  • 1
0 votes
1 answer
169 views

Admin Component File Upload -> Cannot Get JInput to work

I am struggling to get an admin form file upload to work using JInput. I have tried pretty much every permutation of $input->files->get(''); I can think of with no luck. No matter what I do, it ...
Zachary Draper's user avatar
0 votes
1 answer
234 views

Content History Component Not Found

I have a Joomla installation which is on 3.6.5 and working on upgrading to 3.7. While carrying out a test upgrade on a dev version of the site, I got presented with an error about the contenthistory ...
user avatar
0 votes
1 answer
163 views

Restrict user to only edit its own items in zoo

I'm trying to restrict to each user to only edit its own items created in zoo but I can't achieve that. My steps was: Create user group fake group (inherit from public). Create level access fake ...
Rene Limon's user avatar
0 votes
0 answers
287 views

How to limit the number of users displayed in my component using pagination?

I have a component that displays a list of people. I want to limit the number of users displayed using pagination. My view therefore includes : pagination- > getListFooter( ) <? Php echo $ ...
Jocya Oli's user avatar
0 votes
0 answers
132 views

How to use a Toolbar Button without redirect?

I am developing a Joomla Administrator Component. In the Toolbar, I created a Button via JToolBarHelper::custom('administrat.saveIt', 'save.png', 'save.png', 'SOME_TEXT', false); In my controller, ...
LocalHorst's user avatar
0 votes
0 answers
141 views

Is there a way to automate component installation in a build script?

I have a build script that watches the files in the component for activity, and automatically zips up the component, and overwrites the existing zip. I still have to manually go to the admin interface ...
blanket_cat's user avatar
0 votes
1 answer
200 views

Always force limitstart=0 for component's paginated lists when revisiting the list

I am facing problem with Joomla listing. When I log-in into Joomla admin panel and use pagination for listing, if I click and visit the 3rd page of the paginated data of the 3rd page, then go to ...
surya's user avatar
  • 11
-1 votes
1 answer
439 views

Joomla 3x MVC Component "getState" not working properly

I'm developing something like a content component I choose a specific item through Menu Items component and choose what item i want so that once i navigate to that menu I can see the item i choose ...
Voj's user avatar
  • 65
-2 votes
1 answer
38 views

SchuWeb Sitemap error: non-numeric value encountered

I'm trying Schuweb Sitemap (3.1) on two Joomla sites (3.9.21). I'm getting the same error on both sites: Erreur d’analyse XML : données incompréhensibles après l’élément de document Emplacement : ...
Gareth's user avatar
  • 1