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
22 views

How to get the currently installed Joomla! Version in PHP

For one of my extensions i need a switch statement if the Joomla! Version is 3.x or 4. (in fact i have to call the Articles Model in different way for J4) - but how can i get the actual installed ...
0
votes
0answers
13 views

Jquery script loaded on every page

Every page on site has this script Is there any role, seems like of tinymce editor how to disable same, any plugin to disable, as i do not use tinymce on front end of site <script type="text/...
1
vote
2answers
33 views

Remove 'There are no articles in this category.' Text

Joomla 3.9.14 I have a category with no articles, although the sub categories do contain articles. - colours (no articles) -- red (1 article) -- blue (2 articles) I have a menu type Category ...
0
votes
0answers
29 views

Remove joomla inbuilt css and JS Files

Am on Joomla 3.6 series, i am trying to optimize page loading speed, but every page has these JS files and scripts loaded by Joomla Is there a way to remove these, dont want to use jchoptimize or any ...
0
votes
1answer
22 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 ...
0
votes
0answers
53 views

How can I globally override renderField() method to set $options['class'] value in Joomla 3?

I need to be able to add styling class to form fields parent wrappers when using the xml attribute method, with a new attribute cgClass (as in control-group) to achieve <div class="control-group ...
0
votes
1answer
25 views

joomla installation on localhost using wamp does not starts

Joomla installation on localhost using wamp does not starts. No error is reported in the logs file. I'm using WAMP 3.1.4 (64 Bit) Apache 2.4.35 Port 80- PHP 7.2.10 MySQL 5.7.14 Port 3306 MariaDB 10....
1
vote
0answers
33 views

Custom htaccess rewrites with PT flags

I'm attempting to add a custom RewriteRule in the default htaccess file in Joomla 3, but not having any luck getting it to work. The end goal is to create a URL with a wildcard subpage, like site.com/...
0
votes
0answers
15 views

Peculiar behavior with Beez 3 template, Joomla 3.9.14

I have a custom HTML module published in the top left column (position-7) of the Beez3 template. This HTML module also includes a photo. I am attempting to place the default Login module in position-...
1
vote
1answer
38 views

External Login Script and getDbo()

I have a Joomla 3.9.14 site with a subdomain app.example.com. I have a login form, and I want to allow users to login using their Joomla credentials. Everything is working as expected, users are ...
2
votes
2answers
39 views

Edit Contacts on Front End

Joomla 3.9.14 Is it possible to edit a list of contacts from the front end? I need to display a list of contacts from a certain category, and allow administrators to edit their details. Currently ...
1
vote
1answer
54 views

In front end of component use the Admin controller and model to delete records

I would like some help in using the delete() methods of the AdminController and AdminModel when in a front end list view to avoid duplicating code unnecessarily. I have a listing of records in a ...
0
votes
0answers
20 views

how to remove “Add to Phrasebook” in my Joomla site?

If a not english visitor open my site i.e. this page he will see a lot of rows like this Add to Phrasebook No word lists for Italian -> Italian... Create a new word list... Copy and SAVE ...
2
votes
0answers
40 views

Unknown extensions - 1062 Duplicate entry '0' for key 'PRIMARY'

I'm using Joomla 3.9.14 Release and am no longer able to add new articles or extensions. The original installation was 3.7.x on which I recently encountered this problem. On the main administrator ...
0
votes
0answers
14 views

How can I make changes to JoomlArt's “Ja Mero” template's style sheet?

I'm not quite sure how Joomla's file structure works. I am using the Ja Mero template from JoomlArt, but haven't used it much. It looks like the T3 Framework. The generated filepath appears to be: ...
2
votes
1answer
34 views

Is it possible to upgrade Tinymce to v5.x in Joomla?

The current latest Joomla! v3.9.14 (August 2019) The integrated tinymce is v4.5.11 Tinymce released the new V.5.0.0 in February 2019, including major improvements and a great new API I want to use ...
0
votes
1answer
100 views

Issues with cookie bot on Joomla 3x and jQuery

