All Questions

Filter by
Sorted by
Tagged with
2
votes
0answers
29 views

Embed a leaflet map

I'm using Helix Ultimate alongside Joomla 3.9.6 with Sourcerer installed and want to embed a leafletjs-Map. According to leaflet's documentation, I need to load their CSS as well as their JavaScript, ...
1
vote
1answer
16 views

Problem with IIS rewrite non-www to www and https

I've been trying for a few hours now to set up a non-www to www redirect on IIS 8.5 and am failing miserably. I am able to get the home page to force www but all other pages fail. I'm not really an ...
1
vote
1answer
28 views

Joomla Warning Showing Incorrect PHP Version

Using Joomla 3.9.8 I recently migrated from localhost (PHP 7.1.9) to a live server (PHP 7.2) On localhost my site was installed at localhost/mysote. On my live server it's installed at dev.example....
1
vote
0answers
33 views

Google Search Console Crawl Anomaly in Joomla 3.x

Check the URL - no errors https://www.dach-spengler.eu/sitemap.xml https://www.dach-spengler.eu/robots.txt In the google search console, I got the error: Crawl-Anomaly Submitted Sitemaps Status ...
0
votes
2answers
42 views

Cannot install due to memory being exhausted and duplicated software

I have a problem with a Joomla! site that I did not build. It is due to memory being exhausted. When I try to install I get this message: Fatal error: Allowed memory size of 134217728 bytes ...
4
votes
1answer
38 views

(RuntimeException $e) vs (JDatabaseExceptionExecuting $e) for SQL exception handling

Through out the current version of Joomla (3.9.6) I find a mixture of ways that SQL exceptions are handled and I was wondering if anyone could give me some definitive situations where one should be ...
1
vote
4answers
49 views

Create menu item type with filter options

I am building a component managing a set of job offers. Jobs have attributes including "employer". (I am extending a component created with Component Creator.) There is a front-end list view with ...
0
votes
0answers
31 views

API to read and write http headers?

I am wondering what is the best way to read and write http headers in Joomla? What do I need to achieve? I want to read all requests headers I want to add response headers I want to control optional ...
0
votes
0answers
15 views

Method start() and end() for cache has been removed in Joomla! 4

I have some older custom Joomla! code that I need to refactor for Joomla!4. The start() and end() methods that are used for caching have been removed in Joomla!4. How can I amend my code to maintain ...
0
votes
0answers
24 views

Including 3rd party SDKs in a custom extension

I'm trying to develop a J2Store app for the shipping broker FlagShip, using their SDK found here. (Their SDK essentially provides objects which handle calls to their API so that the developer doesn't ...
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
1answer
72 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
24 views

komento comments count at article

I'm trying to add komento comments count add to article at below file templates/name-template/html/com_content/article/default.php code $query->select(' COUNT(jc.id) AS ...
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), ...
0
votes
0answers
29 views

Joomla! extensions table is not unique

The Joomla! extensions table is not editable in PHPMyAdmin. I believe there are non-unique values there too, so it cannot have an index. This is wreaking havoc with my install, I can't add any new ...
0
votes
0answers
22 views

Joomla 2.5 - Rollback on model save()

This is what I'm trying to do: I save my item in the model, then I call a method that can throw an exception if something goes wrong. If I catch the exception, I want to rollback, this is my ...
1
vote
2answers
64 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
33 views

Setting Joomla input

I'm using $jinput = JFactory::getApplication()->input; to get an array of the input from a page. I then use: $foo = $jinput->get('jform', '', 'raw'); I can then echo $foo['...
1
vote
1answer
48 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->...
0
votes
3answers
42 views

(Module override/PHP) Checking if a content-item has an image otherwise display a placeholder

I am customising a Joomla module (Override) and it does not seem to accommodate if an image is not selected (just shows a broken image symbol). What I'd like to do is check if there is an image and ...
0
votes
0answers
28 views

setting component parameters

I'm trying to set a parameter of a component. I have models->rules then the php rule. This seems to work fine. However when I try to set one of the component params it refuses to do it. I've ...
0
votes
1answer
94 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: ...
2
votes
1answer
41 views

How to use HTMLHelper to add to the document head

In this post: How to add CSS/JS/an Image to a module backend @lodder shows me how to use HTMLHelper to add CSS and JavaScript. Previously I had followed the Joomla! documentation https://docs.joomla....
0
votes
0answers
15 views

Article Settings Priority (again…)

Is there a way to make the individual article options settings take priority over the Menu or Global options settings? I have found that it makes no difference what the individual article options are ...
1
vote
1answer
21 views

How to pass a php array to javascript array/object with non-sequential keys

I'm trying to pass a php array to javascript, but the array has non-sequential keys. Here is a portion of the array: Array ( [1812] => Array ( [RecID] => 1 [...
0
votes
2answers
29 views

Only show PHP error messages to Super Admin

Is there a way to show PHP error messages only to a Super Admin? How are PHP error messages called or generated? I know in System Configuration we can set the level e.g. developer or none, would ...
2
votes
1answer
23 views

Remove Subcategories title and links from bottom of Category blog

I am using a category blog menu item type in order to display article intro’s for a number of subcategories. Under the blog layout settings, 'include subcategories' is therefore set to all in order ...
0
votes
0answers
16 views

