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

Is there a way in which I can check that whether the cookie and csrf token are of a same user?

I want to check that whether a request hit by an user is actually hit by the same user. For that can I check whether the session cookie and the csrf token are for that user. If there is any mismatch ...
1
vote
1answer
32 views

Breadcrumbs Incorrect URL Path

Using Joomla 3.9.12 and SP Portfolio v1.7 I have a menu item called Locations, this is a menu item type SP Simple Portfolio » Items Whenever I visit example.com/locations I can see all my portfolio ...
2
votes
2answers
47 views

Latest articles structured data markup

I have added microdata into every article manually and it works fine. Now I want to insert them into the latest articles module. To override the module in my template and I added: <li itemscope ...
2
votes
1answer
51 views

JS : How to trigger a Blur event with my code

I need help in triggering a Blur event attached to a calendar field. The event I am trying to trigger is added in /media/system/calendar.js around line 1003 JoomlaCalendar.prototype._bindEvents = ...
0
votes
0answers
10 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 ...
0
votes
1answer
33 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?
2
votes
2answers
88 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
0answers
30 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
0answers
20 views

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

I'm trying to make a link that acts as the "save 2 copy" button on the edit page. On the main page for the item, I am creating the link according to this documentation: https://docs.joomla.org/...
0
votes
2answers
35 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
14 views

excel file import in article joomla [closed]

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
17 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
29 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
1answer
34 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 ...
1
vote
2answers
50 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
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
12 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
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 ...
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 ...
0
votes
1answer
16 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
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 ...
0
votes
0answers
45 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 . ...
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
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, ...
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
32 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
1answer
33 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....
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 <...
0
votes
2answers
40 views

How to tell if the file can be overridden?

How do we alter the output of a Plugin that is installed in a Component (Example: "ABC" plugin installed in a Component "ABCD")? I understand that the core files can't be overridden. But how do we ...
1
vote
1answer
31 views

As JSubmenuHelper is deprecated, how to migrate to JHtmlSidebar?

The only source I found about this is from this post: Replacing JSubmenuHelper with JHtmlSidebar / Administrative menu in Joomla 4 The issue here is that I tried it, and it doesn't show the Sidebar ...
0
votes
1answer
20 views

Is it possible to edit the SQL custom field to be multi-select?

I want to be able to select multiple values with the SQL custom field. Is this possible? When I use a query which as multiple results, I can only pick one. I found this post: Creating custom field ...
1
vote
1answer
25 views

Create a link from Backend to SEF Path in Frontend

I would like to create a link in Administrator Panel that redirect a user to an SEF url in Frontend. Code in Backend <?php $link = JUri::root() . 'index.php?option=com_content&view=article&...
1
vote
1answer
32 views

Get value for joomla calendar input box to use in ajax call

I have a joomla calendar set up: <?php defined('_JEXEC') or die; JHTML::_('behavior.calendar'); echo '<div id="calendarBoxes" >'; echo '<div id="...
3
votes
3answers
276 views

How to prevent password reset from disclosing private email addresses?

The "Forgot your password?" password reset form in Joomla 3.x can disclose that an email address is registered with the site. This is a personal privacy violation which is illegal under some privacy ...
0
votes
2answers
16 views

Change the 'New Article' message sent to admins

I have a site where registered users can add content in the frontend and when added administrators are sent an email, notifying them of a new article. This is driven by languages constants: ...
2
votes
1answer
41 views

Get module params in custom form field

I need to get all other module field-params of the current module inside of a custom form field in backend. In tmpl/default.php it works with: $bgcolor = $params->get('bgcolor'); But in custom ...
0
votes
1answer
23 views

emails not sent from controller

I'm using a custom function in my controller to send emails, but the emails are not being sent. My code: function sendestimation() { $jinput = JFactory::getApplication()->input; $email = $...
2
votes
0answers
13 views

Deleting obsolete menu types

While programming a Joomla extension, I experimented with Menu Types, however while editing/deleting/adding types in the default.xml it doesn't delete the previous ones. So while I only have 1 menu ...
1
vote
1answer
30 views

Add custom code to the controller from com_weblinks

I want to add analytics tracking code before the component com_weblinks jumps to an external site with task=weblink.go. The problem is the jump is in the controller.php file. An override for this ...
1
vote
0answers
23 views

Joomla frontend user removed from groups automatically on log in / log out

I have this weird bug everytime I log into Joomla with a non-administrative user. Every time the user logs into the site, he is removed out of all Joomla user groups, except the Registered group. I ...
0
votes
0answers
13 views

Contacts - Error Occurred When Editing

Joomla 3.9.11 Whenever I am editing a contact I can see the following error on the page; Error An error has occurred. No other information. I am able to edit and save the contacts, so ...
3
votes
1answer
41 views

Creating a multidimensional JForm field dynamicaly

Item Model protected function preprocessForm(JForm $form, $data, $group = 'examplegroup') { foreach ($data as $i => $item) { $field = new \SimpleXMLElement('<field />'); $...
1
vote
0answers
16 views

ob_flush pushes output before Joomla header

I have a module that I've created to test ob_flush buffering off. I need to understand it so I can have some longer modules buffer output to the page as the script goes through long processes. The ...
3
votes
1answer
31 views

JHTML::_('behavior.tooltip') — Set tooltip position

I'm trying to set the position of the tooltip in Joomla 3.9.8. I've used: JHTML::_('behavior.tooltip'); At the top of the document. I then have field set as: <?php echo JHTML::tooltip($...
0
votes
0answers
15 views

Override XML File [duplicate]

Using Joomla 3.9.11 and SP Simple Portfolio When adding a portfolio item via the back end there is a description textarea field, this is required. I'd like to remove this required attribute. Looking ...