I am trying to install a cookie library on a site. We are getting jQuery is not defined from the cookie library. Presumably because it is being loaded before the jQuery library. The jQuery library is ...
0
votes
1answer
104 views

Another Accordion not functioning [closed]

I created Accordion HTML code for certain element in Joomla builder, but some of the Accordion is not working. FYI, all the Accordion code is in the same page. For first element is working fine, but ...
0
votes
0answers
37 views

Converting to JS

Hello i am still learning but was wondering if anyone here could help i have the two function be low i would like to convert them to JS to store in an external file then be able to call one of the ...
0
votes
0answers
55 views

Code works properly but shows data for all users

I am using the latest RS Form Pro with Joomla 3.9, Platform 13.1.0. My code is working properly (thank you guys!) But the data should be limited to each user. The user ID is is not in the table ...
0
votes
1answer
25 views

Share article dropdown

I'm looking for a plugin that will allow to have a dropdown social share menu, like the ShutterStock has I need next sharing options: Facebook Instagram Copy Link Email probably, few more items ...
0
votes
1answer
76 views

enable Selected option for a custom field extending JFormFieldList

I am creating a custom field extending JFormFieldList as below Form field is defined as below <field name="reltype_rev_id" multiple="true" type="customfield" ...
1
vote
2answers
23 views

Unable to update NULL via updateObject

We got 2 tables where one table is parent and another table as a child with primary and foreign key reference. Assume table1 is the parent and table2 is the child as below. table1: id <- ...
1
vote
1answer
29 views

How to match database values regardless of accents on letters?

With the following LIKE condition in my WHERE clause, I only get the exact match. . ' LIKE '. $db->quote($db->escape($artist)), 'AND') . When $artist is, for example Beyoncé, it only returns a ...
1
vote
2answers
48 views

Joomla 3.9.x Password Crypt Aid

I have tried a few way to Crypt the password for the database. I have tried with out salting before entering it in to the DB Query and i have tried with a few function to salt before entering it. Not ...
0
votes
1answer
52 views

How to use component config permissions on the frontend?

I am having an issue with the Access component parameters from inside own component. I have tried the code listed in the first answer, but it did not work. Below is an image of the back end config ...
2
votes
1answer
28 views

Get menu-meta_description from menu item

I need to add meta description inside a component page. That's what I tried: $menu = $app->getMenu(); // Load the JMenuSite Object $active = $menu->getActive(); // Load the Active Menu ...
1
vote
0answers
36 views

JCE plugin to add custom toolbar dropdown list

