Skip to main content

#226 Can it work independently from component area on same page?

Posted in ‘Calendar Filter’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information (available for public)

PHP version
8.4

Latest post by b2z on Monday, 23 March 2026 12:24 EET

acausade
Hi

I really like your calendar filter and would love to start using it for my projects that show all events on certain dates. I have the following problem:


The default calendar is on the home page and on lots of other pages.

The calendar gets articles with date custom field from default category 'събития' (events).

I need the calendar to work independently of what is in the component area of that page.

For example opn the home page I have a welcome message in the category 'standard' but a click on a date in the calendar then shows all the articles in category 'събития' (events) instead of just the articles with that date.

As far as I can see it only works correctly (for my case) if there is a category blog or list from the same category on the same page.

I understand it is a filter but it is really restricting meaning i can only have the calendar on pages where there is a category blog or list from that same category.

Is there any way to show the calendar independent of the component area and then redirect to a separate page on click of date?

Thanks for your time - it would be brilliant to be able to use it - very simple, clean and efficient

Andy

b2z
Hi Andy!

It should work as you have described!

To clarify. The logic of the module is to have a category ID parameter in the URL. Module filters by the concrete category. It can work on the single article page. The code is quite simple:

$catid = $params->get('catid', 1);

if ($option === 'com_content' && $view === 'category') {
$catid = $input->getInt('id');
} elseif ($option === 'com_content' && $view === 'article') {
$catid = $input->getInt('catid', $catid);
}

The module gets the default category from the module settings.
If view=category (blog) then it takes id from URL.
If view=article (single page) then it takes catid from URL, but if not found, then it gets the default category from the module settings.

I an not sure why it does not work in your case - shows all the articles in category 'събития' (events) instead of just the articles with that date. Is seems that filtering does not work.

Is "System - Calendar Filter" plugin published? It is responsible for filtering.
If it is published, it would be good if you can provide FTP access to your dev site for debugging. Just update the Credentials section (it is not visible for public).

Kind regards,
Dmitrijs

System Task
system
The ticket information has been edited by ANDREW RICHARDS (acausade).

b2z
Do you allow to install Phoca Commander to access site files?

Kind regards,
Dmitrijs

acausade
Yes no probs

b2z
I found the problem - when there is no menu item for a category then view=category does not work anymore :( And there is a check in the system plugin for a view.
Not sure why there is no view parameter in URL in such case, but anyway I made a small fix to resolve this issue. Now it works as expected.


Kind regards,
Dmitrijs

acausade
Hi Dmitrijs!

Ah I see. I had not set up a menu item for category as just wanted to test quickly on a new install.

Have tested briefly and so far looks great! I'll test again soon

Thanks for all your help and patience!

Andy

b2z
Hi Andy!

Glad that we have solved it.

If you are happy with our support and our extension, we would be grateful if you took the time for a small review on Trustpilot or at the JED
https://www.trustpilot.com/review/norrnext.com
https://extensions.joomla.org/extension/calendar-filter

I am closing the ticket. Should you still experience problems, please open a new support ticket.

Kind regards,
Dmitrijs
Support information

Support hours: You can get our help: Monday - Friday / 09:00 to 17:00 (GMT+3), but not limited. Our staff is pleased to provide Premium support to every paid subscriber asap, but sometimes you should be ready to wait for our reply for up to 3 days.


Our time: / Your time:

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. We also ask you to remove temporary credentials at your site after the problem is resolved. Thank you.

Support of free extensions is not provided on this forum. Please submit your questions or report issues via Github tracker. See link on the product page.