Every person has his or her preferences. A content management system like Joomla, cannot fulfil every one of these preferences. Many functions are offered in a way that is good for most people. When working with Cassiopeia and Joomla, there are things that can be individually extended or customized for you.
Below I show how to create a login menu item that is only shown to users who are not yet logged in. Once they have logged in, they will see the Logout menu item instead. So: How do you set up login and logout links in Joomla so that the Login menu item is automatically replaced by Logout as soon as someone has logged in, and vice versa?
First we create the login. To do this, open the menu manager via the left sidebar. Open 'Menus | All Menu Items' and click the 'New' button in the toolbar to create a new menu item. Select the type 'User | Login Form' for the menu item. It is also important that you change the default group 'Public' to 'Guest' for access. This will cause the menu item to be displayed only to not logged in users. Select all other settings as it suits your environment and save the menu item.
Next we create the logout link. You are still in the menu manager, right? Otherwise open it via 'Menus | All Menu Items' in the left sidebar. In the menu manager, click the 'New' button in the toolbar again to create a new menu item. Select the type 'User | Logout' for the menu item. It is also important that you replace the default group 'Public' with 'Register'. This causes the menu item to be displayed only to logged-in users. Choose all other settings as it suits your environment and save the menu item.
Finally, we test whether everything works correctly. Do you see the login menu item when you open the website? Is the logout menu item hidden at the same time? Does the logout menu item appear when you are logged in? Does the login menu item disappear after you have successfully logged in?
Does switching not work as expected? In this case, check a setting in the global configuration. To do this, click on 'System' in the left-hand sidebar and then on the link 'Global configuration' in the right-hand area. Make sure that
Guest User Group is set to
Joomal offers a number of different editors. Each editor offers advantages, but also has disadvantages. Under certain circumstances, you may not want to use an editor at all.
When I write article texts in the Joomla backend, I like to use the TinyMCE because it provides a toolbar that helps me to do simple formatting. At the same time, I like to look at the HTML source code with syntax highlighting. This makes it much easier to read all HTML tags and CSS classes. Markup is clearly displayed. Syntax highlighting is implemented in codemirror[^codemirror.net]. The TinyMCE does not offer this under Joomla in early 2022.
The editor can be set in the global configuration. Alternatively, you can set it individually for a user in the User Manager. While entering an article text, switching to the global configuration or the user manager is cumbersome. That's why I love the plugin Editor Switcher by Bakual[^github.com/bakual/editors_switcher].
After installing and activating it, I set the Switcher as the default editor for my user.
Editor Switcher | Edit Style in the Joomla administration area](/images/switcherbackenduser.png)
It is then possible to switch the editor while writing a text in the Article Manager. It is not necessary to switch to another configuration area. Only a buffering is necessary.
Since February 2022, i.e. as of Joomla 4.1, code in the integrated TinyMCE editor is provided with syntax highlighting. In addition, it is via buttons on the bottom of the pop up possible to search and replace directly in the HTML code view.
Syntax-Highlighting in the integrated TinyMCE-Editor
Option to activate the editor button:
You can clearly see it: Joomla 4 has been worked all around with Accessibility in mind. Both standard templates, frontend and backend, are accessible and comply with level AA of WCAG 2.1[^w3.org/tr/wcag21/]. WCAG 2.1 complements WCAG 2.0 and is the web standard for digital accessibility that is mandatory for public bodies in the European Union.
The WCAG 2.0 guidelines are technical rules. A website is considered accessible if it complies with these rules.
As the owner of a website, it makes sense to decide in the planning phase where the website should be accessible. The system one chooses for the creation of the website application should be suitable. Joomla offers good conditions in this context.
Accessibility is important for many reasons. Public authorities around the world are pushing for online content to be accessible to all, and there are heavy fines for companies that don't comply with these laws.
But: Foremost accessibility is about values and treating all people equally. It's about people with disabilities not having to rely on others to do simple things like read a website.
In addition, an accessible website is also easier for machines to read. For example, a search engine can more easily read and correctly offert correct search results if the content is accessible.
There are the inbuilt accessibility plugins Joomla Accessibility Checker and Additional Accessibility Features, you can enable them in your plugin manager.
The System Plugin Joomla Accessibility Checker visually highlights common accessibility and usability issues. Geared towards content authors, the plugin identifies errors or warnings and provides guidance on how to fix them.
If you activate the first option, the accessiblity checker is loaded on all pages. This is useful when developing the website but should not be left on when the website is live.
You can check the accessibility of your content via a button in the toolbar when creating a post.
If you want to examine several articles one after the other, it is more convenient to work in the frontend. This is possible via a button in the lower right area.
View project website and demo joomla-projects.github.io/joomla-a11y-checker/.
This plugin adds an accessibility toolbar to your site with additional accessibility options. Once enabled the toolbar can be opened. You can choose whether you want to display the accessibility toolbar: It can be enabled on either Joomla backend, frontend, or both.
This plugin adds an accessibility toolbar to your site with additional accessibility options. Once enabled shows it the Accessibility icon on the bottom left corner of every page of your website. Click on the icon for using the additional accessibility features.
This plugin gives the user ability to a variety of things including
- Increase Text Size
- Decrease Text Size
- Increase Text Spacing
- Decrease Text Spacing
- Invert Colours
- Grey Hues
- Underline Links
- Big Cursor
- Reading Guide
- Text to Speech.