I am trying to add a dropdown menu in JCE editor. The dropdown will contain a list of items fetched from database. Please find the below code: (function () { tinymce.create('tinymce.plugins....
1
vote
1answer
28 views

Contact Form Non Unique id #jform_id

Joomla 3.9.14 When I open a contact to edit their details and look in the browser console I can see the following notice; [DOM] Found 2 elements with non-unique id #jform_id: (More info: https://...
0
votes
2answers
29 views

How to Add a global Function to a Component

Hello I have two token functions that I use in my bridge from Second Life(LSL Script) to joomla it creates a the Token for the info coming from and to SL on the site. Is there a way i can make these ...
0
votes
0answers
30 views

How to replace the username with the email in the process of registering a user?

In the process of registering a user I need to replace the username by email, for this I have created a plugin that hooks to the onUserBeforeSave event where I try to replace the username in the ...
1
vote
2answers
45 views

Joomla 3.x insert query attempts don't work as desired

Needing a little help to point me to the issue. I am building a component and need to insert a row into the Joomla DB. This line works, but I have to create the table name myself and I'd rather use ...
0
votes
0answers
31 views

Displaying Videos in Responsive Slider

Joomla 3.9.13 I've been searching for a way to display Youtube videos on my site, in a responsive slider. I wasn't able to find a suitable plugin or component so I had thought about creating one ...
0
votes
0answers
29 views

Joomla editor field wraps two <p> tags when saved

I have a joomla form which contains an editor field in it. When I toogle the editor and paste a html code and save it why does the two p tags appear <field name="template" type="editor" label="...
0
votes
1answer
19 views

Is there a way to change the layout or theme used when editing an article or module from the frontent

I don't have any problem using the back-end for creating and editing content, but my clients do. I want to provide them with some simpler menu options that are targeted for editing or creating ...
0
votes
1answer
43 views

Show the fieldgroup title on /html/com_content/article/edit.php

We want to move all field groups to the first content tab on the backend and assign individual classes to every field group. Therefore, we've already ignored the fieldsets to avoid the creation of the ...
1
vote
1answer
49 views

How to include images in Joomla's search results?

I'm trying to display images in search results for the default search of Joomla. I messed with some code from the web and I managed to display images with the following: in template/html/com_search/...
0
votes
1answer
29 views

Create user and immediately log them in

I built a component where a user fills in a form, and on submit it creates an account for them and tries to log them in immediately. The account creation works, but when it tries to log users in, I ...
2
votes
1answer
47 views

“Failed deleting inaccessible file” error while updating JCE editor pro to 2.8.1

I am trying to update JCE editor pro to 2.8.1, but I get the following error: Joomla\Filesystem\File::delete: Failed deleting inaccessible file controller.php We are using PHP7.2 and Joomla 3.9.13 ...
4
votes
0answers
140 views

Custom Fields Issues Saving - Video Included

Joomla 3.9.13 PHP version: 7.3.9 Mysql Ver 15.1 Distrib 10.4.6-MariaDB I am using the default Joomla contacts component, with no changes or overrides. I have configured a number of custom fields ...
0
votes
1answer
45 views

Where can I put my self-defined constant in Joomla?

I've used many php framework , there always be a place (ex: constants.php) to put developer's self defined constants, but I can't find that in Joomla. Could anyone tell me where to put these self-...
1
vote
1answer
69 views

How to programmatically write Joomla article customs field values?

I added some custom fields to the articles of my Joomla website: I work on a custom Joomla module that creates new articles programmatically using the below code: static function createArticle(...
0
votes
0answers
25 views

Selling Digital Downloads

This isn't an issue, just looking for advice and suggestions on how to achieve this. So happy to close if it's too opinion based. My client provides training, at the end of the training they provide ...
-1
votes
1answer
27 views

How do I find the first NON bootstrap class ancestor of my current module position?

Not sure I'm wording this right so please forgive me. I'm working on a situation where I want to apply the background to the 1st NON .container ancestor of my current module. So, for example.. <...
0
votes
0answers
38 views

how to set <title> tag from article title with custom menu entry?

I am searching for a option to use the article title as a page title if I have defined a custom SEF-menu item. The only way which I have found is to set the page title via the menu item. But this ...
0
votes
1answer
45 views

1054 Unknown column 'a.extra_query' in 'field list' SQL=SELECT DISTINCT [duplicate]

I'm finally upgrading Joomla 2.5 to 3.9 with a step to 3.5.1. However, whatever I try, I keep getting this error: 1054 Unknown column 'a.extra_query' in 'field list' SQL=SELECT DISTINCT a....
0
votes
0answers
27 views

How to get back the ID of programmatically created Joomla Article? [duplicate]

I work on a custom Joomla module that creates articles programmatically. I use the below code to create the article. It all works fine. Now I would need to get back the ID of the newly create article ...
2
votes
1answer
129 views

Add a Calendar field in Joomla 3.9 without using form xml

I am trying to create a Calendar field in Joomla 3.9 inside my custom component. Since I am framing this inside an AJAX script, I can't use the XML form. Below is the code I am using. The field ...
0
votes
2answers
46 views

Jooma Article content to load from mysql based on ID in url?

On my old website, built in php i had a link on a page, wich picked an ID based on what line it was. <td width=124><a href="tp/package.php?ID=<?php echo $row[0];?>">Package</a>...
0
votes
0answers
29 views

How to remove category from URL?

I have a little problem - I want to remove categories and submenus from URL in Joomla 3.9.3. Of course, I did basic things like removing ID from URLs, but removing category is like a milestone for me. ...