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
1
vote
1answer
22 views

Getting module parameters in AJAX call using module id

I have set up an AJAX call in my module which works fine. I want to get the module parameters when I make the ajax call. So I'm doing this $app = JFactory::getApplication(); $module = JModuleHelper::...
1
vote
1answer
44 views

PlotALOT RSFORM Quary showing only one result

After being helped very well by Stack community and learning a bit I created a query to show the sum of payments per client. A client can pay multiple times. I would like to know the sum of payments ...
1
vote
0answers
21 views

After updating Joomla 3.9 - Class 'Joomla\CMS\Cache\Cache' not found

I have updated Joomla to 3.9 and now I see this error every time I try to load the website: Error: Class 'Joomla\CMS\Cache\Cache' not found: Class 'Joomla\CMS\Cache\Cache' not found Error reporting ...
2
votes
2answers
48 views

Cannot Connect To MSSQL Server

I am using php 7 and trying to connect to mssql server. I have this code: <?php $serverName = "server"; //serverName\instanceName $connectionInfo = array( "Database"=>"...
3
votes
0answers
35 views

Trying to connect to an external ODBC data source

I have a need to connect to a data source on an old unix box via ODBC, but I don't seem to be getting far and I can't find any examples to help me. I have started with https://docs.joomla.org/...
2
votes
1answer
27 views

JRoute not working - always shows the current view

I have created a view for my custom component and it works OK however I've noticed that JRoute only works for the current view. If I am, for example, on the view picture and I try to "JRoute ...
0
votes
1answer
20 views

Virtuemart installation first page not working?

I'm trying to install Virtumart on my apache server. I used this reference as my installation guide: https://hostadvice.com/how-to/how-to-install-joomla-on-an-ubuntu-18-04-vps-or-dedicated-server/ ...
1
vote
1answer
32 views

Error Updating Component - does not update

I'm not sure if it's a good title for my question, because my component actually updates - at least that's what Joomla tells me. So, the problem is that I developed a component and now I need to ...
2
votes
2answers
69 views

How do I add async attribute for scripts?

I would like to add async to script tags coming from here <jdoc:include type="head" />. I have done some research and I found a few solutions, however those are for custom scripts. I ...
1
vote
2answers
31 views

Search Tools not expanding for Advanced Module Manager

My joomla 3.6.4 site has been recently upgraded to Php7.1.33 I am seeing one issue in Advanced Module Manager. "Search Tools" are not expanding for it. It is expanding for Article Editors ...
2
votes
2answers
40 views

Json encoding being escaped

I'm writing to the db (I'm automatically creating a module): $module = new stdClass(); $module->title = $moduleTitle; $module->note = ""; $module->content = ""; $module-&...
1
vote
1answer
34 views

Creating a menu using php

