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.

Filter by
Sorted by
Tagged with
1
vote
1answer
18 views

Akeeba Kickstart Restore Site and Restrict Access

I use Akeeba Backup and Akeeba Kickstart to restore my sites and it's great. I normally backup and transfer the .jpa files then extract manually, not via the transfer wizard. During the restoration ...
3
votes
0answers
29 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 ...
1
vote
1answer
18 views

Is there a way to remove component media files on update?

In my Joomla component I have a bunch of Javascript files in media that change on update ( basically a compiled Angular app ) and because of the way the system is structured, I need to only have the ...
1
vote
1answer
31 views

Transfer Custom Code to Module / Plugin / Component

Joomla 3.9.12 I've been using Sourcerer in order to place custom code throughout my site, it's working well so far. I've created a custom html module, within this I have added PHP, JS, HTML and CSS. ...
0
votes
2answers
40 views

How to tell if the file can be overridden?

How do we alter the output of a Plugin that is installed in a Component (Example: "ABC" plugin installed in a Component "ABCD")? I understand that the core files can't be overridden. But how do we ...
2
votes
1answer
24 views

What is the reason pagination of records its not working?

Following the Developing an MVC Component / Basic backend guide, I can't make the pagination to work, following the instructions this is the code I have, the records are listed properly and the ...
1
vote
1answer
30 views

Add custom code to the controller from com_weblinks

I want to add analytics tracking code before the component com_weblinks jumps to an external site with task=weblink.go. The problem is the jump is in the controller.php file. An override for this ...
0
votes
0answers
15 views

Override XML File [duplicate]

Using Joomla 3.9.11 and SP Simple Portfolio When adding a portfolio item via the back end there is a description textarea field, this is required. I'd like to remove this required attribute. Looking ...
1
vote
0answers
12 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
36 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 ...
0
votes
0answers
13 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
36 views

Joomla 404 component not found (custom component)

I am trying to create a custom component in my Joomla backend, so I created this xml file: <?xml version="1.0" encoding="utf-8"?> <extension type="component" version="3.8.1" method="upgrade"&...
2
votes
2answers
52 views

How to hide <jdoc:include type=“component” /> on the home page?

I am working with a unique template index.php file and want to remove the <jdoc:include type="component" /> because I don't want to display the empty space on the home page.
3
votes
0answers
33 views

Joomla and Eventbrite Integration

