All Questions

Filter by
Sorted by
Tagged with
1
vote
1answer
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::...
1
vote
0answers
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 ...
2
votes
0answers
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 ...
1
vote
2answers
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 ...
0
votes
0answers
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 ...
2
votes
1answer
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 '...
2
votes
1answer
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 ...
2
votes
1answer
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 ...
0
votes
1answer
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 ...
0
votes
0answers
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 ...
1
vote
0answers
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:/...
1
vote
1answer
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 ...
0
votes
1answer
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 ...
2
votes
0answers
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 ...
2
votes
0answers
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 ...
1
vote
2answers
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(); $...
1
vote
1answer
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 ...
0
votes
0answers
15 views

Joomla TFA multiple Admins

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 ...
1
vote
1answer
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::...
2
votes
1answer
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 ...
3
votes
2answers
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?
1
vote
0answers
33 views

After updating Joomla 3.9 - Class 'Joomla\CMS\Cache\Cache' not found

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 ...
2
votes
3answers
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"=>"...
3
votes
1answer
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/...
2
votes
1answer
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 ...
2
votes
1answer
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 ...
0
votes
1answer
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 ...
0
votes
0answers
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....
0
votes
1answer
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/ ...
1
vote
1answer
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 ...
0
votes
2answers
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 ...
2
votes
0answers
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 ...
1
vote
2answers
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; ...
2
votes
2answers
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 ...
1
vote
2answers
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 ...
2
votes
2answers
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-&...
1
vote
0answers
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? <...
0
votes
1answer
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 ...
1
vote
1answer
39 views

Creating a menu using php

I'm trying to create a menu item in joomla 3.x using php I've been trying to get this code to work: $menuItem = array( 'menutype' => 'client-pages', 'title' => "new Menu", '...
0
votes
1answer
27 views

Other files overriding my template css with bootstrap?

I have a strange problem with one of my homepages. I changed the font-family and font-size in my Joomla Template (JM Guesthouse by Joomla Monster) and nothing happened. After some minutes playing with ...
0
votes
0answers
17 views

A slash is being automatically added after the hashtag in urls

I just wanted to implement a scroll to an element for two anchor tags. The problem is that Joomla is adding a forward slash between the hash mark and the named anchor. When I have something like <a ...
0
votes
2answers
42 views

What directory should contain GPL scripts from external source? Best practice?

I am making a custom gallery module using Light Gallery. In most cases, I would just place all my JS files inside /assets/js directory. But I wonder if this is good practice when using an external ...
0
votes
1answer
42 views

Photo size validation

I use the Fox Contact component on my website, and through that component users send me photos (as an attachment) I had to make a few modifications in the upload form itself and make filters for file ...
0
votes
0answers
35 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 ...
1
vote
1answer
50 views

Redirect Working on Module Not Menu Item

Joomla 3.9.19 I have a login module and in the Login Redirection Page I have selected a menu item > single article. This redirect works fine. I also have a menu item type > login form. In the ...
1
vote
2answers
42 views

Use addScriptOptions for multiple modules on same page

I am passing some params to JS in my custom module using the addScriptOptions provided by Joomla: $document->addScriptOptions("mod_mymodule", $params)); This works fine, as long as there ...
1
vote
1answer
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 ...
0
votes
0answers
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 ...
0
votes
1answer
29 views

Owl Carousel not working in Joomla, why?

I am making a custom module using Owl Carousel 2. For some reason it just doesn't work in Joomla. The html structure is there in frontend, but the owl carousel is not displayed. Unfortunatly, there ...
1
vote
0answers
22 views

SchuWeb Sitemap includes Noindex Pages

I am using Joomla v3.9.19 along with SchuWeb Sitemaps (v3.1.0). Recently, I added some new pages (single article menu item) and added in menu entry the metadata noindex, nofollow, but SchuWeb Sitemaps ...

15 30 50 per page