Joomla issueshttps://lab.civicrm.org/dev/joomla/-/issues2021-08-27T10:54:39Zhttps://lab.civicrm.org/dev/joomla/-/issues/20[Joomla 4.0] CiviCRM Extensions page is broken2021-08-27T10:54:39ZAndrew Thompson[Joomla 4.0] CiviCRM Extensions page is brokenSee screenshot - tabs are broken, layout messed up.
Browser console shows Javascript errors `ReferenceError: CRM is not defined`
![image](/uploads/536de62a9402a70e09e2cb7d2f139628/image.png)
![image](/uploads/9f1d2bc705ba8ea3b59b5d2677...See screenshot - tabs are broken, layout messed up.
Browser console shows Javascript errors `ReferenceError: CRM is not defined`
![image](/uploads/536de62a9402a70e09e2cb7d2f139628/image.png)
![image](/uploads/9f1d2bc705ba8ea3b59b5d267786a2ac/image.png)Joomla 4 Integrationhttps://lab.civicrm.org/dev/joomla/-/issues/34[Joomla 4.0] CiviCRM logo not showing in Quick Icon plugin2022-05-27T10:14:42Znicol[Joomla 4.0] CiviCRM logo not showing in Quick Icon pluginVery low priority, but the QuickIcon Joomla plugin (https://github.com/civicrm/civicrm-joomla/tree/master/admin/plugins/civicrmicon) no longer shows a Civi logo:
![image](/uploads/aed5a3996ded76fc73d42686f36f00fd/image.png)Very low priority, but the QuickIcon Joomla plugin (https://github.com/civicrm/civicrm-joomla/tree/master/admin/plugins/civicrmicon) no longer shows a Civi logo:
![image](/uploads/aed5a3996ded76fc73d42686f36f00fd/image.png)Joomla 4 Integrationnicolnicolhttps://lab.civicrm.org/dev/joomla/-/issues/17[Joomla 4.0] CiviCRM menu issues2021-09-02T10:17:43ZAndrew Thompson[Joomla 4.0] CiviCRM menu issuesThe 'new' (former KAM) CiviCRM menu has some cosmetic problems in Joomla 4.0 alpha 11:
1. The CiviCRM menu pushes the Joomla top horizontal menu down so that Joomla's is below CiviCRM's, and when the CiviCRM is moved down, it appears be...The 'new' (former KAM) CiviCRM menu has some cosmetic problems in Joomla 4.0 alpha 11:
1. The CiviCRM menu pushes the Joomla top horizontal menu down so that Joomla's is below CiviCRM's, and when the CiviCRM is moved down, it appears behind Joomla's.
![QPTgvgiKi9](/uploads/5073d73a73551cf3fbc5f4926449f307/QPTgvgiKi9.gif)
2. The search menu options' text are visible only on mouseover
![8jik9uASCQ](/uploads/567a19a70b59327e88c7ada5b3bfa326/8jik9uASCQ.gif)Joomla 4 Integrationhttps://lab.civicrm.org/dev/joomla/-/issues/22[Joomla 4.0] CiviCRM pages don't work in Joomla frontend - Class 'JRequest' n...2019-09-09T22:47:07ZAndrew Thompson[Joomla 4.0] CiviCRM pages don't work in Joomla frontend - Class 'JRequest' not foundOpening any CiviCRM page on Joomla 4.0 frontend fails with this error:
> Class 'JRequest' not foundOpening any CiviCRM page on Joomla 4.0 frontend fails with this error:
> Class 'JRequest' not found5.19.0https://lab.civicrm.org/dev/joomla/-/issues/24[Joomla 4.0] CiviCRM's CSS interferes with Joomla's top header background colour2019-09-10T02:19:37ZAndrew Thompson[Joomla 4.0] CiviCRM's CSS interferes with Joomla's top header background colourNormally Joomla 4.0's administrative template shows a white top header background:
![image](/uploads/927c5e20d27509e1ec1e4c0e6f3be3af/image.png)
But on any CiviCRM backend page Joomla's header is changed to a blue background:
![image](/...Normally Joomla 4.0's administrative template shows a white top header background:
![image](/uploads/927c5e20d27509e1ec1e4c0e6f3be3af/image.png)
But on any CiviCRM backend page Joomla's header is changed to a blue background:
![image](/uploads/ca0e4aedf4df796b6b7ba6aa9572e3f1/image.png)
This comes from CiviCRM's `administrator/components/com_civicrm/civicrm/css/joomla.css`:
```
#header {
background-color: #69c;
}
```
I propose that we get rid of the above from `joomla.css`. I can't see that it had any effect on Joomla 3.
* In a Joomla 3 page there is a `<header class="header">` (class not id unlike in J4's new Atum template) and that's the closest we get in Joomla itself.
* If I grep the CiviCRM codebase for 'id="header"' (perhaps not foolproof) the only places it appears in CiviCRM are:
```
administrator/components/com_civicrm/civicrm/templates/CRM/Mailing/MailingUI.hlp:{htxt id="header"}
administrator/components/com_civicrm/civicrm/bower_components/ckeditor/samples/old/inlineall.html: <div id="header">
```
And the #header in joomla.css doesn't affect those cases.https://lab.civicrm.org/dev/joomla/-/issues/18[Joomla 4.0] Database upgrader does not work2021-08-27T11:00:40ZAndrew Thompson[Joomla 4.0] Database upgrader does not workThis might not be a valid bug as I only tried installing the same CiviCRM version twice rather than a true version upgrade.
What I did was:
1. Install CiviCRM 5.16.3 (modified to include [PR #52](https://github.com/civicrm/civicrm-jooml...This might not be a valid bug as I only tried installing the same CiviCRM version twice rather than a true version upgrade.
What I did was:
1. Install CiviCRM 5.16.3 (modified to include [PR #52](https://github.com/civicrm/civicrm-joomla/pull/52))
2. Repeat (1) again i.e. install the modified CiviCRM 5.16.3 again. The installation works.
3. Click on Please run the CiviCRM Database Upgrade Utility (administrator/index.php?option=com_installer&view=install) and I got a white screen
I haven't investigated further.Joomla 4 Integrationhttps://lab.civicrm.org/dev/joomla/-/issues/53[Joomla 4.0] Mosaico build screen clipped (maybe a Mosaico issue)2023-09-06T10:36:42Znicol[Joomla 4.0] Mosaico build screen clipped (maybe a Mosaico issue)Mosaico is loaded in an iFrame, with a fixed position that is lost behind the Joomla UI:
![image](/uploads/752b2ea5a9ccc68e0fe8daedd0e023fe/image.png)
something like
`#crm-mosaico {
left: 288px;
top: 66px;
width: calc(100vw - 288px);...Mosaico is loaded in an iFrame, with a fixed position that is lost behind the Joomla UI:
![image](/uploads/752b2ea5a9ccc68e0fe8daedd0e023fe/image.png)
something like
`#crm-mosaico {
left: 288px;
top: 66px;
width: calc(100vw - 288px);
height: calc(100vh - 66px);
}`
would work if the Joomla sidebar is extended and
`#crm-mosaico {
left: 48px;
width: calc(100vw - 48px);
}`
if it isn't, but there's no helpful Joomla classes to differentiate between these states via a parent selector. Even if that was fixed, to avoid having to force this with `!important`, may be better to address this in Mosaico's absolute positioning script..https://lab.civicrm.org/dev/joomla/-/issues/19[Joomla 4.0] Styling issues on modal forms for new membership/contribution/pl...2022-04-21T17:12:16ZAndrew Thompson[Joomla 4.0] Styling issues on modal forms for new membership/contribution/pledge etcThis applies to the modal pop-up forms for a contact: new membership, new contribution, new pledge, new event registration etc.
- The form is too narrow
- Where there is a scrollbar, either horizontal or vertical, it doesn't work. Cannot...This applies to the modal pop-up forms for a contact: new membership, new contribution, new pledge, new event registration etc.
- The form is too narrow
- Where there is a scrollbar, either horizontal or vertical, it doesn't work. Cannot scroll.
- The top of the modal form is underneath the Joomla top menubar
![image](/uploads/15379661aaa92561c653c2bef582829b/image.png)
![image](/uploads/40c6006460ac9b045cb87d518866f3cd/image.png)
![image](/uploads/779317dbd5e5bbb808e8937843c4d541/image.png)Joomla 4 Integrationhttps://lab.civicrm.org/dev/joomla/-/issues/12Actions on Search Results for Contacts is not happening2019-04-10T15:31:12ZchaosbusterActions on Search Results for Contacts is not happeningCiviCRM 5.12.0 on WordPress 5.1.1
After doing any type of search when selecting Contacts in the resulting search (either using the ALL or selected records) then selecting an 'Action' in the dropdown, the page does not go to the next pag...CiviCRM 5.12.0 on WordPress 5.1.1
After doing any type of search when selecting Contacts in the resulting search (either using the ALL or selected records) then selecting an 'Action' in the dropdown, the page does not go to the next page to do the action. For my instance, I was trying to use the 'Group - add contacts' action.https://lab.civicrm.org/dev/joomla/-/issues/52Cannot have a CiviCRM-link menu as default (home) page2024-03-07T23:14:49Zthoni56Cannot have a CiviCRM-link menu as default (home) pageIn Joomla you declare one menu item to be the default "front page" i.e. the one that you get to when no menu is selected, only the web sites base path.
In J3 this also worked for a menu entry that was a CiviCRM-entry, such as Event List...In Joomla you declare one menu item to be the default "front page" i.e. the one that you get to when no menu is selected, only the web sites base path.
In J3 this also worked for a menu entry that was a CiviCRM-entry, such as Event Listing or Mailing List Subscription. (check e.g. https://events.responsive.se which is a J3 site with Event Listing as the default menu entry.)
With J4 this no longer works. When going to the "home page" the menu item is highlighted to indicate that it is active, but there is no output in the content area.
I tried this with a clean J4 and CiviCRM and see the same thing. The underlined "Subscription" indicates that it is the menu entry that is active.The J4 default template Cassiopeia displays breadcrumbs which strangely enough shows "Home" and not "Subscription" (which is the menu entry for CiviCRM Mailing List Subscription form).
This is extra strange because the breadcrumb for the Home menu entry is actually "Home/Home" so the default page Subscription is something in between...
![image.png](/uploads/e82c3a451f5ed6010968e4d25c17d6a5/image.png)Explicitly clicking the "Subscription" menu entry correctly shows the form.
I don't really know enough about Joomlas routing to understand where the problem really is, but I'm starting by reporting it here.https://lab.civicrm.org/dev/joomla/-/issues/26CiviCRM menu disappears and upgrade to 5.23.x fails if Joomla is in a folder ...2020-05-16T03:15:37ZspalmstromCiviCRM menu disappears and upgrade to 5.23.x fails if Joomla is in a folder below the website.This issue may also apply to Drupal, but I haven't tried it.
If the Joomla site is a subfolder of the main site, e.g.
https://www.example.com/joomla, the CiviCRM menu disappears after upgrading to 5.23.x and the database upgrade gets stu...This issue may also apply to Drupal, but I haven't tried it.
If the Joomla site is a subfolder of the main site, e.g.
https://www.example.com/joomla, the CiviCRM menu disappears after upgrading to 5.23.x and the database upgrade gets stuck. If Joomla is immediately under the site, both issues disappear. Examining the code shows errors in loading scripts, where the browser attempts to load files in:
https://www.example.com/joomla/joomla
In other words, it seems to be duplicating the subfolder.5.23.4https://lab.civicrm.org/dev/joomla/-/issues/27CiviCRM menus disappear in Joomla after 5.24.x upgrade2020-04-13T10:35:47ZspalmstromCiviCRM menus disappear in Joomla after 5.24.x upgradeUnder Joomla, the CiviCRM menus disappear after upgrading to 5.24.x.Under Joomla, the CiviCRM menus disappear after upgrading to 5.24.x.https://lab.civicrm.org/dev/joomla/-/issues/1CiviEvent menu listing showing old events2018-07-03T22:53:01Zaydunsaidan.saunders@squiffle.ukCiviEvent menu listing showing old eventsCiviCRM 5.1.2 on Joomla 3.8.10.
Problem as reported: Trying to create a menu item for an event info page, and the drop-down in the Joomla menu manager is only displaying past events. The drop-down for the Event Registration Page shows ...CiviCRM 5.1.2 on Joomla 3.8.10.
Problem as reported: Trying to create a menu item for an event info page, and the drop-down in the Joomla menu manager is only displaying past events. The drop-down for the Event Registration Page shows the currently active and upcoming events - there are only 2 of them.
(From https://civicrm.stackexchange.com/questions/25555/civievent-menu-listing-not-finding-active-event)
Investigation: the selector for showing events filters by 'active' and shows at most 100 events, but it does not filter by date - so when there are more than 100 events, new ones are not shown.5.4.0https://lab.civicrm.org/dev/joomla/-/issues/25cli.php Crons Not Running2019-12-27T14:16:50ZADG Creativecli.php Crons Not RunningJoomla 3.9.13, 3.9.14.
Since update to 5.20.0, cron jobs stopped running.
I have confirmed that the cron job is being fired from the server and hitting cli.php, I just cannot determine where the failure is happening. There is no error re...Joomla 3.9.13, 3.9.14.
Since update to 5.20.0, cron jobs stopped running.
I have confirmed that the cron job is being fired from the server and hitting cli.php, I just cannot determine where the failure is happening. There is no error returned.https://lab.civicrm.org/dev/joomla/-/issues/41Cron issue with Joomla 42022-10-27T01:07:08ZmcherkesCron issue with Joomla 4After the Joomla update, from v3 to v4, the automated launch of cron failed.
![Screenshot_from_2022-06-22_17-36-37](/uploads/9cc4a38b2c89b5809c6918fde51ab631/Screenshot_from_2022-06-22_17-36-37.png)
Have tried to launch it manually with...After the Joomla update, from v3 to v4, the automated launch of cron failed.
![Screenshot_from_2022-06-22_17-36-37](/uploads/9cc4a38b2c89b5809c6918fde51ab631/Screenshot_from_2022-06-22_17-36-37.png)
Have tried to launch it manually with wget , but received errors on the screen bellow
![Screenshot_from_2022-06-22_17-30-55](/uploads/43692831e44b6dfad9c934c36bb5c487/Screenshot_from_2022-06-22_17-30-55.png)
Our assumption is the folders and files in Joomla 4 differ from Joomla 3.5.56.0https://lab.civicrm.org/dev/joomla/-/issues/38HTML Class generation assumes "class safe" names2022-02-11T20:21:03ZphilmorbruHTML Class generation assumes "class safe" namesBringing this issue over from the [iATS extension page](https://github.com/iATSPayments/com.iatspayments.civicrm/issues/367) where there are images and more documentation. Indications are that this also affects WordPress sites.
In short...Bringing this issue over from the [iATS extension page](https://github.com/iATSPayments/com.iatspayments.civicrm/issues/367) where there are images and more documentation. Indications are that this also affects WordPress sites.
In short, html classes that are generated for the iATS extension and possibly other contexts assume the machine name is class safe. If the name has spaces ("iATS Payments Credit Card" rather than "iATS_Payments_Credit_Card"), it results in multiple classes (.iATS .Payments .credit .card) rather than the single class (.iATS_Payments_Credit_Card).
A primary problem with this is that if the standard .card class is used on a site (very common with bootstrap), it leads to formatting problems for elements with Civi-generated classes. Otherwise this issue might fly under the radar on most sites.
Joomla! 3.9.24, Civi 5.39.0, iATS extension 1.7.45.48.0https://lab.civicrm.org/dev/joomla/-/issues/9htmlspecialchars() expects parameter 1 to be string, array given in .../admin...2021-09-28T17:19:33Zspalmstromhtmlspecialchars() expects parameter 1 to be string, array given in .../administrator/components/com_civicrm/civicrm/packages/HTML/Common.php on line 144Warning: htmlspecialchars() expects parameter 1 to be string, array given in .../administrator/components/com_civicrm/civicrm/packages/HTML/Common.php on line 144
under Joomla and CiviCRM 5.11.0 when running Event Reports -> Attendee Lis...Warning: htmlspecialchars() expects parameter 1 to be string, array given in .../administrator/components/com_civicrm/civicrm/packages/HTML/Common.php on line 144
under Joomla and CiviCRM 5.11.0 when running Event Reports -> Attendee List. There is no longer a Joomla demo site it seems, so cannot reproduce there. It seems linked to an empty custom field value, but I'm not sure which one.![Annotation_2019-03-26_173944](/uploads/9c04afee550912fd2b83f16387d23240/Annotation_2019-03-26_173944.jpg)
A workaround is to test for the value type before attempting to call htmlspecialchars:
if (is_array($value)) {
if (count($value) == 0) {
$value1 = ''; // an empty string
$strAttr .= ' ' . $key . '="' . htmlspecialchars($value1, ENT_COMPAT, $charset) . '"';
}
else {
foreach ($value as $value1) {
$strAttr .= ' ' . $key . '="' . htmlspecialchars($value1, ENT_COMPAT, $charset) . '"';
}
}
}
else {
$strAttr .= ' ' . $key . '="' . htmlspecialchars($value, ENT_COMPAT, $charset) . '"';
}
}
Has anyone any comments?https://lab.civicrm.org/dev/joomla/-/issues/4Joomla admin template cleanup2019-03-05T18:04:33ZnicolJoomla admin template cleanupWhile fixing a recent z-index issue, cleaned up some of the Joomla admin padding, removing empty blocks in both regular and Shoreditch. Details: https://github.com/civicrm/civicrm-core/pull/12956 (edited to update pull #)While fixing a recent z-index issue, cleaned up some of the Joomla admin padding, removing empty blocks in both regular and Shoreditch. Details: https://github.com/civicrm/civicrm-core/pull/12956 (edited to update pull #)https://lab.civicrm.org/dev/joomla/-/issues/6Joomla doesn't recognize user in checking permissions from `cv` - can't send ...2019-04-22T00:47:10ZAndie HuntJoomla doesn't recognize user in checking permissions from `cv` - can't send CiviMailThis is basically [CRM-17968](https://issues.civicrm.org/jira/browse/CRM-17968) continued for Joomla (the late comments show that it was never resolved in 4.7.4 as it was for the other CMSes).
This means that `cv api Job.process_mailing...This is basically [CRM-17968](https://issues.civicrm.org/jira/browse/CRM-17968) continued for Joomla (the late comments show that it was never resolved in 4.7.4 as it was for the other CMSes).
This means that `cv api Job.process_mailing --user=cronuser` will fail with
> API permission check failed for Group/get call; insufficient permission: require access CiviCRM
In this scenario, you can retrieve the Joomla user ID from the session
```php
$userId = CRM_Core_Session::singleton()->get('ufID');
```
but when [a null value is supplied to `JFactory::getUser()`](https://github.com/civicrm/civicrm-core/blob/5.9.0/CRM/Core/Permission/Joomla.php#L69), it doesn't return a Joomla user object.
So, a quick solution is to simply retrieve the user ID from the session and supply it to `JFactory::getUser()`, but that's a hacky workaround. Something isn't working quite right in this scenario.
I think there may be something more fundamental that isn't bootstrapping right.
Unfortunately, that means that the CiviMail scheduled job breaks for a lot of Joomla sites. See related reports:
- https://github.com/civicrm/cv/issues/40
- https://civicrm.stackexchange.com/questions/27661/for-some-reason-cron-doesnt-work-on-cms-joomla
- https://issues.civicrm.org/jira/browse/CRM-17968
- https://civicrm.stackexchange.com/questions/9570/mailings-scheduler-fails-after-upgrade-to-4-7-15.14.0https://lab.civicrm.org/dev/joomla/-/issues/31Joomla language strings not being used2021-08-27T11:24:06ZElin.WaringJoomla language strings not being usedI submitted https://github.com/civicrm/civicrm-joomla/pull/56
which changes the config.xml code to use Joomla language strings and adds the strings to the language folder. This makes them translatable or override-able.I submitted https://github.com/civicrm/civicrm-joomla/pull/56
which changes the config.xml code to use Joomla language strings and adds the strings to the language folder. This makes them translatable or override-able.