I am looking for a way to integrate Eventbrite with Joomla. I want to show a list of upcoming events that I have created. There are a number of default widgets available with Eventbrite (copy / paste ...
0
votes
0answers
17 views

DT Register - Which file to change to customize the registration form of an event?

I have a Joomla site with DT Register 3.3.2 and I need to customize the layout of the event registration form for the front end. I need to simply alter the position and formatting of some fields, so ...
0
votes
0answers
32 views

setting component parameters

I'm trying to set a parameter of a component. I have models->rules then the php rule. This seems to work fine. However when I try to set one of the component params it refuses to do it. I've ...
0
votes
1answer
25 views

Remove tag association when deleting an item in own component

I followed the MVC Tutorial from Joomla as close as possible to create my own component. I included Joomlas Tags system within my component using the Observer technique in the JTable class class ...
0
votes
1answer
62 views

Accessing path to tmp directory in my component

How can I access in a custom component the full path to tmp directory configured in the Joomla configuration? I have changed the tmp directory to be outside of the Joomla! installation.
0
votes
1answer
38 views

How to write a complex installer script for a component?

I would like to ask the user some questions in a dialog way during installation of my component. As far as I know, this could be done in the preflight method. But I am not sure how to do user ...
2
votes
1answer
62 views

How to configure Eclipse Project for Joomla Component Development

I like to develop a fresh Joomla Component for Joomla 3.x in Eclipse and created therefore a simple PHP project. The problem I have is now how to setup the correct "include path", so that the basic ...
2
votes
3answers
305 views

How to execute an ajax script to update form fields in an .xml file rendered by Akeeba FOF?

I would like to populate the "Owner" select option list by SELECTing the owner column from the #__gscrm_accounts table WHERE the gscrm_account_id (primary key) is the selected "Person or Business" ...
-1
votes
1answer
104 views

Simple plugin to check folder contents on component update

I'm wanting to make a very simple plugin. All it needs to do is On installation of the plugin, copy a folder to a particular component's library folder. When a particular component library is ...
1
vote
2answers
192 views

How to set noindex on components

Anyone who can tell me how I can disable the component users to provide search engines the noindex, means: <meta name=robots content="noindex" /> for example in all Joomla instances, the URL /...
0
votes
1answer
134 views

Display specific Joomla user groups

This code snippet below shows the list of all Joomla user groups(registered,editor.superuser and ...) at component // load in joomla user groups $qry = "SELECT * FROM #__usergroups ORDER BY ...
0
votes
2answers
112 views

How to add a CLI file to the /CLI directory as part of a component install

I have a component that needs a CLI file for use with cron. Is there a proper way to use the components manifest file to specify that the component includes a CLI file and that CLI file should be ...
2
votes
1answer
52 views

Adding Additional Fields to Admin Component

I'm using Joomla 3.9.1 and SP Simple Portfolio v1.6 I would like to add some additional fields to the SP Simple Portfolio component. Image of current fields (taken from Google); How can I add ...
2
votes
1answer
56 views

Why are methods randomly placed in models as well as controllers in Joomla

I am quite new in Joomla. I have now understood the components, modules, templates thing and can also build modules and simple components. But the one thing that has always confused me in Joomla is ...
2
votes
2answers
3k views

Simple AJAX call to a component giving 403 (Forbidden) error

Disclaimer: I'm pretty new to Joomla and web-development, so I probably am making a dumb beginner mistake. So far I've worked through much of the MVC tutorial in the Joomla documentation, and I've ...
1
vote
2answers
151 views

How to hide grey 'button bar' in administrator component view

Is it possible to hide the grey bar where buttons would normally go in an administrator view of a custom component? The grey bar shown below: I have no buttons to show, so don't want it to take up ...
2
votes
1answer
49 views

MVC what stage sets a task if none provided

I am trying to understand Joomla's MVC logic. please help me figure out the processing of the task Unedited code from a Joomla package has the front end article edit form with the task field, but its ...
1
vote
1answer
41 views

Adding multiple Models into a component.

in my component Centros I have the view and model for Hospitals, working fine. I want to call a general model. general.php located in the models folder. class CentrosModelGeneral extends JModelItem ...
0
votes
1answer
304 views

How does JFactory::getApplication->input get the input id

I am trying to get the current itemid of an especific menu which calls a custom component. I had a custom component called on the menu with the url /something. Inside of the site model of my ...
2
votes
1answer
29 views

Upgrade component under development without reuploading files

I'm developing a component and as I make changes to the SQL update files and install files, I'd like to run the component upgrade process without having to package up the component and upload it. ...
2
votes
2answers
190 views

Run function in com_content with ajax - doesn't call it correctly

I've been following this tutorial to make an AJAX login form: http://www.mysite4u.net/joomla-articles/jquery-ajax-joomla-login.html But I can't get it to work. The ajax call doesn't work. It gives ...
1
vote
1answer
231 views

in Joomla 3.8 default search tools do not respond in my own component and cannot set and get state of the filters

I try to get some help from you to spot what I am doing wrong (what I am missing) on applying search tools and filters in the admin of Joomla 3.8 in my own component. I am pulling my hairs out since ...
1
vote
2answers
267 views

How to build valid json object for a component's ajax response?

I've set up an Ajax call in my component. I seem to have got the initial call, the controller, the data model is working because when I make the JavaScript call I'm showing this in the code inspector ...
1
vote
2answers
44 views

What are the differences of Joomla modules vs components vs plugins?

A very basic question probably... But what are the differences in Joomla terms between: module components plugins If I am a developer for Joomla what and why should I name it a module, component, ...
6
votes
3answers
364 views

Website speed is awful

I work as an apprentice web developer who has been left in charge of the web team (all of my colleagues have left) and have been left with an impossible task. We have a 10-core Windows server, with ...
0
votes
1answer
33 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 ...
1
vote
0answers
42 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? ...
0
votes
1answer
26 views

Field of type contact

In a form of a custom component, how can I add field of type contact instead of type user?
1
vote
1answer
34 views

if statement for components - template

i use a Solution for my Custom Bootstrap Template. Here is my idea: If a certain component open in the frontend, they add the word "-fluid" to my containter css class. but i don't know how i can ...
1
vote
1answer
45 views

List of users in form

In a component, if I want to add an user field to the form, I can easily use a field of type user, and play with it as I want. But what can I do if I need a field that stores an array of users? The ...
5
votes
2answers
116 views

Errors de-crypting libsodium encrypted values from database

I've been implementing some encryption at rest in one of our Joomla components, but keep getting a couple of errors when de-crypting the values when they're written and read from a database. So I ...
1
vote
1answer
131 views

Error! Could not find a Joomla! XML setup file in the package

I'm looking for an extension to serve my Joomla 1.5 websites contents as REST, after some search I've found https://extensions.joomla.org/extension/rest-api/ component, but there is no specification ...
1
vote
0answers
108 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 ...
3
votes
1answer
66 views

Component Development PHP Version Check

I've been developing a component, and have been trying to find some information, to no avail, of having my component perform a check of the PHP version before install. If PHP is greater than 7, then ...
1
vote
3answers
592 views

Calling Joomla!'s Default 404 Page

I am working on a custom component that displays pages to the user on the front-end. It is possible that a user may try to access a page of the component that no longer exists, and in these instances, ...
0
votes
1answer
51 views

How to trouble-shoot alert error message with no information

I am receiving the following error on a site component list view "Error An error has occurred." That's it. Nothing said of what caused it, where the error occurred or anything else. By searching ...
0
votes
1answer
27 views

How can I make it pssible for users to login and add their products?

I want to build a form for the users of my website to let them easily add their products in frontend page under the name of their shop. To this end, which plug-in, component, or extension ...