All Questions

0
votes
1answer
51 views

How can I add an ID to a JHTML call

I'm trying to add an ID to a link created by JHTML. Is that possible? Here's my call, is there some way I can do a , #myId as part of the below? <?php echo JHtml::_('icon.edit', $displayData['...
0
votes
2answers
37 views

Category blog on homepage: how to open detail article as part of a different menu item?

Following scenario: i published 2 separate main menu items: "Home" & "News" for "home": i got a category blog published as homepage menu item showing the latest 3 articles tagged as category "...
0
votes
1answer
25 views

joomla calendar field issue

I create a plugin in k2,which have calendar field, when i choose the time in k2 backend like 2019-03-13 05:00 and save,i don't know why the time auto become 2019-03-13 13:00,the date is correct but ...
2
votes
3answers
162 views

How to execute an ajax script to update form fields in an .xml file rendered by Akeeba FOF?

I would like to populate the "Owner" select option list by SELECTing the owner column from the #__gscrm_accounts table WHERE the gscrm_account_id (primary key) is the selected "Person or Business" ...
3
votes
1answer
74 views

How to use the showon attribute with multiple conditions?

In a Joomla 3.9.3 module, I'm trying, with no luck, to show/hide a field with showon by checking the values on other three fields My XML: <field name="foo" type="text" /> <field ...
0
votes
1answer
76 views

How to balance banner impressions per client considering that clients may have a differing number of ads?

Consider this scenario... Each page on the site displays a single banner advertisement (Joomla native module). The module is configured to be random (one banner at a time). There are 3 clients ...
1
vote
0answers
30 views

It is possible to use a breakout image in a CMS that breaks a sidebar also

I have always told my designer that he should ignore any web rules and think/design like the print designer he is. And it is my job to overcome the issues that arise because of this. Every now-and-...
1
vote
1answer
37 views

JCE convert unicode after save in my DB

I added &#128274; in the source code of JCE. JCE convert it to 🔒. The problem is after save in my database ist is a scratch characters 🔒. My question now is should I modyfy JCE (How?) or ...
0
votes
1answer
255 views

Joomla 3.9.3 Articles: 500 Unknown column 'a.note' in 'field list'

I've updated to Joomla 3.9.3 and now I get this error 500 Unknown column 'a.note' in 'field list', by opening the articles pages. I've tried to fix the database with the repair function, but this ...
0
votes
1answer
36 views

Retrieve Contacts from Components via REST API

is there any official REST API in Joomla? If yes I would like to retrieve Contacts from Components, do you have any advice on how to achieve it?
0
votes
0answers
14 views

idx_XXX error after reimport from content table

