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
0
votes
1answer
12 views

Render template on iframe by template ID

I am facing a problem with the rendering template after duplicating. The situation is I want to load a template on iFrame. So, I've set the URL of the iFrame like- Uri::root(true) . '/index.php?...
1
vote
0answers
12 views

Joomla multilingual site HTML tag attributes don't change after install k2 component 2.10.3

I found a problem in the "System - K2" plugin in version 2.10.3. When the "System - K2" plugin is enabled, if the site is multilingual, the language attributes ("lang" ...
0
votes
1answer
21 views

Popular Tags module, show tags only from selected categories

I have a site with many articles, each articles has own tags, they are assigned to 3 main categories, lets say: Cat. "Blog Food": 15 articles with own tags Cat. "Blog Travel": 25 ...
0
votes
0answers
19 views

How to use fieldset in PHP joomla

I have following codes in XML file, <fieldset name="TEST" label="test"> <field name="TEST1" type="text" default="" /> ...
0
votes
1answer
19 views

Empty lines were added to PHP and CSS code files between each line

When I install the module from Joomla administrator end, I found that many empty lines were added to PHP and CSS code files between each line. For example: Original: Line1 Line2 Line3 After ...
0
votes
0answers
19 views

Getting value from rows in admin list view

I have an admin list view. The mysql table for that view has 4 columns/fields: id, name, email, phone To that admin list view, I have added a button. A user can select one/multiple records in that ...
2
votes
1answer
39 views

Impossible to create new Joomla User with User Class : Please enter your name

Dont' know why but since Joomla 3.9.22 (or 3.9 ?), when I create a User with User Class, I have the error "Please enter your name". But the name field is not empty. Here is my simple code : $...
2
votes
1answer
30 views

Compress & Optimise Existing Images

Joomla 3.9.21 I am working on a site that is very image heavy, most images are within the EasyBlog component and amount to approximately 8GB, the original administrators didn't optimise the images for ...
1
vote
0answers
33 views

How to avoid downcasing of search words?

Relevance of case information differs from language to language. In English, it might be low, but consider cases like "who" vs "WHO" and "us" vs "US". In German,...
0
votes
0answers
29 views

How to disable all stop words? [duplicate]

As I am using a cognitive search engine for the sitesearch in a Joomla installation, the stop words defined in de-DE.localise.php are detrimental because a search engine that understands natural ...
0
votes
0answers
13 views

DOM between top menu and footer sometimes not rendering on Joomla 3.9.21

I'm the admin of https://truckercheckin.com which is pwa based on Joomla 3.9.21 and LITESPEED with REDIS. Sometimes my app does not render as it should. When I have "huge" traffic, sometimes ...
0
votes
0answers
23 views

Remove icon-calendar from displaying from entire Joomla website?

Is there a way to remove the icon-calendar from displaying throughout the entire Joomla website, without having to do an override on a bunch of .php files? Could this be done with CSS? Or possibly ...
0
votes
1answer
32 views

Only allow user to assign categories and articles to his own usergroup

I have multiple user groups that can only edit and create their own articles and categories. This works fine for existing articles and categories but when someone in that group creates a new article/...
1
vote
1answer
32 views

How to get user object in Ajax call

I want to access the currently logged in user in my Helper function using AJAX. function editUser(){ runAjax('editUser',"one"); } function runAjax(type,regHtml){ request = { '...
1
vote
1answer
19 views

Joomla trigger event when element in field of “filelist” type is selected

I am struggling since a few days with following problem. Using Joomla 3.9.2x and query 3.5.1. I am trying to display a modal "window" when an item is selected in a Joomla filelist field. I ...
0
votes
1answer
13 views

User profile control whether user can adjust their email address

I have a site set up that allows the user to login to a secure area. Everything works. I'm having a problem with the email address. The user registers with an email address which works fine. ...
1
vote
0answers
12 views

Joomla mkdir() error

I have a problem with the Virtuemart Color Swatch plugin for Joomla 3. When I add thumbnails to the product, in the admin panel, I get this error: Warning: mkdir(): No such file or directory in /var/...
0
votes
0answers
23 views

How to add base64 string to email as an attachment in Joomla?

I am getting data in the following format through post request. "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/...
2
votes
1answer
30 views

Joomla - Page Builder - With Publish Workflow

We have recently built a site on Joomla and have used the SP Page Builder. But unfortunately, the SP Page Builder does not have the Workflow / User Access mechanism where one set of users create the ...
0
votes
1answer
29 views

How can I get tags from a specific parent id in each post?

i will get tags from a specific parent id in each article my Tags list : . Id .... Name +..1......parent -..2......child1 -..3.......child2 +..4......parent2 -..5.......child1 -..6......child2 Post ...
1
vote
1answer
11 views

Disable Update Sites Reverts Back to Enabled

Joomla 3.9.21 I have a number of extensions that are notifying me of updates in the Joomla dashboard, I want to temporarily disable these notifications. (I know this isn't best practice and it's ...
0
votes
0answers
26 views

Translate query from PHP to Jdatabase [duplicate]

This query: SELECT rank() over (ORDER BY max(fs_score) desc) AS nr, nome_e_cognome AS "Player Name", max(fs_score) AS "Best score" FROM scheda_atleta INNER JOIN at on at.id=...
1
vote
2answers
62 views

How to solve chosen/jquery/frontend violation

I am developing a component for a Joomla frontend site and when I include JHtml::_('formbehavior.chosen', 'select'); in the template form, I get this message in JavaScript Chrome Console (Mac OS X): [...
1
vote
0answers
33 views

List.direction and list.ordering not set properly after changing filter sorting

I am creating a small backend component using the helloworld example. So far so good. It is working fine except when I change the ordering using the listbox: Nothing happens to list.ordering and list....
0
votes
1answer
19 views

Set and Retrieve Array in Joomla Session Namespace [closed]

I have the need to use a namespace in session, so I am using the following to set the session: $session = JFactory::getSession(); $customOrder['items'][] = $itemArray; $session->set("order&...
1
vote
1answer
33 views

Where does Joomla com_tags store the ordering data?

I want to dump tags by order from the #__tags database table, but there is no order column in the structure, though there is ordering capability in the tags component. I've viewed the relevant files ...
0
votes
0answers
69 views

Joomla custom SSO plugin

I need to create a custom SSO plugin. The way it should work is: User authenticates on 3rd party application 3rd party application calls a Joomla URL via POST request The URL that has been hit deals ...
1
vote
1answer
26 views

Why do the default PHP Joomla! files get restored without asking?

I edited \components\com_content\views\article\tmpl\default.php file to suit my needs, and to output a customized string instead of the default H1 header. The site was running all OK, but when I ...
0
votes
1answer
24 views

Is there a quick method to check if a user has access to a specific page?

Is there a quick block of a code where given a user ID and a menu item ID, I could quickly check it the user is authorized to open that page? So far I have this, but it feels like I'm jumping through ...
0
votes
1answer
39 views

Sign Up / Login with just OTP

I had a request to build a website for a targeted market that is allow its user to signup using their phone number only without entering email address just like mobile apps nowadays. I know this can ...
1
vote
1answer
25 views

Mysqli using AS clause not working

I have two tables that are joined. Both have an id column. $query ->select($db->quoteName(array( 'a.id', 'a.address_one', 'a.address_three', 'a.address_two', 'b.id AS myStuff', 'b.person_id' 'b....
1
vote
1answer
38 views

How to add default values to Joomla subform fields?

CMS Joomla has a standard subform field type. How to fill in the default values in it? Field code in XML: <field name="field-name" type="subform" formsource="exampleform....
2
votes
0answers
37 views

Joomla Site Replication & Automation

Joomla 3.9.20 What's the best way to automate a daily backup of a Joomla website (files, folders & db) to a development site on the same domain? For example, I have example.com and each night I ...
3
votes
2answers
55 views

Front End Management of Joomla Users

Joomla 3.9.20 I know there's no default way of managing Joomla users on the front end (a huge drawback of Joomla imo). There appears to be some commercial extensions and components that do this, but ...
1
vote
1answer
19 views

Bootstrap 4 header stacks logo over menu (want side by side)

I inherited work on a site that uses Joomla, SP Page Builder, Helix Ultimate framework (based on Bootstrap 4), and a 3rd party template. Needless to say, it's been messy trying to make modifications, ...
0
votes
1answer
38 views

Alternative Article Layout Options

It is possible to create an alternative article layout in the folder com_content / article (of course not written with an underscore, but with hyphens it works). But when I try the same procedure ...
0
votes
0answers
32 views

.htaccess redirect causes invalid security token when logging in thru email link

I wanted to eliminate duplicate content by redirecting all requests to https://www... by using the below .htaccess entry: ## Begin - Custom redirects # # If you need to redirect some pages, or set a ...
0
votes
1answer
32 views

Invalid security token locks out users trying to log in through an email link

I ran into the below problem that blocks my users to log into my site: When the user needs to log in she gets a notification email with a button that links to the below address: https://www....
0
votes
0answers
4 views

Joomla 3.9 not reading language override strings for English only

In Joomla 3.9.20, I created a custom front end template. Inside I have the language folder with various languages in this format. For German (example): /templates/mytemplate/de-DE/de-DE.tpl_mytemplate....
0
votes
1answer
65 views

Add field to menu settings to output open graph image

I want to add a media-field to the menus settings to pick an image for each menu item and output this as open graph images. I see two options: I add the field to the tab "Metadata" which ...
1
vote
0answers
79 views

Joomla not logging PHP errors to file with system default error_reporting

I'm using Joomla 3.9 with APACHE + PHP 7.0 with these settings php_flag[display_errors] = On php_flag[display_startup_errors] = On php_value[error_reporting] = E_ALL & ~E_DEPRECATED & ~...
3
votes
1answer
34 views

504 Gateway Time-out on Update

Joomla 3.9.19 When I attempt to upgrade from 3.9.19 to 3.9.20 I am getting the following error after about 2 - 3 minutes after clicking 'update'. 504 Gateway Time-out The server didn't respond in ...
2
votes
1answer
33 views

Menu Specifically For Super Users

Joomla 3.9.20 I allow users to register on my website, they automatically go into a group called 'Training', their parent group is Registered, see below; - Registered -- Training I have created a '...
1
vote
1answer
63 views

Change user permissions programmatically on the fly

I have in the code I don't conrol such a line which returns false: if (!$user->authorise('core.create', 'com_jdownloads.category.'.$option->value)) { I can run my code before and after this ...
1
vote
1answer
23 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::...
2
votes
1answer
35 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 '...
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 ...
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:/...
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 ...
1
vote
1answer
50 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::...

1
2 3 4 5
59