All Questions

Filter by
Sorted by
Tagged with
3
votes
8answers
10k views

Working menu link now leads to 404 error page

I am working on a new website development with Joomla 3.1. The menu links were working fine before. However, suddenly one of the menu link now leads to the 404 error page. It happened once before and ...
0
votes
1answer
91 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', //...
9
votes
5answers
2k views

Why use addStyleSheet or JHtml::stylesheet over just linking a CSS file?

According to the wiki page Adding Javascript and CSS to the Page, you can add a stylesheet with addStyleSheet like this: $document = JFactory::getDocument(); $document->addStyleSheet($url); Or ...
0
votes
0answers
4 views

j2store add to cart widgetkit

I'm trying to add J2Store cart to widgetkit grid stack layout with below code administrator/components/com_widgetkit/plugins/widgets/grid-stack/views/widget.php code require_once(...
0
votes
1answer
17 views

OTP verification through SMS & Email while registration

Are there any free plugins/extensions which send the OTP through registered email as well as a mobile number during the registration process?
2
votes
4answers
186 views

Cannot send emails after migrating hosted joomla to localhost

I have trouble sending emails with Joomla! 3.6.5 I get a message Notice ??SMTP connect failed?? The settings in the configuration file are the same as the same ones as at the hosted website. public ...
0
votes
2answers
35 views

How to change the site language by country IP

I try create system plugin for auto change language by IP. I don't have idea how to correctly write code so as not to receive an infinite loop of redirection requests. My code class ...
3
votes
1answer
30 views

How can I have multiple layouts for a View that are available as a menu option such as &layout=xxx?

I need to be able to specify different layouts of the same View by way of the Menu item, resulting in a url having &layout=blahblah appended. - NOT using a template override. i.e.: index.php?...
2
votes
3answers
77 views

Is it possible to add a new module position within a module?

I know in a template you can add <jdoc:include type="modules" name="newposition" /> and then within the positions tags you add your new position. <positions> <position>...
2
votes
1answer
46 views

If I want to globally include a framework aside from jQuery?

I know I can use many of the items found in this documentation such as jQuery https://docs.joomla.org/J3.x:Javascript_Frameworks by doing something simple like this JHtml::_('jquery.framework', ...
0
votes
0answers
9 views

JForm bind recursion error?

I'm updating a Joomla 3.x component for Joomla 4, and my admin forms are showing a recursive error: // etc until it hits a limit of 256 236 Joomla\CMS\Form\Form->bindLevel() JROOT/libraries/...
0
votes
0answers
10 views

Joomla 3.9.8 - Virtuemart not save correctly new manufacturer

I have virtuemart updated to version 3.4.2. and I created a new manufacturer in the backend. Finally, I assigned a new manufacturer to a product. The problem is that in my frontend, in the "sort by: ...
0
votes
1answer
90 views

Error trying to update above PHP 7.1.27

Trying to update PHP from 7.1.27 to 7.3.3 and can't seem to. Set error reporting to max and after awhile of loading these are the errors I get on top of a white screen (admin also gone) Warning: ...
0
votes
1answer
42 views

Any way to redirect (301) pages for unpublished articles/links (404)?

I am wondering if where is any way in joomla to solve following issue: I am having URLs (articles) which may have been externally linked Now I want to disable this links (unpublish) but if I ...
1
vote
2answers
137 views

Insert custom text to JCE using Javascript

How to insert custom text to JCE v. 2.3.4.4 using javascript? I have opened the page source and saw that the editor is an iframe. Text is in <body id="tinymce">. I was trying something like: $...
1
vote
0answers
8 views

How do I unit test component methods that use the logger?

