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.

40 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
124 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 ...
2
votes
1answer
67 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 ...
2
votes
0answers
42 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 ...
2
votes
0answers
23 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 ...
2
votes
0answers
53 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 ...
2
votes
1answer
260 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 ...
1
vote
1answer
42 views

Getlistquery Joomla conditional values

So I have a query in the getlistquery method of my model, except that it relies on data in another table, that sometimes is not filled. This gives me an error when that other data is not available. ...
1
vote
0answers
87 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:/...
1
vote
0answers
27 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 ...
1
vote
0answers
97 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 ...
1
vote
0answers
44 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? ...
1
vote
0answers
137 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 ...
1
vote
0answers
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 ...
1
vote
0answers
12 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 ...
1
vote
0answers
41 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. ...
1
vote
0answers
505 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: ...
1
vote
0answers
87 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 ...
1
vote
0answers
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 ...
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
0answers
97 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'...
1
vote
0answers
382 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,...
0
votes
1answer
37 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&...
0
votes
2answers
51 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 ...
0
votes
1answer
53 views

What is url for calling task in controller for Joomla 4?

This is my ajax query for calling a task in the controller (it works for Joomla 3 but doesn't work for Joomla 4): $.ajax({ type: "POST", url: "index.php?option=com_scrib&...
0
votes
0answers
47 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 ...
0
votes
0answers
45 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: ...
0
votes
0answers
37 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 ...
0
votes
1answer
84 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 ...
0
votes
0answers
69 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 ...
0
votes
0answers
26 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 ...
0
votes
1answer
45 views

Checkin When Moving From One Component Edit Screen to Another

We have built a custom Joomla! component that has multiple sections and edit screens. In many cases, our component pages are related to each other and it makes sense for users to move from one to ...
0
votes
1answer
125 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 ...
0
votes
1answer
212 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 ...
0
votes
1answer
140 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 ...
0
votes
0answers
282 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 $ ...
0
votes
0answers
125 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, ...
0
votes
0answers
131 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 ...
0
votes
1answer
162 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 ...
-1
votes
1answer
422 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 ...
-2
votes
1answer
33 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 : ...