All Questions

Filter by
Sorted by
Tagged with
1
vote
2answers
305 views

UPDATE query to add 1 to multiple columns

I have a website for my football team. I have some statistics and so on in there, for example how many games each player has played and so on. What I would like, is for me to write in the names of ...
1
vote
0answers
29 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 ...
3
votes
1answer
63 views

Backing Up Live Site Using Akeeba

Joomla 3.9.15 I have been using Akeeba to backup my sites and it's very good. I've recently installed in on quite a busy site, users are regularly logging in and out of the front and back end, and ...
4
votes
3answers
987 views

SMTP connect() failed, Cannot send mails

I have a vanilla Joomla installation. I installed RSForm plugin to send emails from Contact Us form. However, when the user fills out the form get the message: SMTP connect() failed I tried to ...
1
vote
1answer
66 views

RSform!pro rounding

I have a bunch of Input radio groups with two values (yes = 1 and no = 0) So what I would like to have is to sum logically, means a {input1:value} || {input2:value} || {input3:value} || {input4:...
1
vote
1answer
111 views

Joomla BuildRule adds language code at the back of setPath

I'm having a problem with building the rule for a particular URL. Here's what I have in my system plugin: //... function onAfterInitialise() { require_once '/path/to/myhelper.php'; $router = $...
0
votes
1answer
75 views

not able to do ajax request in my custom component i'm not working in mvc right now

if i go with upload my php file where data is being sent and from where data is getting stored (that php file) stored into server http://ip/includes/js_new/update_contact.php then it shows 500 ...
3
votes
3answers
1k views

Hide languages from the Language Switcher

I have a question about the Joomla language switcher module. I would like to hide the option to switch to English language on the website. I can't unpublish the English language because then it says ...
2
votes
1answer
33 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
43 views

How to assign a template for a specific page

I want to create a template for a specific page: the search result page. I found the options to specify a template for an article or a page but not for a joomla system page. Is possible to specify a ...
3
votes
3answers
977 views

How to remove the type attribute from script tags of an Html5 document?

From the beginning of december 17, W3C XHTML started to point out this error: The type attribute is unnecessary for JavaScript resources. The above warning is generated inside Joomla script itself ...
16
votes
4answers
7k views

Joomla Registration: Remove unneeded fields

First, I am aware of this question: https://stackoverflow.com/questions/14799733/remove-name-field-from-joomla-registration-form But the link in it's answer is dead, and the file path mentioned ...
0
votes
1answer
36 views

Creating a Library with multiple classes within a single file

I am trying to incorporate an external application as a library within Joomla which I have done before on a couple of occasions, however in this case there is a single .php file with about 20 classes ...
0
votes
1answer
22 views

Update Joomla Site With FTP From Admin Panel

I just set-up a VPS and installed Joomla. Now I need to update. When I click on the update button, and I try to do it through FTP I get this error message JFTP: :connect: Could not connect to ...
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
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
5k views

JSON.parse: unexpected non-whitespace character after JSON data

I want to use jQuery.ajax for sending new mark(about article) to database and changind number of marks on page. But I receive bad AJAX response from server. {"likes":"40","dislikes":"29"}{"success":...
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-&...
2
votes
2answers
117 views

How to configure Eclipse Project for Joomla Component Development

I like to develop a fresh Joomla Component for Joomla 3.x in Eclipse and created therefore a simple PHP project. The problem I have is now how to setup the correct "include path", so that the basic ...
1
vote
1answer
73 views

Virtuemart 3.4 - products on manufacturer page

Virtuemart 3.4.2, joomla 3.8 i try copy code from category template, but cant fix this errors: at /my_template/html/com_virtuemart/manufacturer/details.php NOW I HAVE Two ERRORS: Call to a member ...
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 ...
0
votes
1answer
94 views

Form validation in Joomla with form rules doesn't work

It will try to include new rules to validate the fields of a form and it does not work. I can not even get messages on the screen. Am I missing something in the code? Here is my code: <form ...
0
votes
2answers
24 views

Is it possible to change the parent of a menu item at certain widths?

I have a horizontal main menu in which the last item is a dropdown containing further items. Is it possible, as the screen width is reduced, to move items from the horizontal menu into the dropdown? ...
0
votes
1answer
134 views

Convert from MySQL query using SUBSTRING_INDEX into Joomla API query?

I have a query which gets the information that I want using SUBSTRING_INDEX in MySQL. I am trying to convert this to use the Joomla query building syntax, but I am not sure how it should be formatted? ...
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; ...
0
votes
1answer
20 views

joomla returning invalid fields for user registration

I've added in custom fields for joomla registration, however it's returning them as Invalid Fields? $requestData = $this->input->post->get('jform', array(), 'array'); echo '<pre>';...
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 ...
0
votes
1answer
43 views

JoomlaBrowser (Codeception Module) Acceptance Test Issue

When trying to write an Acceptance Test doing this: $I->createMenuItem('New Link', 'MyComp', 'MyComp list', 'Main Menu'); I get this: Step Create menu item "New Link","MyComp",...
2
votes
2answers
74 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
1answer
38 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", '...
1
vote
1answer
49 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
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? <...
1
vote
6answers
2k views

Are there any alternatives to Fabrik for building a database application (ERM/CRM)?

I am building an internal database application for Joomla using Fabrik. I'm interested to know if there are any alternatives to Fabrik for me to use. Maybe some of them have more options? In my case, ...
0
votes
1answer
29 views

How to show k2 article previous date only and upcoming only

I am creating k2 articles as events. There will be: Upcoming events Old events. I am not able to show old events for current date. How to filter both types of events (Upcoming/Old) with ...
0
votes
2answers
41 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
259 views

Show content in 2 different languages

This is hard to explain, but still I will try my best to do so. I want to set up a multilingual Joomla website, with 2 languages. For each language I want to have checkboxes in the menu. Let's say, ...
0
votes
0answers
14 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
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
1answer
34 views

How to cancel a mandatory (required) field in Virtuemart form submission process?

I want to free my future site's visitors from having to fill out the form before submitting their name, e-mail and a phone No. Basically, in most cases it won't be needed for them to also add more ...
1
vote
3answers
2k views

Joomla 3: import rss feed

I could not find any plugin, which could help me with importing rss feed (like this: http://www.verzekeringsnieuws.nl/rss/algemeen.xml) I found feedGator, but it didn't work in joomla 3... maybe ...
0
votes
1answer
37 views

How to redirect all exceptions/error to a 404 page or back to home page

I'm currently using Joomla and we have a small security vulnerability in our URI. Currently, it displays the Exception/Error directly to the user like so: You have an error in your SQL syntax; ...
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 ...
0
votes
1answer
39 views

Controller Joomla - Output Class construct for color css style

thanks to you i'm learning a lot about php and Joomla Develop! Many thanks! Now i'm trying to understand php class into joomla and construct output i've created this class into my controller.php ...
1
vote
1answer
60 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
2answers
165 views

Joomla calendar field issue

I create a plugin in k2, which has a calendar field. When I choose the time in k2 backend like 2019-03-13 05:00 and save the item, the time auto becomes 2019-03-13 13:00,the date is correct but the ...
1
vote
3answers
53 views

How to inject a custom message in joomla update without touching the core code

I created my own component in joomla and I want to show a custom warning when my users want to auto update the component. When they try to update it joomla could not find the zip file and return a ...
0
votes
2answers
536 views

PHP7.2 Undefined variable: option in … index.php with Dj-Business004 template

When I update PHP from PHP7 to PHP7.2 the website gives this error: 500 Internal Server Error This is in the Log file: [Thu Jan 24 04:44:56.061781 2019] [proxy_fcgi:error] [pid 30185:tid ...
1
vote
2answers
39 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 ...
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 ...
4
votes
2answers
4k views

Generating static pages out of Joomla?

recently a friends company website that is using Joomla was hacked. Since keeping the website always up to date is not of any priority, it ran an outdated version and I'd assume it could happen again ...

15 30 50 per page