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
0answers
9 views

Publish article but give access to it only to users that have the URL?

I want to make a copy of an existing article, change something to it and give access to this article ONLY to people that have the URL. So, basically a "hidden" article. How do I do this?
2
votes
3answers
79 views

DPCalendar custom field inside module

I am creating an override in DP calendar and would like to display a custom field created in DP Calendar inside the module. The field type is 'URL' thus I would like it to be a clickable link. I have ...
0
votes
1answer
38 views

Can Joomla send the user an email after admin approves them?

I refer to this ticket: Can Joomla send the user an email when admin approves them? hence I can not reply or comment as a new user does anyone know a solution to this issue of mine? Problem is: ...
0
votes
1answer
49 views

Unset Unwanted Backend CSS and Javascripts

I'm creating a modification of K2 module and I want to remove some unnecesary K2 css and script load. I have tried to use unset($this->_scripts['']); unset($this->_styleSheets['']); but ...
0
votes
1answer
28 views

How to add js library on component installation

I have component which needs a slider. I`ve chosed carousel but how to add it in the frontend part of the component on installation ? Tried to put it in the administrator part but the scripts can't be ...
1
vote
0answers
26 views

How to pass variables/data to client javascript from Joomla component? [duplicate]

What is the proper way of passing variables from Joomla backend to javascript (frontend)? I have found examples simply setting the variables in templates like: <script type="text/javascript"> ...
2
votes
1answer
40 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 ...
0
votes
0answers
38 views

How to override default.php for config.xml

I have component which has config.xml. It is render with the com_config/view/component/tmpl/default.php. I need to override this file in my component and create my custom layout. Red all the articles ...
0
votes
1answer
29 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 ...
1
vote
1answer
40 views

Joomla adds / to empty href and src attribute

I have a mustache template and the output via php is: <a href="{{link}}"><img src="{{image}}" title="{{name}}" alt="{{name}}"></a> but Joomla renders my output to: <a href="/{{...
1
vote
1answer
33 views

Problem accessing database from front end of a component

I am currently working on a component which will display "events", stored in a database, on a map (filterable by location, category, date etc...). My first step is to display a simple report of the ...
0
votes
1answer
35 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
1answer
36 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
43 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
40 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
28 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
1answer
88 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
27 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
35 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
17 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
42 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
44 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
57 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
52 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
15 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
35 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
116 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
109 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
57 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
26 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
78 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
24 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
31 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
50 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
55 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
36 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
37 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
41 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
30 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
32 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
33 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
45 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
55 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
75 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 ...

1 2 3 4 5 57