Questions tagged [joomla-3.x]

For question regarding Joomla 3.x of the Content Management System. This includes versions 3.0 up to 3.8.

Filter by
Sorted by
Tagged with
1 vote
0 answers
6 views

Plugin to manipulate form data onBeforeContentSave

for a Joomla 4 project I wrote a Content Plugin to grab video thumbs from Video-URLs (Vimeo) the user adds into Custom form field of a form. The following code successfully gets the video thumbnail ...
user avatar
  • 31
2 votes
1 answer
62 views

Joomla 3.x routing and slug problem

I have 1 component with 2 views - default is view1 - secondary is view2. When I associate it with the menu from the backend, Joomla creates the correct url with alias for SEO. Example: www.sitename....
user avatar
1 vote
1 answer
16 views

Trying to find the right syntax for prefilling a subform in J3.10

I'm trying to figure out how to prefill subform repeatable fields - the situation is: /com_manufacturing/admin/views/document/tmpl/edit.php //some code <?php // $subform = JForm::...
user avatar
2 votes
0 answers
31 views

The quickest way to get the POST object in Joomla 3 & 4

I've been creating a lot of webservices API endpoints in Joomla 4 lately and wanted to ask: "What's the simplest, fastest, most practical way to get the entire POST object when a controller ...
user avatar
0 votes
1 answer
27 views

Article Show and Link to Article

I use the extension "Article Show" in Joomla 3 https://www.olwebdesign.com/joomla-extensions/article-show-joomla-module.html I create a module "Last news" with the position "...
user avatar
0 votes
2 answers
43 views

Alias and title in article url

At the moment my joomla articles are using the alias in the urls, like that: site.com/menu/article-alias Now I need to add the title of the specific joomla article in my url, too. So I will have a ...
user avatar
3 votes
1 answer
30 views

Adding a new view to built in component (com_tags)

What is the best way of adding a new view to an existing (built-in or 3rd party) component? In the particular case I want to add a better tag view to com_tags. The view in com_tags just lists the ...
user avatar
  • 73
1 vote
0 answers
20 views

Error 0 after moving Joomla site to subfolder

As told in the title, I just moved my 3.9 Joomla site to a subfolder on my apache server. Unfortunately when I'm trying to access it, I get this error "syntax error, unexpected '}', expecting end ...
user avatar
  • 11
0 votes
0 answers
47 views

Use Text Box Value In Query Of Separate Text Box

I have a field called Manager_ID and I want a drop down list of employees to be populated with the results of the query: SELECT * FROM employees WHERE managerID = Manager_ID How do I capture the ...
user avatar
0 votes
2 answers
47 views

How to set error in component code for FormController

I'm creating a custom J3.x component. I'm manually adding my own error notices where needed via JFactory::getApplication()->enqueueMessage() However, when a record is not saved by my component, ...
user avatar
2 votes
0 answers
36 views

Unit tests for Joomla 3 plugin

I have written some moderately complicated software for my Joomla site and want to improve on my code base in coming releases. To this end I am writing some unit tests however it's hard to run the ...
user avatar
  • 249
1 vote
1 answer
45 views

How to validate a user name in Joomla registration forms so that it is not used for spamming?

The problem I have had a problem with a spammer registering fake users to send spam around. The method used is to set the user name to something like "Yesterday I published this awesome video ...
user avatar
2 votes
1 answer
25 views

Uninstalling packages with shared component

I have three related components - call them comA comB and comC comA and comB both use comC (comC manages a table of people details. Individuals may be used by comA or comB or both). Some sites want ...
user avatar
  • 73
1 vote
1 answer
23 views

How to know the Joomla article ID for customization

