Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendarized News not displayed in the month Grid view #18

Open
shortyxs opened this issue Jun 21, 2022 · 4 comments
Open

Calendarized News not displayed in the month Grid view #18

shortyxs opened this issue Jun 21, 2022 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@shortyxs
Copy link

As the headline says it, we have added a calendarize entry to a news entry.

It is shown nicely in the calendarize list view but not shown in the month- or week gridview or md_fullcalendar.
The news Entry has the same category and the same storage as the calendarize plugin.

Can you give us any hint, if we are doing something wrong?
Thanks

@cdaecke cdaecke added enhancement New feature or request help wanted Extra attention is needed labels Jun 28, 2022
@cdaecke
Copy link
Owner

cdaecke commented Jun 28, 2022

For the moment this extension supports only entries of the ext:calendarize itself.

See:

if ($el->getUniqueRegisterKey() === 'Event') {
$uri = $this->uriBuilder
->reset()
->setTargetPageUid((int)$this->settings['pid']['defaultDetailPid'])
->uriFor(
'detail',
['index' => $el->getUid()],
'Calendar',
'calendarize',
'calendar'
);

Pull request are very welcome.

@shortyxs
Copy link
Author

Thanks for the feedback, unfortunately out team has no software developers, I'm just a Sysadmin.
Hopefully there will be somebody that can implement this feature.

@cdaecke
Copy link
Owner

cdaecke commented Nov 9, 2022

With release 3.0.2 entries of ext_news are shown as well.

@cdaecke cdaecke closed this as completed Nov 9, 2022
@shortyxs
Copy link
Author

Thank you very much for the implementation. I updated the extension today. It works almost great ;-)
I guess I found a bug. The entry is shown correctly in the overview but I can't click it for details.

I compared the link to the Calendarize news entry and Calendarize uses the correct settings.
Fullcalender is trying to use the url path to the calendar instead of the url path to the news detailview. That leads into an error.

You can see the result at https://www.radio-zoom.de/radio/sendeplan/ we have a news entry scheduled to December 21st at 8pm
recurring on December 25th.
I still have the modal view disabled.

I did not find any Typoscript to tell Calendar.io extenstion where to finde news single view but it is set for News and Calendarize is grabbing the correct settings for example in the list view.

@cdaecke cdaecke reopened this Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants