We’re rewarding the question askers & reputations are being recalculated! Read more.

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

Why do we Route url using JRoute or Route namespace? What is the purpose of routing urls?

I want to know the purpose of routing the urls. Can anyone explain me why do we route urls?
0
votes
0answers
6 views

problems with d-flexpagination wrapper and naming buttons

I have two little problems. In moblie version of page I'm currently creating in categories with more than 9 pages of content it's unpossible to reach to the end - numbers of pages above 9 doesn't ...
2
votes
2answers
722 views

Get access level for a URL

How could I get access level for a given URL? I need to know if a URL is accessible for registered or only guests users.
2
votes
2answers
21 views

How do you assign jQuery scripts to an article?

I'm working on adding a simple feature to a single Joomla article. Editing the article itself is necessary in this case, I can't modify the template files (or add the JS to the entire site). In the ...
0
votes
1answer
26 views

How to Update a field only when another filed is changed

My scenario is that I have a field in a table called Stock_Qty that when it is changed I need to update the Stock_Date field with the current date and then the user can replace the date if they don't ...
0
votes
0answers
16 views

Joomla 3.9.13 - Error: Failed to start application

I just installed version 3.9 joomla in local using xampp. Once the installation was finished correctly I tried to navigate the site and the backend. After loading a few pages, this annoying error ...
0
votes
1answer
96 views

How to post checkout data to component using Ajax?

$.ajax({ url: Joomla.getOptions('system.paths').base+'/index.php?option=mypage&view=cartcheckout&task=cartcheckout_autoSave&tmpl=component&stepId='+stepId, type: 'POST', //...
0
votes
1answer
35 views

How to customize amount of columns in Joomla megamenu?

My website has a mega menu dropdown in the main menu which shows up nicely, but the problem is that I had to choose the design for six columns to be able to implement my five desired columns in the ...
0
votes
0answers
15 views

Generated URL with token - The security token did not match [duplicate]

I´m trying to make a link that act as the "save 2 copy" button on the edit page. On the main page for the item, I am creating the link acording to this documentation: https://docs.joomla.org/...
1
vote
2answers
45 views

use router.php in simple component

I am having a simple component, basically a list view and a single view. I want to nice URLs so I copy pasted and modified the router.php from com_content like this: class BookstoreRouter extends ...
0
votes
2answers
33 views

Need to add a hyperlink to a logo

I've put a logo on my site's homepage and the logo was clickable. And then I adjusted its position through custom.css file, but now the logo is NOT clickable (plain image). How to make it clickable ...
1
vote
0answers
13 views

excel file import in article joomla [on hold]

I use joomla article + field for manage branch information. now I want import(excel file) branch information (title-desc-field1-field2,...) in articles. how do it? please guide me.
1
vote
0answers
13 views

AJAX GET token 'x-csrf-token' not present in the CORS header Access-Control-Allow-Headers AND CORS request did not succeed

I'm loading a module in SP Page Builder, this module gets data from an API using ajax. The module has been tested on local and remote, http and https. When I publish the module on the same website but ...
3
votes
0answers
25 views

Document Manager Recommendations

I'm looking for some recommendations for a document manager that's compatible with Joomla 3+. Seems to be a pretty popular question throughout the Joomla community. In the past I've always used Phoca ...
0
votes
0answers
14 views

Can't access websites hosted on GCP after updating joomla core

I host multiple Joomla sites on a Single Google Computer Engine VM. It has been working very well, but after I performed a Joomla core update I suddenly found that those websites can't be accessed ...
0
votes
0answers
11 views

How to change a language constant on the fly with PHP?

In Joomla! (currently 3.9.13) the language constant COM_INSTALLER_TYPE_TYPE_ is not defined. The constant is used in the error message that is displayed if the Joomla extension update system (the 'one-...
0
votes
0answers
12 views

Is having too many subform will affect website performance?

I'm creating a module that has 5 subforms (for theming options purpose), and each subform has about 10 fields. So far I don't see any significant performance issue on my website (except the module's ...
0
votes
0answers
19 views

How to login joomla from an external php file?

I am using ( Joomla! 3.9.11) define('_JEXEC', 1); define('JPATH_BASE', realpath(dirname(__FILE__) . '/..')); require_once JPATH_BASE . '/includes/defines.php'; require_once JPATH_BASE . '/...
1
vote
2answers
226 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 ...
5
votes
3answers
1k views

How to trigger javascript on a date selection on JHTML::_calendar

I am using the below code to show a calendar in my form. echo JHTML::calendar("", "timetable_slot_date", "id_timetable_slot_date") What I need is to implement an onChange or onDateSelect javascript (...
2
votes
3answers
787 views

Text search within single article content

I have inserted the Joomla search module in an article. Now I wish that this module would allow me to search only in the article in which it is present and not throughout the site! Is it possible?
0
votes
1answer
24 views

Send email upon publish/unpublish of an item in custom component

I have created a hello world component based upon this documentation https://docs.joomla.org/Special:MyLanguage/J3.2:Developing_an_MVC_Component/ I want to send a notification to users if an item's ...
1
vote
1answer
87 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 = $...
1
vote
1answer
27 views

How can I display the first name of the currently logged in user in content

Matthew Murphy asks the following on the Joomla Facebook Group: Anyone know of an extension for content that replaces the name with the person who's logged in? For example I have been working on a ...
1
vote
2answers
51 views

Individual user fine grained ACL is it possible in Joomla! 3.x

I was wondering if it was possible in Joomla! 3.x to have permissions down to individual user level. Eg: user A can see item X but not user B even if user B is in the same group or have the same ...
0
votes
1answer
89 views

How to remove username field from the reset password confirmation form?

Does anybody know how to remove the username field from the reset password confirmation form? I edited the reset_confirm.xml file in /components/com_users/models/forms to remove it from the front end,...
0
votes
1answer
281 views

Custom fields - JS in template override

We need to add some enhanced ecommerce tags to standard Google Analytics tracking on few pages. We think the best way to do it would be to use Joomla Custom fields so we created a custom field for ...
0
votes
1answer
15 views

Only show joomla custom fields on certain category levels

Is it possible to only show a field on for example the 3rd level of categories? Now when I link a field to a top level categorie, the field is shown on all articles on all levels of categories, but is ...
1
vote
1answer
16 views

JS file not loading on IE, works on Chrome in Joomla Seblod

I have added JS as a field on Joomla Seblod, which calls a JS file in my file system my_profile.js as follows- jQuery.getScript("/components/com_msp/js/my_profile.js") .done(function(script, ...
0
votes
0answers
44 views

Redirect administrator login page of multiple Joomla websites hosted in Apache server

I have around 10 Joomla websites hosted on Apache server. The admin URLs are similar to below patterns. http://m1.aa.example.com/administrator http://m2.aa.example.com/administrator . ...
0
votes
0answers
12 views

Joomla! 3.9.12 ignores error.php when URL rewrite is turned on

I try to implement a 404 error page for my Joomla! theme without using the way to create an article. I simply want to use the error.php file as described in the documentation. Unfortunately, when "SEO ...
1
vote
1answer
66 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
1answer
299 views

Get tags for an article

How can I query the db for all the tags associated with an article? I have been able to use JTable to query to *_tags table, but that doesn't return the tags that are associated with the article ...
0
votes
1answer
53 views

Unable to log in to Joomla! front-end

When attempting to log in using the standard Joomla! login page, the following message is displayed: Warning The security token did not match. The request was aborted to prevent any security ...
6
votes
2answers
586 views

Site Vulnerability Check

With the recent security announcement regarding SQL injection, I was wondering what I could do in order to 'review' my current Joomla sites, and ensure none of them have been compromised. Apart from ...
0
votes
1answer
223 views

Custom form field not working on server

I created a custom component and in the form one custom field categoryList to list all categories dynamically. Following is the code: formname.xml <fieldset addfieldpath="/administrator/...
0
votes
1answer
20 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
1answer
17 views

Prefill new user registration fields in the backend by URL

Hey I want to prefill in new user details by setting the parameters in a link. I am talking about the default Joomla User Manager in the BACKEND and then clicked on new user. So this link, ...
0
votes
0answers
25 views

Change default backend language programmatically

I have a component installed which doesn't provide multilingual support. If I import data via the API, I can't import in a different language, only in the default backend language. Unfortunately, ...
2
votes
1answer
30 views

Tips On How To Optimise A Joomla Site

Joomla 3.9.12 What's the most effective way of optimising a Joomla website? I'm not sure if my site is particularly large, details below; Files / folders 28GB Database 314MiB When I take a backup ...
0
votes
1answer
49 views

Joomla update gone wrong

I tried to update my Joomla site (www.thecolourchangers.nl) to Joomla3.6.5 via the update button and the site has made a backup. The trouble is: nothing is working anymore. I have unpacked the /tmp ...
0
votes
1answer
22 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
1answer
31 views

How to fix problem with relative path Joomla for a module using editor form field?

I have created one module in Joomla and added one form field of the type editor inside the manifest-XML. <field type="editor" name="myeditor" default="" buttons="true" hide="...
0
votes
2answers
38 views

How do create an update for your existing Joomla plugin I've written?

I've written a simple Joomla plugin that I've been using for a year. I want to write an update for it. It would change what is in the .xml file and some code in the .php file. How do I go about ...
0
votes
1answer
29 views

how to get value for search in joomla module

how to get value for search in joomla module. Does anyone know how to get the value for the search field? my problem is that after i search for specific data it still shows everything In my helper....
1
vote
2answers
60 views

How to re-write sql for joomla JDatabase

I am new to custom Joomla coding so excuse me for this, I want to execute the following statement: "SELECT MAX(CASE WHEN v.FieldName = 'Team_Name' THEN v.FieldValue END) 'Team_Name' , MAX(...
2
votes
2answers
204 views

How to retrieve RSForm submission data grouped by SubmissionId?

I have a table with 3 columns: SubmissionId, FieldName and FieldValue. 1) SubmissionId keeps ID submission. 2) FieldName stores field name of a form. 3) FieldValue stores field value of form field. ...
1
vote
2answers
185 views

How to refactor two select queries on RSForm submission data?

I was wondering if anyone could help me JOIN multiple queries into one query. Currently, these 2 blocks of code retrieve information from the DB. I am using the "Sourcerer" plugin to add custom PHP ...
0
votes
1answer
31 views

htaccess to hide Joomla in public_html -> subfolder

I installed Joomla using a quickstart package and store the files in a subfolder (named: jml) in public_html/jml. I normally use the following commands to rewrite the url from https://www.test.com/jml ...
0
votes
0answers
19 views

Magically sections and positions getting lost or deleted

I have an issue on multiple pages, which I cannot explain myself. All pages have in common that they use gantry 5 based themes nearly the same plugins the magically disappearing section is <...