Simplify JCal Pro by Hiding the List of Categories in Monthly Calendar

The JCal Pro monthly calendar prominently displays a list of your events' categories by default.

While this is useful in many scenarios, there might be a use case where you'd prefer a cleaner look without the list of your events' categories. If this applies to you, don’t worry—removing the list of categories is possible and straightforward.

In this blog post, you will learn a step-by-step guide for hiding the events' categories list on your JCal Pro monthly calendar.


Why Remove the Category List?

For some users, the category list may not be necessary, especially if:

  • Your events are straightforward and don’t require additional categorization.
  • You’re aiming for a minimalistic calendar design.

For your visual comparison, here is the JCal Pro default monthly calendar page with the events' categories:

event categories list on monthly calendar

And here is the same page without the category list:

monthly-calendar-without-list-of-categories


Steps to Remove the List of Your Events' Categories

You start by accessing your Joomla admin dashboard and heading to the Site Template Styles section.

the site template styles link

Here, you need to identify your active template—the one marked with the yellow star.

the default joomla template

This is the template you will work with to modify how the JCal Pro monthly calendar page is displayed.

Once you have identified which template to override, it's a good time to open its files and create its JCal Pro override.

You need to go to System > Site Templates. This will bring you to the Templates (Templates): Site admin screen. Here you need to click on the title of the template you identified as the default Joomla template in the previous step.

the title of the template

Next, go to the Create Overrides tab and click com_jcalpro > jcal on the Layouts column.

the layouts panel

You will see an "Override created ..." message similar to the one in the next image. Also, your screen will switch to the Editor tab.

the override created message

Excellent! You just created a JCal Pro branch, or, technically speaking, a JCal Pre template override, of your default Joomla template.

Now would be a good time to edit some code to hide the categories of your JCal Pro events on the monthly calendar page.

To achieve this, on the Editor tab, you click html > layouts > com_jcalpro > jcal > categories > legend.php.

the legend php file

This file controls the display of the event categories list. Remove all the code from this file so that it will be empty.

the code of the legend php file

All that is left now is to save your changes, and voilà—the categories list disappears from your calendar.


Conclusion

Removing your events' categories list is a slight change. However, it can greatly affect how clean and user-friendly your JCal Pro monthly calendar page looks.

Whether you aim for a minimalist design or a better user experience, JCal Pro makes it easy to tweak your calendar to fit your needs.