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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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.

0
votes
0answers
15 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 ...
1
vote
1answer
40 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
14 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
0answers
28 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
22 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
18 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
34 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
32 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
59 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
14 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
30 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?
2
votes
1answer
27 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 ...
0
votes
2answers
88 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
22 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
19 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
21 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
30 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
73 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
45 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
25 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
119 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
22 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
31 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
23 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....
0
votes
1answer
149 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
33 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 ...
0
votes
1answer
35 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
66 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 ...
2
votes
1answer
25 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
54 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
27 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 ...
1
vote
1answer
21 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
165 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
35 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
106 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
0answers
64 views

How to add custom fields to admin end component?

I am new to joomla i would like to add new columns to the admin end. I have created custom component using Component Creator Tool successfully but unable to add new custom fields to admin grid and ...
0
votes
1answer
38 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
211 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
66 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 ...
0
votes
1answer
97 views

How to assign Files to Categories in DOCman?

I am new to Joomla and frankly feel like everything works the exact opposite of how I think it should... with that in mind: I have been trying to assign Files to Categories in DOCman for longer than ...
1
vote
1answer
19 views

JRegister::merge does not give correct results

I am developing a component. At the site part model, inside getItem($pk) I am using: $params = new JRegistry; $params->loadString($this->item->params, 'JSON')...
2
votes
1answer
139 views

Documentation tutorial: Why is my JFormFieldList showing a textbox?

I was going through this part of the tutorial: https://docs.joomla.org/J3.x:Developing_an_MVC_Component/Using_the_database Except I tried using my own names instead of 'helloworld'. Everything else ...
0
votes
0answers
32 views

JomSocial get user id

Where must be stored information about the JomSocial User? $user = CFactory::getUser(); I know I can get $user->id with this but for some reasons, it doesn't work. If I will do this: $user = ...
0
votes
1answer
85 views

Join two list views without a shared key

I have a front end list view for a table called #_students and a separate front end list view for a table called #_sessions. The two tables have no shared foreign key and the two data sets are ...
1
vote
3answers
200 views

Why does var_dump not output anything?

Some background:I am trying to debug a component(JoomShopping) which is not working correctly after I migrate 2.5 to 3.7 (I followed their migrate instruction and didn't encounter any problem during ...