Search tools labels

I am using Search Tools and noticed that labels in filter form fields are not rendering, despite being present in xml. I also noticed that there are no labels in standard filters, (like on User ...
0
votes
0answers
26 views

com_weblinks Unhandled exception - InvalidArgumentException

Admin Tools is notifying me of a PHP exception that occurs within the Weblinks component on Joomla 3.9.6. I have included the stack trace below for reference. The exception occurs infrequently (about ...
0
votes
1answer
37 views

Editing a module from another component

Suppose I want to edit the field ("Home") of a module (say mod_breadcrumbs) from edit.php file of another module.I want to use the radio button inside another module instead of using here. Is this ...
0
votes
0answers
34 views

How to analyse one level deeper of the default profiling of Joomla?

I am getting the following results from measuring the performance: Time: 104.01 ms / 104.01 ms Memory: 0.878 MB / 1.11 MB afterLoad Time: 627.05 ms / 731.05 ms Memory: 4.563 MB / 5.67 MB ...
0
votes
1answer
37 views

How to write a DELETE query with WHERE conditions using JDatabaseQuery syntax?

I have a query which I am trying to convert to JDatabaseQuery syntax, but I'm not able to find the correct way. The query is the following: DELETE upt FROM #__mycomponent_user_posts AS upt WHERE upt....
-2
votes
1answer
32 views

What does the line in the code below does? [closed]

$hasContent = empty($this->item->module) || isset($this->item->xml->customContent); line 23 in /administrator/components/com_modules/tmpl/module/edit.php
0
votes
1answer
32 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
0answers
20 views

Javascript in administration (modules / content-plugins) [duplicate]

i have one doubt / question and don't know how to solve it: Imagine you have a subform-field with the multiple-parameter active to add multiple content-blocks, now, the thing is, in real life there ...
2
votes
1answer
55 views

How to measure server performance in joomla (not from outside)?

I am wondering if where is a option to measure the joomla performance on the api level. something like this (afaik it is profiling) Time: 56.14 ms / 56.14 ms Memory: 0.593 MB / 0.81 MB ...
2
votes
2answers
34 views

How to stop Joomla 2.5 from disabling PHP

I need to stop Joomla from converting PHP code to a comment (or otherwise disabling it). I copied a working page with a basic [directory listing] function, and the duplicate wouldn't work. I am ...
1
vote
1answer
50 views

Translate only one string in component rest of component stay with default language

Is there a way to translate a single string with a language that is different from the default language? (Google search did not lead me to a solution.) Example code that does not work: // This shows ...
0
votes
1answer
35 views

Where might the code for this screenshot lie in joomla 4 [closed]

The link to this url on localhost is administrator/index.php?option=com_menus&view=item&client_id=0&layout=edit&id=101
1
vote
2answers
34 views

Sending a message to admins when a user registers

I'm trying to figure out whether it's possible to utilize the built-in joomla messaging system to notify admins when a new user registers? I'm trying to find the function which sends messages, so I ...
0
votes
1answer
30 views

Why is password reset being triggered without user submitting the form?

Multiple users are reporting their 'forgot password' / password reset function is being triggered, and that they're receiving emails with the verification code etc, even though they didn't request a ...
0
votes
1answer
24 views

Remove tag association when deleting an item in own component

I followed the MVC Tutorial from Joomla as close as possible to create my own component. I included Joomlas Tags system within my component using the Observer technique in the JTable class class ...
0
votes
1answer
32 views

Custom joomla template navbar issue

I am totally new to this kinda stuff but i have got this index.php(index.php) and this template.Details.xml(templateDetails.xml). But the navigation bar looks completely different than this . It now ...
0
votes
0answers
20 views

Joomla configuration under Azure with MySQL in-app

I'm running Joomla under Azure using the MySQL In-App option for the database. Everything has gone well, but I have been unable to get the database config variables in JConfig to pull dynamically from ...
0
votes
1answer
34 views

Click to upload an image “The server returned an invalid JSON response.” [closed]

When I go into an article, and then click to upload an image I receive the error: The server returned an invalid JSON response. I actually receive the error twice in a row if that helps. Can ...
0
votes
0answers
12 views

Users “failure to login” ?Itemid=638

Users attempting to login are generating this message in the backend under AdminTools: component/users/profile?Itemid=638 Are these folks being rejected -or- are they simply failing to login ...
0
votes
0answers
38 views

How to programmatically create and install a module during component postflight?

I want to create and install a module via component postflight. I can get postflight etc. to work, but I can't get it to create and install the module. Code I've created: // Get the database object ...
0
votes
0answers
68 views

Access namespaced custom field method from a plugin into another plugin

In one of my previous questions, I learned how to properly set up a namespaced custom form field, but it turns out that it's only available within its plugin scope for some reason. I need the field ...
2
votes
1answer
42 views

How to use cache calls in Joomla 4

From the documentation I use this part to store a large chunk of data if (empty($families)) { $cache = Factory::getCache(); $families = $cache->call( array( 'JFormFieldFamily', 'getFamilyList' ...
1
vote
1answer
19 views

Article Shows as white screen but plugins load

I have an article which shows as published in my back end. If I click on "preview" which I believe is Regular Labs "better preview" I see a screen saying the article is unpublished. I also have a ...

15 30 50 per page