I have a demo installation of J 3.10.9 with protostar template (https://joomla4.extrowebsite.com/). The menu item "Home" -> blog category - has N articles. The article "Welcome to ...
user avatar
1 vote
0 answers
36 views

Pre-filter set without any effect in List Fabrik Joomla

I have a List "Document Manager" defined in Fabrik module in Joomla and I want to pre-filter the documents from the list, in order to show only the documents belonging to the currently ...
user avatar
0 votes
0 answers
30 views

How to check in my plugin whether the user has bought a product in the j2store or not

I am going to write a plugin for J2store to check if the current user has purchased the product successfully or not. I do not know how to use the J2store API to check if the user has purchased the ...
user avatar
0 votes
0 answers
29 views

Joomla all versions not worked 404 pages on Litespeed server

i see front page without component, → 404 error not shows but i have its in my template.. error.php: error->getCode(); ?> - title; ?> i found very much articles, whats is maybe litespeed not support ...
user avatar
1 vote
1 answer
29 views

admin edit.php saves but doesn't retrieve data from "params" database field

I have a config.xml with some parameters for my component. I need to define these parameters for each individual item. So in admin/models/forms/myview.xml, I've written my fields: <fields name=&...
user avatar
1 vote
2 answers
268 views

Joomla 3.10.x SQL Injection XSS Vulnerability

I have a website setup on my infrastructure that is running Joomla 3.10.8. During a security audit, certain SQL injection vulnerabilities / XSS have been identified. The setup includes a bunch of ...
user avatar
0 votes
1 answer
435 views

Update Joomla! 3.10.8 to PHP 7.4 or PHP 8.0

I am using a Joomla! 3.10.8 Stack from Turnkey Linux, it shows a warning, that I have to upgrade to a higher PHP-version. So how I update/upgrade the higher PHP-version? And is it clever to upgrade to ...
user avatar
  • 21
0 votes
0 answers
19 views

Language pre-selection based on user group

Administrator area. When user login, I need to preselect categories, articles and modules based on the user's main group. Group EN Group ES Group IT For each group you have specific "language&...
user avatar
  • 133
0 votes
0 answers
32 views

Get IP and Country of user who downloads a file

I've written a component for downloading files from my website and it also writes data to the database about the downloading of files. To understand where the downloading users are from, I want to ...
user avatar
  • 1
0 votes
0 answers
42 views

How to encrypt and decrypt User data in joomla

I am new to joomla, and working on joomla application which is currently running on production environment. Application contains 1000+ registered users. As per GDPR Policy, I have requirement for ...
user avatar
  • 1
2 votes
0 answers
35 views

MySQL Server has gone away with mysqli_connect to another LAMP Stack / TURNKEY Linux

I am trying to connect to another VM (192.168.16.27) from 192.168.16.28 to get Data out of the MariaDB Database (joomla). So my Code is: $link = mysqli_connect("192.168.16.27", "user&...
user avatar
  • 21
0 votes
0 answers
15 views

No route found for "GET /index.php/en/"

I am trying to access my website and I am getting this error: No route found for "GET /index.php/en/" Code: try { if ($referer = $request->headers->get('referer')) { ...
user avatar
0 votes
0 answers
19 views

How to assign the correct Itemid to manufacturer products page link form the product details page

I'm using Joomla! 3.10.6 and Virtuemart 3.8.9 with PHP 7.4.27. On the product details page, I linked the manufacturer logo to the manufacturer products page, but the link Itemid is wrong. Here is the ...
user avatar
0 votes
0 answers
18 views

How to edit article custom field through the frontend?

There is a text from the additional field inside the material. I want to implement the ability to change this text through the frontend with the ability to save it there (when authorized by the admin)....
user avatar
  • 111
0 votes
1 answer
127 views

Call to undefined method Joomla\CMS\Application\AdministratorApplication::isSite()

I'm having this error in Joomla for some reason: Call to undefined method Joomla\CMS\Application\AdministratorApplication::isSite() I see other posts with this error, but I suppose they are using ...
user avatar
0 votes
0 answers
29 views

Problem with password reset: The object must be an array or an object that implements ArrayAccess

When I try to reset my password from my website, I get this error: Error The object must be an array or an object that implements ArrayAccess What is the root cause?
user avatar
0 votes
0 answers
15 views

ResponsiveSlides.js not working in https protocol

When my site is opened via a url starting with https://, the slide is not showing. Even if I change the location of the files to be the full path, they don't show. I mean https://www.example.com/...
user avatar
0 votes
0 answers
26 views

Accessibility error in offcanvas element in Joomla site

I have a problem with a validation error to http://www.tsiapos.gr/ (Joomla 3.9.10 - yootheme template0 https://wave.webaim.org/report#/https://tsiapos.gr/ which is related to empty link in "...
user avatar
  • 1
2 votes
3 answers
125 views

Joomla administrator page not entirely loading

I'm struggling pushing my Joomla website to the remote server. When I login into the administration page everything works fine, but after then the configuration panel isn't loaded properly: The ...
user avatar
  • 31
1 vote
0 answers
54 views

Help: Joomla routing and pass-through redirects

I have a little project integrating a 3rd party application, which seems pretty easy and straight forward for the most part. However, it requires some internal Routing to be set in place, in order to ...
user avatar
1 vote
1 answer
32 views

Joomla mysql query - group_contact

I have mysql query: // Get a db connection. $db = JFactory::getDbo(); // Create a new query object. $query = $db->getQuery(true); $formId = 21; $query = "select * from #...
user avatar
  • 73
0 votes
1 answer
44 views

Missing article in the admin panel

I posted a recent article on the website, one of the users logged in the admin panel logged in and tried to edit the article accidentally the article disappeared and I can't get it. I have searched ...
user avatar
1 vote
0 answers
30 views

Adsense Ads Not Loading on Joomla Logged In Pages

I run a website which has Adsense ads served on all pages (in the footer for example) and these ads load absolutely fine on all pages of my website. I'm currently building a tool/feature for users and ...
user avatar
2 votes
1 answer
96 views

How to get Joomla article association?

How can I get the associated articles programmatically in my custom component function? I have my custom component and I am creating a new article for a multilingual site, so I need to associate ...
user avatar
1 vote
2 answers
215 views

How can I reference JFactory within a PHP class?

In Joomla 3: I'm writing a class to represent a semi-complex data structure. In that class, some methods need to access the app, dbo, document and user objects from JFactory. Here's a snippet of the ...
user avatar
3 votes
2 answers
69 views

How to set/change default article category in Joomla 3.10?

When I create a new article, there is a default category of "Uncategorised". Is there any way to set a different default article category instead of the native default "Uncategorised&...
user avatar
0 votes
1 answer
169 views

ERROR 0 - Object of class stdClass could not be converted to string

The code where the error occurs is: $css .= 'height:'.$gallery_height.'px;'; $css = ''; if($gallery_height){ $css .= $addon_id .' .sppb-gallery-parallax:after {'; $css .= 'height:'.$...
user avatar
0 votes
1 answer
26 views

Out of sort memory, consider increasing server sort buffer size Out of sort memory, consider increasing server sort buffer size

I have an error showing in Joomla v3.10.5, while accessing the modules under extensions Out of sort memory, consider increasing server sort buffer size Out of sort memory, consider increasing server ...
user avatar
  • 1
3 votes
1 answer
36 views

Count the number of articles tagged with the same tag

On my Joomla website, I'd like to count all the articles by tag. I found this thread about how to count the number of articles by category : How to Show number of published articles? I tried to find ...
user avatar
1 vote
2 answers
25 views

Joomla 3 - How to find if logged in user is registered?

I have the following code: <?php if ($user->id >= 1): // logged in ?> This checks to see if the user is logged in, but not which group the user belongs to. I'm trying to show content only ...
user avatar
  • 31
1 vote
0 answers
19 views

Removing the Category ID from article Url

Joomla 3.7(?) to 3.10.5 Legacy router issue fix So, our site articles' urls needed the category id to be removed (only, not the article id, as removing both causes a 404). Here is the solution that ...
user avatar
0 votes
0 answers
13 views

Payment plugin for Documents Seller

I am trying to build a payment plugin for Joomdonation Documents Seller. I can send an order to a Bank and pay, but after that I am having a problem. When an order is created and sent, it has status: ...
user avatar
0 votes
2 answers
286 views

Error: Failed to start application: Failed to start the session

I have hosted web application develop using joomla in ubuntu 20 and use mysql as database. one i hosted and viewed in the web browser it show me Error: Failed to start application: Failed to start the ...
user avatar
0 votes
0 answers
16 views

in jDownloads 3.9, how do I make the link to downloads the actual download name, rather than "?task=download.send"

I recently updated jDownloads on my Joomla website from 3.2 to 3.9. I noticed that now, when I hover over a link in a category, instead of using the download's name, like it used to, it's now using a ...
user avatar
  • 111
1 vote
1 answer
25 views

Change first item in Breadcrumb to custom static link

I've got this bit of code that works well for my Joomla setup However, due to the way my main menu is set up, the first item in every page we have breadcrumbs enabled is always "Products" ...
user avatar
  • 31
1 vote
0 answers
68 views

render Subform repeatable custom fields joomla4

I have created one subform custom fields in my Joomla 4 article from backend and selected media filed at subform and use this code for load custom fields at joomla article YOUR_JOOMLA_WEBSITE_ROOT/...
user avatar
1 vote
1 answer
49 views

Simple Joomla plugin not working on frontend

I have a simple Joomla 3 plugin that works fine on backend for resizing images when uploading from multimedia manager: <?php defined('_JEXEC') or die('Restricted access'); class ...
user avatar

1
2 3 4 5
63