I export only the xxx_content table from SQL with TRUNCATE. After reimport the table the follow error message comes: ALTER TABLE `XXX_content` ADD PRIMARY KEY (`id`), ADD KEY `idx_access` (`access`...
0
votes
1answer
41 views

How to display the appropriate language in an article?

I have 7 languages installed in my website, but when I try to display content in one country, it shows in another country. How can I change the options? For example, I want to display content in ...
1
vote
1answer
37 views

My module parameters aren't saving . and can't use them in my files

**mod_cookiACT.xml** <?xml version="1.0" encoding="utf-8"?> <extension type="module" version="3.1.0" client="site" method="upgrade"> <name>Cookie Notifications !</...
2
votes
1answer
35 views

Creating a module and giving it config parameters options

on the documentation for creating a module, the basic is all there but they don't talk about giving parameters to your module. Example the color of the background or the size whatever. So I want to ...
1
vote
1answer
60 views

How can I use joomla 3 user group access level code under public static function

Currently I am trying to use group access level code under public static function. File is belong to 3rd part component and stays under the administrator folder. 3rd part component has own custom ...
-1
votes
1answer
103 views

Simple plugin to check folder contents on component update

I'm wanting to make a very simple plugin. All it needs to do is On installation of the plugin, copy a folder to a particular component's library folder. When a particular component library is ...
0
votes
1answer
80 views

How to use external PHP library in Joomla! CLI application - Class not found

I'm working on a custom Joomla! CLI application and would like to rely on an external PHP library to reuse some functionality. // Set flag that this is a parent file. const _JEXEC = 1; ...
0
votes
1answer
43 views

Associating a login module with a template

I'm using a secondary template for a new menu, which requires a login. I created a login module assigned to a position on that template and the new menu. The template is assigned to the new menu and ...
1
vote
2answers
48 views

Filtering product query with two sets of filters. (J2Store)

I have two disjointed sets of product filters, $special_filters and $other_filters. I'm trying to retrieve the products from the database which match any of the filters in $special_filters AND any of ...
2
votes
1answer
49 views

create user and set its frontend language via php-script

The code below (modified from another post) works fine for me to create a user. But how do you set the new user's frontend language? In the code below, the lines 'frontend-language'=>'de-DE', '...
0
votes
0answers
44 views

Search for articles by alias

Our client wants visitors to the site to be able to find an article (actually a J2Store product if that makes a difference) by searching words in the alias. I found an old forum post from 2010 where ...
2
votes
1answer
52 views

Getting Error “Call to undefined method Joomla\CMS\Editor\Editor::getContent”

I am upgrading one of my component to support Joomla 4 and I am getting this error in webpage Call to undefined method Joomla\CMS\Editor\Editor::getContent The code that throws this error is in ...
1
vote
2answers
57 views

How to make Category Links noindex

Is there a way to make all my categories to be "noindex"? (Plugin or even better default joomla way) Right now crawlers find the category URLs and thus create duplicate content on search engines. ...
1
vote
1answer
96 views

Redirect direct registration page access by .htaccess

I would like to redirect registration page to homepage by using .htaccess now my code is redirecting to /component/users/?view=login&Itemid=437 which is login page. I would like to make ...
1
vote
1answer
40 views

Issues to be aware of when calling `concatenate()`, `regexp()`, `rand()`, and `castAsChar()` in sql queries

I'm taking it upon myself to become aware of some of the lesser known/used query methods because I like toying with MySQL and I want to implement Joomla calls when possible/sensible -- because they ...
0
votes
1answer
81 views

Joomla custom fields for category - subtitle & headerimage

I have an override for the category/blog.php layout and i want to display a headerimage and a subtitle with the custom fields introduced in joomla 3.7. For this implementation I already use Joomla 3.9....
0
votes
1answer
61 views

Joomla - Custom fields in Backend - Template override

I have a Joomla-site with a lot of extra-fields in custom fields area. When I edit my articles the long list of fields is quite confusing. So I thought I could be a good idea to show the custom fields ...
1
vote
2answers
94 views

How to set noindex on components

Anyone who can tell me how I can disable the component users to provide search engines the noindex, means: <meta name=robots content="noindex" /> for example in all Joomla instances, the URL /...
1
vote
0answers
21 views

Suddenly URLs with “table/”

I'm running a simple site based on Joomla. The SEF URLs are defined by SH404SEF and look like https://[domain]/[category]/[sub category]/[article title alias].html. In some cases there is a 1-to-1 ...
3
votes
3answers
414 views

How to create a custom script to force the download of a .csv file that is generated in real time?

So I've been handed a custom administrator module which simply displays database table data in an HTML table. My task is to create a clickable button on the module that will generate the csv data on ...
1
vote
2answers
50 views

Struggle getting search icon to display on tablets

I have quite a specific problem and just cannot seem to figure out what is going on. I have a Fontawesome search icon which when clicked opens a VM search in a dropdown. This works fine on most ...
0
votes
1answer
43 views

Is it possibile to reorder jform control-group with jquery?

First of all I'm not sure if this counts as Joomla question or jQuery question. I have manipulated the joomla user jform and added an extra field jform_firstname to the list of fields. The current ...
0
votes
1answer
81 views

Display specific Joomla user groups

This code snippet below shows the list of all Joomla user groups(registered,editor.superuser and ...) at component // load in joomla user groups $qry = "SELECT * FROM #__usergroups ORDER BY ...
0
votes
1answer
90 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
2answers
55 views

Getting post installation script to run for a module

I've a module that I want to run a script post installation, post update etc. I think this can be done by adding a script.php into the module zip file and then calling it in the installation file. &...
0
votes
2answers
65 views

How To Include Permenant Modifications To Template Without Being Knocked Out On Update

so I'm hoping to achieve something relatively simple. I need to add an external css reference to a CDN and a local customjs file reference to the head of my template file. Currently I am doing this ...
1
vote
1answer
132 views

From outside of a component how to change a parameter

In a system plugin, I am using the onAfterRoute event to change a single parameter from a 3rd party component before being loaded. public function onAfterRoute() { if ('com_abc' == JFactory::...
2
votes
1answer
65 views

How to adjust search keyword sanitization settings as language override?

I am working on some custom search plugins and I have a 2-part question regarding the file administrator/components/com_search/helpers/search.php. I want to adjust the sanitization settings without ...
2
votes
1answer
38 views

Product image at j2store cart

j2store use thumbimage and mainimage instead of joomla article intro and full image for show image product at j2store cart and order invoice I decided to use intro image in article instead of ...
1
vote
1answer
34 views

How can I remove the URL in the tooltip?

When using tooltips for links in my admin component, the URL is for some reason visible in the tooltip. Is there a way to turn it off, so that only the title attribute is visible? I'm using the hasTip ...
1
vote
1answer
35 views

How to use form rules programatically to validate data outside a form

I've created a component where an admin can bulk upload users and I want to validate the email addresses before creating those users. The XML definition of the form for creating or modifying a user (...
1
vote
0answers
32 views

Why can only superusers administer information requests?

I have activated the new privacy suite that came in Joomla 3.9 in a website. It is impressive software: its capabilities and the userfriendly way it is presented. The documentation tells me that ...
1
vote
1answer
55 views

How to integrate my custom Administrator component with core Joomla database tables during install?

Background: I am starting to package up three associated custom Joomla extensions that I've developed. (This is directly associated with my previous JSE question, if you want more context.) The ...
0
votes
2answers
46 views

How do I find / write a css class that has a space in the beginning?

The class I want to change has a space in the beginning, see image. Does anyone know how to find that class or override it with my own class attributes? Does . nav { css here } work?
1
vote
2answers
81 views

Problem changing tooltip css in Joomla 3

I'm trying to change the css properties of the tooltip css in Joomla 3.9. That is, when you hover over a text-label and a description appears right to it. I can't find the corresponding css class, not ...
1
vote
1answer
39 views

Language Constants not being replaced in JLayout

I am trying to use Jlayout in a plugin I am writing and everything works fine except that the Language Constants in the layout file are not being replaced. My call to render the layout is; $layout = ...
3
votes
1answer
51 views

Where are plugins found in Joomla 4?

I'm working with the Joomla 4 alpha 7, and I don't see anywhere to enable / disable plugins. Are plugins not enabled yet? [edited to add alpha, not beta!]
0
votes
2answers
39 views

How to use plugin content-events on featured contacts page

Using the content event onContentPrepare() within a plugin in the contexts of 'com_contact.category' and 'com_contact.contact' works fine. But the following code doesn't output anything on a page ...
0
votes
1answer
30 views

How to identify which JForm list field triggered the submission of my form?

I´m working on a JForm with some list fields. As the fields have a cascading relationship (and I did not want to work with AJAX at this time) I submit the form, whenever the selection of one of the ...
0
votes
1answer
36 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 ...

15 30 50 per page