Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
1answer
21 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. ...
0
votes
0answers
10 views

Prevent disabling/uninstalling single component from package

I have a package extension with 3 plugins and one library. All plugins depend on this library. User can go to extension manager and disable only the library which will prevent all plugins to work ...
1
vote
1answer
41 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
45 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 ...
0
votes
0answers
15 views

Error updating 'COM INSTALLER TYPE TYPE' in Joomla after migration

I have tried to install extension updates since I am getting the following error: 404 Component not found However, when I try to click find updates it finds some of the plugin and stops at a blank ...
1
vote
2answers
22 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, ...
0
votes
0answers
21 views

Developing a non administrator way to create new coupons

Using the AwoCoupon component with Virtuemart and VMVendor(Multivendor Marketplace), I need a way for my vendors to create new coupons. Currently, the only way to create coupons is through the ...
0
votes
0answers
17 views

User Specific Data on User Specific Pages

OK, so I want to have clients be able to log onto my site and them be dircted to their own page. I need to show them various financial reports that come from Google Sheets, Google Slides, but only ...
4
votes
2answers
77 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
0answers
17 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
33 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
23 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
21 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
36 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 ...
0
votes
0answers
12 views

Internal Server Error when installing a component

When I try to install a component on live site it gives Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the ...
0
votes
0answers
34 views

Smart Search truncate the results

Is there a way to show the smart search results without stripping the html tags? The descriptions are truncated and I need to show the HTML tags of the article in the results page. I was trying to ...
5
votes
2answers
68 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
23 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
35 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 ...
0
votes
0answers
10 views

How to integrate real-time in joomla component, module?

I want to integrate real-time into a joomla component or module, is it feasible and is there any library that supports and matches joomla?
3
votes
1answer
33 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
2answers
153 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
26 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
0answers
24 views

Poll/survey component with email verification

I need a component where people can vote in a poll after verifying their email address through a confirmation email sent to them. I know there are many web polls that work like this. What we ...
0
votes
1answer
23 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 ...
0
votes
1answer
36 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 ...
2
votes
2answers
91 views

Trouble Connecting to External Database

Context: Joomla 3.8.5 MySQL Joomla database = berrien_dev External database = BMP PHP 5.6.33 I am attempting to access in a component I am writing an external database that sits in the same MySQL ...
0
votes
0answers
53 views

passing an array from view to controller to model

I have a component made with Component Creator. I am trying to form an array in the view, pass that array through the controller to the model, and save it to the database via a function in the model. ...
0
votes
1answer
27 views

Need guide on Joomla [closed]

Its my first time to work with Joomla and I need to make a plugin that basically stores/updates a name and a City the thing is that I want this functionality only in admin panel not in the front end. ...
0
votes
1answer
30 views

Component/software recommendation?

I want to know if you guys know of any good components or extensions which can perform the following: I want a user to be able to submit a form, view this form and edit it when they require. Every ...
0
votes
1answer
176 views

How can I save multiple dynamic values using check boxes?

I have a form which fetches and displays data from two databases (sessions, students) and allows a curriculum manager to select different combinations of students and classes by clicking check boxes. ...
0
votes
0answers
34 views

echo sorting direction without grid.sort on selected column

using JHTML grid.sort I can sort the columns but I want to sort without this <?php echo JHTML::_( 'grid.sort', JText::_('lastName'), 'lastName', $this->sortDirection, $this->sortColumn); ?&...
3
votes
2answers
32 views

How to assign template to a component?

Does anyone know how to assign a template to a specific component? I know I can create menu items and then assign URLs to a template. But how can I assign a template (not the default) to a component ...
1
vote
1answer
25 views

Using a non-numeric ID in a backend component

In a backend component, I have one table that does not have numeric ID numbers. It is instead indexed on a unique alphanumeric value (think like a list of U.S. territories indexed on abbreviation, e.g....
1
vote
1answer
187 views

Joomla! 3.6.4 router.php for a custom component

I am developing a custom component for Joomla! for the first time and I am stuck on the creation of a router.php. I alredy read the Joomla! Documentation but without clearly understand what to do. ...
1
vote
1answer
35 views

Dependency check while installing a component

Suppose, one component is dependant upon the presence of another component. I found a function that is activated before installation: create a file "script.php": <?php // No direct access to this ...
1
vote
1answer
38 views

Minimal/Basic Structure for a frontend Joomla component without using Joomla MVC

What is a basic/minimal skeleton structure on which to build a component without extending the Joomla MVC classes? The skeleton should install and uninstall, not throw any errors, and be practically ...
1
vote
1answer
77 views

Joomla onExtensionAfterSave event

I am developing a component extension to create different forms for insurance. When I create a form in backend and save it by clicking the Save or Save & Close button, I am going to create a ...
3
votes
1answer
36 views

How do I access global joomla configuration values using codes?

I have a custom table in a view which uses JModelLegacy instead of JModelList since the data source isn't a database. But I still want to use the global default-list-limit value for fetching values ...
0
votes
1answer
71 views

Calling a Model's Method from View [duplicate]

I have a function in my model to sum several columns of a table. public static function get_sums() { // Create a new query object. $db = $this->getDbo(); $query = $...
0
votes
0answers
41 views

How to custom url when click filter or clear filter in component joomla 3.8?

In view list all items in component, i put one variable is: user_id in url view to get items by user_id from url. But when i click to filter, clear filter, pager,... then after reload page url lost ...
2
votes
1answer
25 views

How to add un/archive or un/trash buttons in a manager button-group that isn't in a dropdown?

What I'm trying to do is this: But failing at it. The codes I've tried using are: <td class="nowrap center"> <div class="btn-group"> <?php echo JHtml::_('jgrid.published', ...
1
vote
1answer
195 views

Database query to select a specific year

I am trying to convert a small php script to a component for Joomla, So far it is working well. But I would like to make some adjustments. The view shows data in a table of numbers from specific ...
1
vote
1answer
40 views

looping thru an array, trying to select a unique row

I am following along the helloworld videos/tutorials on the joomla site and figured I would try displaying a table of numbers. I have been successful displaying the table as a whole but I would like ...
0
votes
1answer
21 views

Big Sized files download links for frontend users component

Is there any component which allows large files management. I would like to provide download links for frontend users but but the file size excedes 500MB. On the other side just the logged in users ...
1
vote
1answer
142 views

Component view problem. Model method not called

Today I made my first Joomla component following their tutorial. Everything in my component was working as intended until I decided to add a second view to my component. I added a new folder in the /...
0
votes
1answer
49 views

string together multiple partial templates

I have a database with two parent tables and several child tables. I need to display a single parent record from one table with all the related records from each child on a single page. I thought ...
2
votes
2answers
255 views

How to add CSS to component settings?

I am working on a Joomla component, which includes hyperlinks. I'd like to include the URLs for the links in the configuration of the component. Therefore I added a config.xml to the main directory ...
1
vote
0answers
13 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 ...
0
votes
0answers
77 views

addScript breaking frontend editing

I have a piece of code in a component that I am building that loads maps in a tab in the admin view. The code works perfectly on the admin side, but when I attempt to add frontend editing, it's ...