I'm trying to create a menu item in joomla 3.x using php I've been trying to get this code to work: $menuItem = array( 'menutype' => 'client-pages', 'title' => "new Menu", '...
0
votes
0answers
35 views

Adding a module from a component

I have a component that I want to use to add a module automatically. This needs to be achieved in the administrator area. My idea is to have a button in one of the component views. That component ...
1
vote
1answer
47 views

Redirect Working on Module Not Menu Item

Joomla 3.9.19 I have a login module and in the Login Redirection Page I have selected a menu item > single article. This redirect works fine. I also have a menu item type > login form. In the ...
1
vote
0answers
22 views

SchuWeb Sitemap includes Noindex Pages

I am using Joomla v3.9.19 along with SchuWeb Sitemaps (v3.1.0). Recently, I added some new pages (single article menu item) and added in menu entry the metadata noindex, nofollow, but SchuWeb Sitemaps ...
0
votes
1answer
22 views

How to retrieve all essential cookies used by Joomla?

I need to display all cookies that Joomla uses. I tried print_r(headers_list) and I got this Array ( [0] => X-Powered-By: PHP/7.3.12 ) So I tried print_r($_COOKIE) and I got this: Array ( [...
0
votes
0answers
20 views

Joomla hide core tags in meta description

Joomla core tags appearing in meta description I used joomla core tags to display modules inside an article but now it's messing with SEO. The tags are appearing in meta description instead of the ...
0
votes
0answers
18 views

How to add google recaptcha not working on joomla 3.7?

I have problem with google recaptcha on my joomla site. I am using gk contact form plugin and joomla 3.7.0 version. But recaptcha is not showing due to console errors. https://www.google.com/...
0
votes
1answer
24 views

category links don't work

On my site there are 2 types of categories: the first has link mysite.com/id-category and in this case I cannot see the content of the page (the div with id "t3-mainbody" is missing in the generated ...
0
votes
2answers
49 views

How to Submit detail page (edit.php) with random amount of data?

On my detail page edit.php I have a list of records. The user can select records by a checkbox and the number of selected records is not fixed, I mean it can be one record, but also one time 5 or 11 ...
0
votes
0answers
15 views

Registration Email Include Additional Contents

Joomla 3.9.18 I'd like to include some additional content in the default Joomla user registration email, for example am image and some footer details. I have seen this question but it involves ...
0
votes
0answers
19 views

cli file for sending email fails to sent email

I created a file in the cli folder name it sendemail.php with the following code inside: <?php /** * @package Joomla.Cli * * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. ...
0
votes
2answers
61 views

How to change logo's link URL?

I recently bought a new domain and transfered my old site's files to it. It's all nice, but the logo still points to the old site. How can I adjust it? Here's my new site home page and the logo is in ...
0
votes
1answer
46 views

Using Language Constant File in a Module

I'm creating a module but I need it to be multilingual. I know that I can create field params, duplicate the module, and set different values for these params based on the languague but I would like ...
0
votes
1answer
22 views

Update Joomla Site With FTP From Admin Panel

I just set-up a VPS and installed Joomla. Now I need to update. When I click on the update button, and I try to do it through FTP I get this error message JFTP: :connect: Could not connect to ...
0
votes
2answers
75 views

Select query with FOR UPDATE

I am trying to select a record from a database and lock that for update. How do I do that? The situation is I got a process that gets triggered in multiple sessions (say 2 sessions trigger the same ...
0
votes
1answer
43 views

How to set article options and associations programmatically?

I work on a custom Joomla 3 module that creates articles programmatically based on user input. I can create the articles, but I could not find a way to set the article options and associations when ...
1
vote
2answers
82 views

Best way to clear a group's cache in Joomla via php, from an administrator plugin?

So background: I'm making a caching plugin that clears our site and CDN caches when content is saved in the administrator backend. In this instance, I want to clear the site cache for one group. My ...
0
votes
2answers
24 views

Is it possible to change the parent of a menu item at certain widths?

I have a horizontal main menu in which the last item is a dropdown containing further items. Is it possible, as the screen width is reduced, to move items from the horizontal menu into the dropdown? ...
0
votes
1answer
39 views

Controller Joomla - Output Class construct for color css style

thanks to you i'm learning a lot about php and Joomla Develop! Many thanks! Now i'm trying to understand php class into joomla and construct output i've created this class into my controller.php ...
0
votes
1answer
30 views

How to extend class on my component class in controller.php

I have created a Basic Joomla Component with Component Creator in order to prepare every single files in less the 1 minute :D (I'm lazy, i know.) I have one view default and one for form edit. I ...
-1
votes
1answer
22 views

Searching for the timepicker like Mozilla thunderbird

I have been searching and googling for the timepicker like Mozilla thunderbird (see attachment). I need only a timepicker not a datetimepicker. I hope that it is in jQuery so that I can add this ...
0
votes
2answers
42 views

Joomla Calendar format not displaying the correct format

Below is my calendar field in the form <field name="job_next_run_date_time" type="calendar" label="JSCH_JOBV_NEXT_DATE_TIME" description="...
2
votes
2answers
41 views

Js/Ajax function into a Js file doesn't work

I'm not a programmer (This is my hobby, but I like to learn new things). :) I'm developing a JComponent on my side, and I need to integrate an Ajax Call in order to check something. But I have this ...
0
votes
2answers
43 views

How to properly verify whether there's a token or not - Joomla checkToken() function

I have a page with a form, this form redirects the user to another page, however the user can only access this page if the form has been subimitted, for that I check if there's any token. I have the ...
0
votes
2answers
54 views

Ordering subform data

Wondering if anybody has ever come up with a solution to this problem; my research tells me not. A bit convoluted explanation but hopefully you can understand... I have a component which has both ...
0
votes
1answer
20 views

Js : onclick button not triggering

A set of buttons is no longer working and I can't work out why. The site is using Joomla and SP Page Builder Pro. There are 3 buttons that when clicked will change the price table. However these ...
0
votes
0answers
38 views

I can't get my module to register for updates

I have a module which I want to auto update (as per the JED requirements). I've set up the manifest file in the same way as my other modules (which work for auto update) but I can't get this module ...
0
votes
2answers
26 views

Is it possible to maintain meta keyword for each page?

I know that there is one place where we can actually maintain our keyword in Joomla Global Configuration-> Metadata Settings -> Site Meta Keywords, but is more like a place to dump all keyword of our ...
0
votes
1answer
18 views

Difference between offset and offset_user

I've been struggling to get the correct date and time in a module. I set global config to London (i.e. GMT which is currently 1 hour ahead of UTC) I set the date in my component to 2020-05-10 12:50:...
1
vote
1answer
40 views

How to set the <title> tag from component code?

How do I set the <head>'s <title> tag in MVC component's code? I know the page title (which would appear on top of the page) can be set in several ways but the <title> seems to be ...
0
votes
2answers
68 views

Custom JHtml method

I'm developing a custom library which will be used for custom JHtml methods: use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Uri\Uri; abstract class JHtmlKipengee { protected static $loaded = []; ...
0
votes
1answer
36 views

How can I create multiple users that can only edit and create articles/categories for their own permission group?

I have a website that has lots of companies on it. I want every company to have its own login where they can create categories and articles for themselves but only for themselves, they should not even ...
1
vote
1answer
52 views

Upload multiple versions(ex: 2.5 & 3.0) of the extension as single zip file in JED

I have an Joomla extension for both v-2.5 & v-3.0 in JED. After updating the v-3.0 extension locally, I uploaded it into JED. I see that there is written_ For multiple versions of the extension (...
2
votes
1answer
28 views

Language Override Include Site Details

I would like to create a language override for both site and administrator. The language constant I am changing is; RSFP_REG_EMAIL_ACTIVATED_BY_ADMIN_ACTIVATION_BODY The content of this is; Hello ...
0
votes
1answer
40 views

Display the component view or layout into a module

I've built my own component com_mycomp and in the component there is form in a layout and the path to this layout is: com_mycomp/site/layouts/subscription/form.php so I want to show this layout (form)...
1
vote
2answers
107 views

Change text in error message

I did a modification of one component for a contact, where the name of the file being sent as attachment is compared to the names in the database. Only if the name matches it is allowed to send. If it ...
0
votes
1answer
40 views

JRoute does not show the URL it is supposed to

I have the following problem: I set a URL with JRoute like this: JRoute::_('index.php?option=com_gallery&view=gallery'); This gives me example.site/gallery, which is correct, however, if I ...
2
votes
1answer
52 views

Show article details from custom module

I am trying to develop a custom module where I have options to select 4 different Joomla articles. In my module XML file, I have the following: <field name="articleOne" type="sql" label="...
1
vote
1answer
23 views

Error “Uncaught TypeError: Cannot set property 'value' of undefined” on submit form

I'm getting the following error when trying to submit a form using Joomla.submitbutton('book.submit') The error I get is: Uncaught TypeError: Cannot set property 'value' of undefined at Object....

1
2 3 4 5
58