# All Questions

6,466 questions
Filter by
Sorted by
Tagged with
22 views

### Error when updating Gantry from 4.1.20 to 4.1.32

My joomla is version: 3.2.7 and Gantry is 4.1.20. I downloaded Gantry 4.1.32, but when I tried to update, this message appears: Fatal error: Call to undefined method JInstallerAdapterPackage::...
27 views

### Embed custom JS app in Joomla MVC

A before warning: I'm new to both Joomla, PHP and JS. So this might be obvious, but I'm lost. I'm looking to embed a program I made in react/node into Joomla. The program uses JSX to create the HTML ...
39 views

### Generating a module instance from PHP

I am trying to render a mod_login module - on the fly - from inside a system plugin. So far, there is no existing mod_login instance in the website nor the database. I am just trying to create a new ...
54 views

### How to create a Joomla module and be able to install it?

I've read all the official Joomla documentation and videos available to learn how to make a basic module, however, when I finish making a module, I can't manage to install it in my Joomla project. I ...
4 views

### how to fix array error on spgenries.php of sp movie database for joomla

This is my first time using sp movie database on joomla. I am getting an error on spgenries, please help with this.... Warning: count(): Parameter must be an array or an object that implements ...
34 views

### How to migrate old J prefix classes to new Joomla classes

I am trying to migrating old classes names to the new ones available on classmap.php However after renaming the classes I am having these errors: Class 'Text' not found //JText works Class '...
54 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 ...
39 views

### Using hooks in Joomla to add a Single Sign-On link in main page of Joomla

I have implemented SSO (Single Sign-On) in Joomla using OKTA and now my goal is to add a link in the main login page of Joomla using hooks. To do this, I have added one checkbox in the service ...
37 views

### After moving from server to localhost it points to main folder index.html instead of showing the site I had live

I am using MAMP and pointing to the project folder. After I access http://localhost, it does not show the website but shows index.html file. I also added db locally, the configuration file I also ...
32 views

### Can't get a task to work from CLI

I've got a custom component I've written which has a task that needs to be run every evening. I'm using JApplicationCli but I can't get it to work. From searching on the web I've found a suggestion to ...
41 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:/...
28 views

### Is there a quick way to deny all privledges for a user group?

It seems to me that when I create a new user group they have access to everything and I maybe only want them to have access to one thing e.g. com_content. I have to painstakingly change the ...
23 views

### Joomla DB where statement not works as expected

I don't understand the world right now. I try to make a simple query from the DB, but it fails with the message that the column is not known. I do not understand why Joomla! tries to see the value I ...
35 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 ...
38 views

### Override 3d party extension plugin method

I found some errors in the code of a third-party system plugin, it is assumed that the developer will release updates and fix them, but for today I would like to fix them myself, for this I made my ...
44 views

### How to display specific K2 extra field of current item with k2 tool module

I am trying to display specific extra field values of a specific item with the K2 tool module. I have tried to get just BRAND, but I'm getting stdClass::brand() error. $db = JFactory::getDBO();$...
34 views

### Pop up AcyMailing subscription form

I am trying to build a Joomla website with an AcyMailing subscription form. I'd like the form to be a pop-up window. I have researched thoroughly and I have achieved most of what I want. Now I have a ...
15 views

How to prevent one Administrator (Not Super User) to look at other Administrator's TFA settings. Currently how it works is it does prevent Administrators from accessing Super Users A/c but it does ...
43 views

### Getting module parameters in AJAX call using module id

I have set up an AJAX call in my module which works fine. I want to get the module parameters when I make the ajax call. So I'm doing this $app = JFactory::getApplication();$module = JModuleHelper::...
65 views

### PlotALOT RSForm Query showing only one result

After being helped very well by Stack community and learning a bit I created a query to show the sum of payments per client. A client can pay multiple times. I would like to know the sum of payments ...
76 views

### Randomly render one of the modules in a given position

I have several modules for a given position, but I only want to display one of them (selected randomly) on the front-end in a Gantry template. Is there any way to do this?
33 views

