Skip to main content

What's new in Joomla 4.1?

A new minor update (version 4.1) in the Joomla 4 series was released in February 2022. In this article I will show you all the improvements and new features that this version brings.

If you have not worked with Joomla 4 before, but you are familiar with older versions of Joomla, I recommend that you read the article"What's new in Joomla 4.0" first.

When will Joomla 4.1 be released?

The stable version of Joomla 4.1 was released on Feb. 15, 2022.

Code improvements.

As with every update, there are improvements and optimizations in the code. These are not always immediately noticeable when managing a website or building a new one, but these improvements are no less important to the project than the new features that are added. For a complete list of all the changes, check Joomla's public Github repository.

Jooa11y

Jooa11y is a plugin that makes many accessibility issues visually visible to the site administrator. Here you can think of headings that are in the wrong order (H1, H4, H2) or a forgotten alt tag to an image that makes it not always clear to screen readers what the image says. The articles will be checked on about 50 points and when there is an error or a warning, it will be clearly visible. Read more about jooa11y - The Joomla Accessibility Checker plugin

Some examples are:

jooa11y leesbaarheid

 

joomla41 jooa11y link

 

joomla41 jooa11y afbeelding

 

joomla41 jooa11y hoofdletters

 

I wrote a complete knowledge base article about this plugin. read more about jooa11y - The Joomla Accessibility Checker plugin

Scheduled Tasks (Cronjobs).

1 of the other major additions is the management of cronjobs within Joomla. Because not every hosting party offers this by default, you were then assigned to external services.

Now you can also solve this within your Joomla environment via System " Manage " Scheduled tasks.

You can create a task that is performed at the times you want, without having to manually press the button. For example, you can think of the daily import of new articles into your Joomla shop.

There are already some plugins ready that can help you further, e.g. checking and resizing images in a certain folder.

joomla41 cronjob edit

joomla41 cronjobs

Child templates

When you want to make a modification in a component or module you can use overrides. With templates this was not possible. You always had to copy and rename the whole template, otherwise your changes would be lost in an update. In addition, you had to go through the entire code to change the name, not very convenient.

In Joomla 4.1 Child Templates are introduced. These Child Templates can be used for both website templates (such as Cassiopeia) and management templates (such as Atum).

To create a child template go to System " Templates " Website or Management templates (do not confuse this with template styles) and click on the desired template.

Click the "Child Template" button in the upper left corner and give your template a new name. A new folder called "/templates/main-template_childtemplate" will be created automatically, containing an xml file with the name of the Child Template, your name as author and the date when you created the template.

You can modify the information in the xml file and copy the files you want to modify from the main template to the Child Template. Any files not in the Child Template are automatically loaded from the main template.

joomla41 childtemplates

Customizing colors in Cassiopeia

The default Joomla template Cassiopeia comes with two color schemes, standard and alternative. When you edit a color scheme your changes will be undone on update. In Joomal 4.1 you get the option to add additional color schemes.

Just create a css file in the folder media/templates/site/cassiopeia/css/global with a name like for example: custom_colors_orange.css and you can select your color scheme in the cassiopeia template.

joomla41 template kleuren

Force 2 Factor Authentication for a User Group

The use of 2 factor authentication could already be forced for all users who had access to the website and/or the administration area, but from Joomla 4.1 you can also force the use for one or more specific user groups.

To do this, go to the Users " Manage " options page and select "Force two-step authentication" for the website (frontend), admin (admin area) or both and then the option to choose a user group appears.

This way you can, for example, force only Super Users to use this extra security.

joomla41 2factorauthenticatie gebruikersgroepen

Icons in menu item

Until now, a menu item could consist of a title or an image (whether or not followed by the title of the menu). An option has been added to be able to add icons to the menu as well.

For example, if you want the menu item of your homepage to consist only of a house (fontawesome), in the menu item " tab "Linktype" " option "Link icon class" add the text fas fa-home and change "Show menu item title" to NO.

joomla41 menu iconen optie

In the cassiopeia template menu, this then looks like this:

joomla41 menu iconen frontend

Giving registered users rights to add new images

Normally, a registered website visitor does not have rights to add or modify anything. In this user's profile, however, you could add a media field so he can upload his picture there.

To still allow the visitor to add a photo, an option has been added to: Content " Media " Options " Rights. You can now allow or deny the "Create" option by access level.

joomla41 media rechten

Images in search results

In joomla 4 only the smart search system is still used. From Joomla 4.1 it is possible to show images in the search results.

At the moment it is only applied to articles with an intro text image, but other extensions can also start using this option.

joomla41 afbeeldingen in zoekresultaten

Microdata / SEO improvements in the breadcrumb trail