I have unit tests running for my component (using a bootstrap file to get the usual requirements) but as soon as I add any logging, I get: Class '\Joomla\CMS\Log\Log' not found` I have tried ...
2
votes
1answer
143 views

Unable to approve user registrations via email link

Since the latest update of Joomla I can no longer approve a user via the link in the registration approval email. As of 3.8.13, Joomla is securing the process on approving an user after an email ...
0
votes
0answers
19 views

Deleting module from front-end I Can't find in the back-end

I am very new to Joomla and I am responsible for updating a website that has been created by another web administrator. I have what I believe to be a module that I want to delete, I see it in the ...
2
votes
3answers
45 views

Module Class Suffix Child Div

Joomla! 3.9.1 I've created a 'custom html' module and in the module settings Advanced > I've added the feature-box suffix. In my custom.css file I have added the following code; .feature-box { ...
2
votes
0answers
28 views

Custom JS Module and Image Src Broken

I'm using HD-AnyCode to insert come custom JS in a module, i'm then displaying this module in a Joomshaper template. The custom JS is basically calling an external API and returning data, i'm then ...
0
votes
1answer
13 views

Pagination buttons aren't in sync with current page

I have implemented a pagination technique and the pages seems to work well when I edit in the url, but page 1 cannot be clicked and is still active even though I have changed to the second or third ...
1
vote
1answer
23 views

Define a default intro image on article submissions

I'm searching a way to define a default intro image in the Joomla article creator from the core (when a user create an article if he don't add an intro image there is one by default generated from a ...
3
votes
3answers
8k views

JAuthentication: :authenticate: Failed to load plugin: plgauthenticationcookie

When trying to log in I am seeing the following error message: JAuthentication: :authenticate: Failed to load plugin: plgauthenticationcookie I am not able to log into the front or back end with any ...
0
votes
1answer
15 views

Updating JEventDispatcher triggers

Can anyone explain or point me to information on the new way to handle events in Joomla 4? I'm updating a component that uses triggers to display plugins, and it looks like this: $dispatcher = ...
0
votes
2answers
205 views

Convert article to PDF?

I was wondering if anyone knows of any way to take the HTML content of a custom module which is placed inside an article and convert the HTML to PDF via the click of a button or so. So basically the ...
2
votes
0answers
33 views

Joomla 1.5 Administrator URL not working

I've inherited a quite old site running Joomla 1.5. I unfortunately cannot find the URL for the admin login. www.website.net/administrator returns a 404 error. The server is running php 7.2. Any tips ...
3
votes
1answer
24 views

Why is my plugin not hooking into events?

I have a plugin that looks like this: class plgExtensionLogInstall extends JPlugin { function onExtensionAfterInstall($installer, $extensionId) { JLog::add("Extension installed: ".$...
1
vote
1answer
44 views

RSform!pro rounding

I have a bunch of Input radio groups with two values (yes = 1 and no = 0) So what I would like to have is to sum logically, means a {input1:value} || {input2:value} || {input3:value} || {input4:...
0
votes
2answers
90 views

How to add line break into placeholder text area?

How can I add a line break into the placeholder text area of the RSform? Tried without success: - \n - <br/> - &#10; A sample of the form with the non working text area can be found here ...
3
votes
0answers
20 views

Joomla and Eventbrite Integration

I am looking for a way to integrate Eventbrite with Joomla. I want to show a list of upcoming events that I have created. There are a number of default widgets available with Eventbrite (copy / paste ...
1
vote
1answer
73 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
37 views

What is the purpose of cloning JUri in the CMSApplication route method?

CMSApplicationWhen Joomla does its initial routing in Joomla\CMS\Application\CMSApplication in the route method, the JUri object is cloned. The line is: $uri = clone \JUri::getInstance(); Looking at ...
0
votes
1answer
35 views

How to get Google Analytics using user provided web id? [closed]

I am working on a project similar to filippa.com. In the process of registering a website, the user will input her/his web id, something like XX-XXXX-X. I need to implement a plugin in my item view ...
1
vote
1answer
18 views

Is the order of extension installation guaranteed in a package?

I have a package with a component and plugin, and I need to ensure that the component is installed before the plugin during the installation process (as the plugin installer has a dependency on a ...
0
votes
3answers
239 views

Joomla! 3.6.2 Template Purity III Layout Glossary - second alphabet ordering

I'm on Joomla! 3.6.2 with Purity III template (JA). I try to use the glossary layout with Cyrillic alphabet but the php doesn't check the language and puts the articles in alphabet order only in ...
1
vote
1answer
35 views

Delete query and left join with JDatabaseQuery doesn't work

I'm trying to convert a delete query with left join to use JDatabaseQuery, but I am encountering an issue in the query. The query that I'm trying to convert and which works is the following : $db->...
1
vote
1answer
52 views

How to fix empty Itemid's like https://www.joomla.org/?Itemid=

Google has indexed an URL on my site like this: https://www.joomla.org/?Itemid= This results in strange page of course. Try it with your own site! What would be the best way to redirect this to the ...
0
votes
1answer
352 views

Default landing page without language suffix

I have a multilanguage Joomla website. How can I configure my site so that when someone types any url, it will always bring them to: www.mysite.com ? Currently, a suffix is always added to my site ...
0
votes
1answer
69 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
0answers
17 views

Joomla print modal content [closed]

I want to find out the logic of the Joomla print modal popup creation. More specific, how the content is created and how can I override that by controlling the output, i.e. by adding the article URL, ...
3
votes
1answer
24 views

Getting CSS style to vary with different module instances

Edit: see the Update below for the current status of the problem. I have a module that has to display a variable number of rows, based on how the user configures it in the back-end, and several ...
4
votes
5answers
439 views

How to find the version of extensions used on a Joomla website without access to the backend?

First of all, I would like to check myself: An extension is an aggregate of modules, plugins and components, right? If that is right, then modules, plugins and components have the same versions. Is ...
0
votes
0answers
13 views

DT Register - Which file to change to customize the registration form of an event?

I have a Joomla site with DT Register 3.3.2 and I need to customize the layout of the event registration form for the front end. I need to simply alter the position and formatting of some fields, so ...
4
votes
6answers
13k views

Administrator page 404 not found

I can't access administrator's page; it returns 404 error not found. Although when I rename .htaccess to htaccess.txt, admin page works, but the whole site returns 404 error not found. When I rename ...
19
votes
2answers
2k views

How to let users delete their account from the frontend?

How can i let my registered users delete their own account from the front-end?
0
votes
1answer
251 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 ...
1
vote
1answer
24 views

How to remove image from Joomla cache

I have to make changes to an image on an old Joomla site (V 3.7.4). Logging into the backend causes a server error 500. I've updated the image (which is located in templates/shaper_helix_ii/images), ...
1
vote
0answers
15 views

Why do examples show reload=true for loading language files?

Nearly every example I've seen, both in documentation and code examples, show setting the $reload parameter to \Joomla\CMS\Language\Language->load() method as true (e.g. forcing reload of the ...
3
votes
1answer
63 views

How to separate database results into 2 columns?

I saw the examples of how to do the odd even way, but I want the order to flow from one whole column to the next and not alternating left to right for each alphabetical item. Can this be done? Here ...
3
votes
1answer
675 views

How to conditionally show fields in module xml?

I created a simple module to enter values in textfields which I show in module positions on the frontend (banner images...). Now I need a solution like if dropdown value in fieldname "xy" is "xyz" ...

15 30 50 per page