I have updated Joomla to 3.9 and now I see this error every time I try to load the website: Error: Class 'Joomla\CMS\Cache\Cache' not found: Class 'Joomla\CMS\Cache\Cache' not found Error reporting ...
59 views

### Cannot Connect To MSSQL Server

I am using php 7 and trying to connect to mssql server. I have this code: <?php $serverName = "server"; //serverName\instanceName$connectionInfo = array( "Database"=>"...
48 views

### Trying to connect to an external ODBC data source

I have a need to connect to a data source on an old unix box via ODBC, but I don't seem to be getting far and I can't find any examples to help me. I have started with https://docs.joomla.org/...
37 views

### JRoute not working - always shows the current view

I have created a view for my custom component and it works OK however I've noticed that JRoute only works for the current view. If I am, for example, on the view picture and I try to "JRoute ...
37 views

### How do I pass _JEXEC to a php file?

I have a form in my Joomla! site. Once completed, the form should send an e-mail but only if some conditions have been met. Not having been able to use standard, commercially available mailers while ...
27 views

### Docker compose Start command throwing “No volume error”

I am working on deploying a Joomla application on a Linux server using Docker. When I use the docker-compose start command, I get the following error: "Cannot start service joomla-1: get ...
14 views

### Joomla - File systems failed and made the backend and FTP unable to display files?

There is a serious incoherence between Joomla and the file server. The Joomla is running on Azure as SaaS. A few months ago, as I uploaded photos via Joomla Administrator, I could access them via FTP....
22 views

### Virtuemart installation first page not working?

I'm trying to install Virtumart on my apache server. I used this reference as my installation guide: https://hostadvice.com/how-to/how-to-install-joomla-on-an-ubuntu-18-04-vps-or-dedicated-server/ ...
33 views

### Error Updating Component - does not update

I'm not sure if it's a good title for my question, because my component actually updates - at least that's what Joomla tells me. So, the problem is that I developed a component and now I need to ...
86 views

### Straight forward code example to save and retrieve the data for a Subform?

I hope that I may ask this, but is there a straight forward code example for a subform to save the data and to retrieve the data. What I have now is written an save function in controller/model with ...
17 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 ...
33 views

### Deleting rows in two different tables

I'm trying to make function (task) and deleting rows in two tables. But I don't get this sql query working, I only got this error: 1064 - An error has occurred. You have an error in your SQL syntax; ...
83 views

### How do I add async attribute for scripts?

I would like to add async to script tags coming from here <jdoc:include type="head" />. I have done some research and I found a few solutions, however those are for custom scripts. I ...
32 views

### Search Tools not expanding for Advanced Module Manager

My joomla 3.6.4 site has been recently upgraded to Php7.1.33 I am seeing one issue in Advanced Module Manager. "Search Tools" are not expanding for it. It is expanding for Article Editors ...
40 views

### Json encoding being escaped

I'm writing to the db (I'm automatically creating a module): $module = new stdClass();$module->title = $moduleTitle;$module->note = ""; $module->content = "";$module-&...
15 views

### Fabrik security issue: input tag attributes expose database table prefix

In the generated HTML for the input field, the id and name attributes shows the Joomla database table prefix. Exposing the database prefix is a security concern. Is there a way to prevent this? <...
32 views

### Edited css not updated in XAMPP

I am new to Joomla and just downloaded a template (from my company) and deployed it on XAMPP. When I try to edit the CSS and refresh the page, the css does not get updated. I have tried clearing the ...
39 views

65 views

### Pass PHP variables to CSS?

I want to pass some variables to my css, without using inline styles. During some research I found different sources pointing to the same solution. For example here on the Joomla forum. Basicly they ...
11 views

### KaTeX for Kunena: render LaTeX in preview

Apparently, it's not possible to render LaTeX code in the preview tab of Kunena new message form. On the author website, it's written as a known issue. Do you have any clue on how I can do to render ...