The JSON-LD format is the recommended format for breadcrumbs. As of Joomla 4.1, this will therefore be the default. This change makes the HTML code cleaner because the data is moved to a script in the head of the page.

Another advantage of this change is that the current page is always added to the data. Until now, this was not the case when the "hide last item" option is active.

 

Turn descriptions on/off in the general settings

In Joomla 3, the fields in the general settings were described in a tooltip. Since these tooltips do not meet the requirements of an accessible website, these descriptions in Joomla 4 moved to a text below the field.

This led to an impractical interface because some fields required a lot of text to explain how to use it. These texts were therefore removed in Joomla 4 because it was not always relevant to users familiar with the system. Unfortunately, this approach made Joomla even less accessible to newcomers.

Nicholas K. Dionysopoulos (known from Akeeba) added the ability to turn these descriptions on or off in the general settings through a button at the top right of the page.

joomla41 veldomschrijvingen uit

joomla41 veldomschrijvingen aan

Tags have been added to the quick icons

When you log in to the administration area of Joomla 4, you see several quick icons in the main screen, for users and articles, among other things. From Joomla 4.1 is here the option for tags added. This can be enabled via the cog icon in the upper right corner of the shortcuts.

joomla41 quickicon tags

Want more flexibility in your shortcuts? For this I have created a free custom quick icons module and I tell you more about it in the Joomla magazine of November 2021

Save as copy when editing in the frontend

When you want to edit an article in the frontend, in Joomla 4.1 you now also have the option to save the article as a copy. This option allows you to create a new article based on the data of that article being edited.

joomla41 opslaan als kopie

Tinymce improvements

The following improvements have been made to the Tinymce editor that comes with a Joomla installation by default. If you are using another editor such as JCE, these changes will not apply.

Text with multiple languages in Tinymce

Screen readers can read text in different languages, but for that it is important that you indicate to the screen reader which piece of text should be read in which language. This seems logical. For example, if you have English terms read out by a Dutch-speaking screen reader, it can become a very unclear text.

The solution is to give specific terms or pieces of text in another language the correct language tag. This can be done in the Tinymce editor of Joomla 4.1

joomla41 tinymce taal

HTML5 containers in Tinymce

This customization in the standard editor adds the ability to highlight your content with article, aside and section which are important landmarks for the author of the page.

joomla41 tinymce html5containers

Syntax highlighting in Tinymce's source code

When you look at the code of an article or module in the editor, you will see that it is no longer shown as standard text but colors have been added, which you can recognize from different editing programs. This makes the text easier to read and faster to edit.

joomla41 tinymce broncode

Absolute time display in User action log

Until Joomla 4.1 it was only possible to display a relative time in the user action log.

Now under Users " User action log " Options you will see the option to also display these actions as absolute time. This can be useful when, for example, you want to create an export of all your activities for the client.

Relative view:

joomla41 actionlog relatief

Absolute view:

joomla41 actionlog absoluut

Saving contacts in menu

In Joomla 4.0 the option "save to menu" was introduced for articles. This way you can now create menu items faster and easier. In Joomla 4.1, this option is now also available for contacts. When you have created and saved a contact you can directly create a menu item for this person via this op.

joomla41 contactpersonen opslaaninmenu

Web Services media options

Are you already using the Web Services (API) of Joomla 4, then there in Joomla 4.1 a number of new options added that relate to retrieve, save, modify and delete media / images.

The End Points to be used are:

GET {{base_path}}/api/index.php/v1/media/adapters
GET {{base_path}}/api/index.php/v1/media/adapters/{id}
GET {{base_path}}/api/index.php/v1/media/files/{path}
POST {{base_path}}/api/index.php/v1/media/files
PATCH {{base_path}}/api/index.php/v1/media/files/{path}
DELETE {{base_path}}/api/index.php/v1/media/files/{path}

In short, great new things and improvements await us in the new Joomla 4.1 version.

How can I update to Joomla 4.1?

If your website was created in Joomla 4, you can update with one click. If you still have a Joomla 3 version (or even older) then you need a migration. You can read more about this in the article"What's new in Joomla 4.0?"

 

Need help updating to Joomla 4?

Joomla upgrade service

Was this helpful? Share it with your friends!

About Jeroen

I have been working with the Joomla! CMS since 2006. Besides building and maintaining Joomla! websites and webshops, I am also familiar with search engine optimization (SEO), Joomla hosting and developing templates and extensions. Furthermore, I am a frequent visitor and speaker at JoomlaDays and various Joomla user groups.

I am committed to the Joomla! community as a member of the Extensions Directory team and the organization of Joomla user group Breda and JoomlaDagen Netherlands. In short: Are you looking for a Joomla Specialist, you should contact me!