All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
17 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
25 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
23 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
20 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
30 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 ...
-1
votes
0answers
30 views

“Fatal error: Only variables can be passed by reference” while trying to upgrade to Joomla 3.6.5

I cannot upgrade my site to Joomla 3.6.5 because I am receiving the following error: Fatal error: Only variables can be passed by reference in /home/esteemso/public_html/administrator/components/...
2
votes
0answers
35 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
42 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
30 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
37 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
60 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 ...
2
votes
1answer
54 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
25 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
56 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
0answers
37 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
31 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
31 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
23 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
13 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
20 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
32 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
73 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
16 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
28 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
72 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
28 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
34 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
23 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
13 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
40 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
48 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
38 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
53 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
28 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 ...
1
vote
1answer
26 views

Where to find article page title in database?

When managing an article, there is a "Browser Page Title" field in article options tab. It's the last field in the tab, just below the "Read More Text". Why it's not in the publishing tab makes no ...
0
votes
2answers
73 views

Moving a Joomla site to a new hosting and now getting missing dependency errors

First, some background information... I am a medical doctor, not a professional webdev, and I am not very experienced with Joomla. I have only used Wordpress in the last few years for some random ...
1
vote
1answer
48 views

Cache works for html view but not for xml output

I'm currently debugging (and trying to understand why) the caching for the html view is created, but not for the xml view. I read the Joomla! documentation article https://docs.joomla.org/J3.x:...
0
votes
2answers
51 views

Custom module best practices. JS inside template file or not?

I am building a custom module for Joomla. Let's call the module "mod_mygallery". Inside the module I have a the files mod_mygallery.php, helper.php and mod_mygallery.xml. And off course I also have ...
0
votes
1answer
22 views

How to retrieve all essential cookies used by Joomla?

I need to display all cookies that Joomla uses. I tried print_r(headers_list) and I got this Array ( [0] => X-Powered-By: PHP/7.3.12 ) So I tried print_r($_COOKIE) and I got this: Array ( [...
0
votes
2answers
34 views

How to reference a file locally within my class

I'm trying to use file_get_contents to reference a .json file in my module. My directory structure is as follows my custom field which is trying to reference the json file /models/fields....
0
votes
2answers
36 views

How can I set the option values of my custom list formfield

I have created a custom form field which extends the list form field. I takes some JSON and creates the form options. I used this documentation: https://docs.joomla.org/...
1
vote
1answer
55 views

Joomla 3.9 Child Sub Menu Not Showing

I am using a custom Joomla template called 'Portent' built by Joomlanauts -- a @SethWarburton creation. The issue which I am facing is that the Sub-menu under my Child menu items are not showing for ...

15 30 50 per page
1
2 3 4 5
128