Additional calendar view for the TYPO3 extension news.
Repository: | https://github.com/georgringer/eventnews |
---|---|
Read online: | https://docs.typo3.org/p/georgringer/eventnews/main/en-us/ |
TER: | https://extensions.typo3.org/extension/eventnews/ |
This project forked from cyberhouse/eventnews
TYPO3 CMS Extension "eventnews" for displaying news as event in an calendar
License: Other
Additional calendar view for the TYPO3 extension news.
Repository: | https://github.com/georgringer/eventnews |
---|---|
Read online: | https://docs.typo3.org/p/georgringer/eventnews/main/en-us/ |
TER: | https://extensions.typo3.org/extension/eventnews/ |
Hello,
has anyone an idea how to display the field "Location Simple" in the Fluid Template?
Many Thanks
Hello,
I am getting this error when clicking on a detail view link from the month view : TYPO3 9.5.7, news 7.2.0, eventnews 3.0.0 AND in workspace mode (in live no problem):
SELECT uid_local, uid_foreign, tablenames, fieldname, sorting, sorting_foreign, uid, pid, tstamp, crdate, cruser_id, deleted, hidden, starttime, endtime, description, sys_language_uid, l10n_parent, l10n_state, t3_origuid, l10n_diffsource, t3ver_oid, t3ver_id, t3ver_label, t3ver_wsid, t3ver_state, t3ver_stage, t3ver_count, t3ver_tstamp, t3ver_move_id, title, parent, items, fe_group, images, single_pid, shortcut, import_id, import_source, seo_title, seo_description, seo_headline, seo_text, slug FROM sys_category WHERE (pid = ?) AND (t3ver_oid = ?) AND (t3ver_wsid = ?) AND (sys_category.deleted = 0) LIMIT 1' with params [-1, 4, 1]: Unknown column 'uid_local' in 'field list'
It's a demo site, there is no dev.
If I add uid_local, uid_foreign, tablenames, fieldname, sorting_foreign, in the table just to see the result, I get another similar error with the tx_news_domain_model_news table. So if I add the fields in the table to see the result, then the detail view is ok.
I don't know if it's a tx_news bug or a eventnews bug, I didn't tried from a simple list view.
Rachel
I have an event with start date 15.10. and end date 20.10.
When searching events for 17.10, noting is found.
Is there a way to change this? How?
Example:
http://muster82.md.webseiten.cc/event-news/
If i have an "moredays" event with datetime und eventEnd, e.g.
15. - 18.10. Mitte Oktober Markt,
this is not found in the search Filter if i search for 16.10. - 17.10
It is only found, if 15.10. is filled in as the startdatum
How can i resolve this?
The type of property GeorgRinger\News\Domain\Model\News::isEvent could not be identified, as property isEvent is unknown to the TYPO3\CMS\Extbase\Reflection\ClassSchema instance of class GeorgRinger\News\Domain\Model\News. Please make sure said property exists and that you cleared all caches to trigger a new build of said TYPO3\CMS\Extbase\Reflection\ClassSchema instance.
This error occurs every couple of page loads..
TYPO3 10.4.6
News 8.3.0
Eventnews 4.0.0
I have the same exception as descriped in this closed issue: #15
I have installed the latest release 2.0.1 of eventnews, I have installed news extension 5.3.3 and Typo3 7.6.16 and php 7.1.6.
The frontend rendering does work as it should. But when I want to edit the news-template in the backend this exception is thrown:
../typo3conf/ext/eventnews/Classes/Hooks/FlexFormHook.php in line 24.
What is the problem?
Dear Georg Ringer,
I don't know why but the calendar view is not rendered. I'm getting this error message:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Return value of GeorgRinger\Eventnews\Domain\Model\Dto\Demand::setRespectDay() must be an instance of GeorgRinger\Eventnews\Domain\Model\Dto\void, none returned | TypeError thrown in file /var/www/virtual/dgia.tops.net/htdocs/typo3conf/ext/eventnews/Classes/Domain/Model/Dto/Demand.php in line 165.
Any idea, how this can be make to work?
In the template of the month view the parameters month and year in the link for a day are missing (only day is present). Without these two parameters the day filter does not work.
Currently it is:
<f:link.action action="month" addQueryString="1" additionalParams="{tx_news_pi1:{overwriteDemand:{day:day.day}}}">{day.day}</f:link.action>
But it should be:
<f:link.action action="month" addQueryString="1" additionalParams: '{tx_news_pi1:{overwriteDemand:{year:day.year,month:day.month,day:day.day}}}')}">{day.day}</f:link.action>
Hi,
the latest tagged version 2.1.0 is from last year and there have been a lot of changes and fixes.
Could you please release a new version soon?
Thanks
Daniel
Hi Georg,
I've got some question. Is it possible to list news which last more than 1 day? For example:
News event is 9.04 but eventEnd is 11.04.
When I click on calendar at 9.04 it display on listing. But when I click 10 or 11.04 news listing is empty.
As a german speaking editor I want to have german labels next to the input fields in the backend in order to be able to understand them.
I use News 6.3 and Eventnews 2.1 In the list view in FE there is no Enddate and no Time. I don't know where the Problem is.
Thank you.
Is it possible to add links to the event title in the month view to directly jump to the detail view?
Hello
I wanted to install this extension globally in typo3/ext and then I saw that the FlexForm wasn't working. After I looked into the I saw that the flexform is hardcoded to load from typo3conf/ in eventnews/Classes/Hooks/FlexFormHook.php
Would it be possible to adjust the path to the one that the extension is installed in?
After update eventnews to Version 2.1.0 with timerestriction setting
plugin.tx_news.settings.timeRestriction = now
only articels with endDate set displayed in listView.
Setting up a list view to show up only events results in an empty list, but the backend setting should be correct.
But it brings up the following PHP-Warning:
Core: Error handler (BE): PHP Warning: Declaration of GeorgRinger\Eventnews\Hooks\BackendUtility::updateFlexforms(&$params, &$reference) should be compatible with GeorgRinger\News\Hooks\BackendUtility::updateFlexforms(array &$dataStructure, array $row) in /html/typo3/typo3conf/ext/eventnews/Classes/Hooks/BackendUtility.php line 51
System-Environment:
TYPO3 CMS 7.6.18
PHP Version 7.0.15
news 6.0.0 (also news 5.3.3)
eventnews 1.1.1
-- OTHER SCENARIO --
Setting up a Searchform-Element and a SearchResult-Element from the news-Extension doesn't show any events in the result-list when searching.
A Database-Query-Debug showed, that it searched only for entries with "is_event=0".
Is there any possibility to set up searching also for events or only events?
System-Environment:
TYPO3 CMS 7.6.18
PHP Version 7.0.15
news 6.0.0 (also news 5.3.3)
eventnews 1.2.0
P.S.:
It all works with:
TYPO3 CMS 7.6.11
PHP Version 7.0.9-pl0
news 5.3.3
eventnews 1.1.1
https://github.com/georgringer/eventnews/blob/master/Documentation/NeedSupport/Index.rst#you-need-support rendered as
https://docs.typo3.org/typo3cms/extensions/eventnews/stable/NeedSupport/Index.html#you-need-support
contains a link to the forge project https://forge.typo3.org/projects/extension-eventnews/ which no longer is available. The link should be changed to https://github.com/georgringer/eventnews/issues
After update from eventnews from 3.0.0 to 4.0.0, the eventRestriction value is not preselected with the correct value. After analysing the problem, I found out that the flexfrom xml structure has changed. The eventRestriction is now in a sheet extraEntryEventNews.
If the plugin will be edit from an editor and forgot to set the value of eventRestriction new. The plugin does not work correct anymore in frontend.
Is an updatescript planned?
Dear Georg,
I am using typo3 7.6.23, news .6.1.1 and I tried to use eventnews 2.1.0
After this, no news entry is shown at all.
Ok, I found in another Issue to set in the Typscript plugin.tx_news.settings.overrideFlexformSettingsIfEmpty := removeFromList(eventRestriction)
After this, events and normal news are shown again.
But I am using a user object to show some events with this typoscript:
`lib.news = USER
lib.news {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = News
pluginName = Pi1
vendorName = GeorgRinger
switchableControllerActions {
News {
1 = list
}
}
#settings < plugin.tx_news.settings
settings {
categories = 10, 11
categoryConjunction = or
limit = 2
detailPid = 103
overrideFlexformSettingsIfEmpty := addToList(detailPid)
startingpoint = 19
templateLayout = 99
orderBy = datetime
orderDirection = asc
archiveRestriction = active
}
}`
It did work with 1.2.0 but with 2.1.0 it only says "no news in this category"
Any idea why this is not working anymore?
Best regards,
Jürgen
27.10.2019 is when daylight saving time will switch. In the list view events on that day are visible, in calendar view not.
PHP 7.2
T3 8.7.24
news 7.0.8
eventnews 3.0.0
Same behavour also on instances with earlier versions of ext.
Best regards,
Oliver
Dear Georg
Are there any plans to make this extension compatible with TYPO3 9?
If not, would you be interested to publish it, if someone made it compatible?
Regards
Tizian
Hi
How do I change the eventnews detail view to show the event location and organizer of a eventnews record?
I cannot figure in out.
Thanks.
Regards,
Tony
Hi,
I updated TYPO3 from 6 to 7.6.18 (everything is fine) an news to the latest version 6.0 (working). After installing eventnews 2.0 I get the following error if I try to open the news-plugin in backend:
Unsupported operand types
Error thrown in file
/html/typo3-pointblog2/typo3conf/ext/eventnews/Classes/Hooks/FlexFormHook.php in line 24.
...
If I go back to eventnews 1.2 I can open the plugin without an error.
(Tested with PHP 5.6 and 7.1)
I am testing eventnews 3.0.0 from TER with News 7.1.0 and so far it seems to work fine except categories list for filters in a Month view. Fluid template iterates over {allCategories} variable but this is empty in my case, even though I have two events with categories set up properly (and I can see existing categories in list view below after modifying the template).
I tried to debug further but couldn't get phpStorm to debug eventnews controller. Any hints on what might be a reason here?
There's an event with start date: 19:00 20-03-2020
and end date: 14:00 08-05-2020
In the month view it properly shows up on all days (20th and up) in the actual month (march) and is listed in the side list for the events of this month. But switching to april or may (or further) the event is not listed anymore. It seems that the end date is not taken in to account when selecting all events to be displayed of the actual month.
HTH
TYPO3 9.5.13
news 7.3.1
eventnews 3.0.0
Dear Georg,
do you plan on releasing version 3.0.0 to TER?
Regards
Tizian
When a day is selected in month view (in the standard template the arguments for year and month are missing, otherwise it doesn’t work, see my other opened issue) for filtering, the month view should not filter the day because it displays a whole month and a user could think that on the other days there are no events (only in list view the day should be filtered, in month view only month and year).
The datetime constraint is first set if a year is given,
but then overwritten in the same method with values for getSearchDateFrom and getSearchDateTo or worse with PHP_INT_MIN
and PHP_INT_MAX
.
So if nothing is set for these fields, the constraint selects all events instead of the ones of the currently selected month (correctly set in the first part of the method).
I don't get the usage of PHP_INT_MIN and PHP_INT_MAX as fallback values here. Wouldn't it be better to just ignore modifying/setting the constraint if these values are empty (as I did in my local override now to fix this behaviour)?
The DayCompareViewHelper sets the time of eventEnd to 23:59:59 and the time of the datetime to 00:00:00. This affects the original object because objects are passed by reference.
Actually it's not possible to install eventnews with the actual stable version of georgringer/news (7.x.x)
Hi Georg,
currently try to update to latest News version and as well to latest eventnews version.
UNfortunately, I am facing the problem, that my template does not work anymore as expected.
<f:if condition="{newsItem.isevent}"> is not working. It seems, that isEvent does not exist.
As well newsItem.eventEnd does not exist.
Is there a solution for this?
BR
Jürgen
Hello Georg
on the updated version there are still some TCA migrations that need to be applied.
Can you please adapt them?
Thanks.
Regards,
Angelo
The icon path of wizard "link" from TCA table "tx_eventnews_domain_model_organizer['columns']['link']['config']['wizards']['link']['icon']"has been migrated to tx_eventnews_domain_model_organizer['columns']['link']['config']['wizards']['link']['icon']" = 'actions-wizard-link'.
The TCA setting 'versioningWS' was set to a boolean value in TCA tx_eventnews_domain_model_location['ctrl']['versioningWS']
The TCA setting 'versioning_followPages' was removed as it is unused in TCA tx_eventnews_domain_model_location['ctrl']['versioning_followPages']
The TCA setting 'versioningWS' was set to a boolean value in TCA tx_eventnews_domain_model_organizer['ctrl']['versioningWS']
The TCA setting 'versioning_followPages' was removed as it is unused in TCA tx_eventnews_domain_model_organizer['ctrl']['versioning_followPages']
The TCA setting 'mergeIfNotBlank' was removed in TCA tx_eventnews_domain_model_location['columns']['starttime']['l10n_mode'] and changed to tx_eventnews_domain_model_location['columns']['starttime']['config']['behaviour']['allowLanguageSynchronization'] = true
The TCA setting 'mergeIfNotBlank' was removed in TCA tx_eventnews_domain_model_location['columns']['endtime']['l10n_mode'] and changed to tx_eventnews_domain_model_location['columns']['endtime']['config']['behaviour']['allowLanguageSynchronization'] = true
The TCA setting 'mergeIfNotBlank' was removed in TCA tx_eventnews_domain_model_organizer['columns']['starttime']['l10n_mode'] and changed to tx_eventnews_domain_model_organizer['columns']['starttime']['config']['behaviour']['allowLanguageSynchronization'] = true
The TCA setting 'mergeIfNotBlank' was removed in TCA tx_eventnews_domain_model_organizer['columns']['endtime']['l10n_mode'] and changed to tx_eventnews_domain_model_organizer['columns']['endtime']['config']['behaviour']['allowLanguageSynchronization'] = true
The TCA setting ['ctrl']['requestUpdate'] was removed from table tx_news_domain_model_news. The column field(s) "" and "is_event" were updated and contain option "'onChange' => 'reload'" parallel to 'config' and 'label' section.
The TCA setting 'renderType' => 'inputDateTime' was added in TCA tx_news_domain_model_news['columns']['event_end']['config']
The TCA setting 'renderType' => 'inputDateTime' was added in TCA tx_eventnews_domain_model_location['columns']['starttime']['config']
The TCA setting 'renderType' => 'inputDateTime' was added in TCA tx_eventnews_domain_model_location['columns']['endtime']['config']
The TCA setting 'renderType' => 'inputDateTime' was added in TCA tx_eventnews_domain_model_organizer['columns']['starttime']['config']
The TCA setting 'renderType' => 'inputDateTime' was added in TCA tx_eventnews_domain_model_organizer['columns']['endtime']['config']
The link wizard has been migrated to a 'renderType' => 'inputLink '. It has been migrated from TCA table "tx_eventnews_domain_model_location['columns']['link']['config']['wizards']['link']" to "tx_eventnews_domain_model_location['columns']['link']['config']['renderType'] = 'inputLink'".
The link wizard has been migrated to a 'renderType' => 'inputLink '. It has been migrated from TCA table "tx_eventnews_domain_model_organizer['columns']['link']['config']['wizards']['link']" to "tx_eventnews_domain_model_organizer['columns']['link']['config']['renderType'] = 'inputLink'".
The config option 'max' has been removed from the TCA for renderType='inputDateTime' in tx_eventnews_domain_model_location['columns']['starttime']['config']['max']
The config option 'max' has been removed from the TCA for renderType='inputDateTime' in tx_eventnews_domain_model_location['columns']['endtime']['config']['max']
The config option 'max' has been removed from the TCA for renderType='inputDateTime' in tx_eventnews_domain_model_organizer['columns']['starttime']['config']['max']
The config option 'max' has been removed from the TCA for renderType='inputDateTime' in tx_eventnews_domain_model_organizer['columns']['endtime']['config']['max']
news: 7.3.1
eventnews: 3.0.0
typo3: 8.7.30
If an event with a date range exceeds the month limit, only the days of the starting month are shown in the calendar. For instance we try to show an event "summer holidays" where only the days in june are shown in the calendar.
My timeRestriction for events is just showing results with an enddate.
Analogous to actions in EXT: news
I want to set up a view showing all events between a specified date range.
GeorgRinger\Eventnews\Controller\NewsController->monthAction(..)
has a parameter \GeorgRinger\Eventnews\Domain\Model\Dto\SearchDemand $search
.
So I guessed when requesting an event news plugin page with parameters
http://example.com/eventcalendar?tx_news_pi1[search][minimumDate]=2021-01-01&
tx_news_pi1[search][maximumDate]=2021-12-31
it would be possible to query for arbitrary date ranges.
But TYPO3 throws the following exception:
#1355155913 TYPO3\CMS\Extbase\Property\Exception\InvalidPropertyMappingConfigurationException
It is not allowed to map property "maximumDate". You need to use $propertyMappingConfiguration->allowProperties('maximumDate') to enable mapping of this property.
When setting the Event End date to emtpy the following sql error is shown and the changes in this field are discarded.
2: SQL error: 'Incorrect integer value: '' for column 'event_end' at row 1' (tx_news_domain_model_news:49)
When translating a news without organizer or location, I get the same error:
2: SQL error: 'Incorrect integer value: '' for column 'organizer' at row 1' (tx_news_domain_model_news:418)
When I create a new record in the language I want to translate to and set "Transl.Orig" to the original record in default language, the translation works. But this workaround is not very practicable.
I'm using the TYPO3 8.7.10 and the latest eventnews version 2.1.0
Any help/hints would be greatly appreciated.
There are some smaller inconsistencies I experienced with calendar view.
Days of month before are not displayed in Calendar, but days of month after.
Events of days of month-after are not displayed, these days are not marked either.
When i do not set the timeRestriction (time limit (LOW)) in the plugin all events are shown, wether they are older or newer then the actual date.
When i use time limit - for instance "-1 days" for events without an end date, then all works as expected:
Start date: 29. May 2020
End date: ---
Time limit in plugin: -1 days
Given result: the event is shown until 30. May 2020.
But for events with an end date it does not work as expected:
Start date: 29. May 2020
End date: 31. May 2020
Time limit in plugin: -1 days
Given result: the event is shown until 30. May 2020.
Expected result: the event is shown until 1. June 2020
TYPO3: 9.5.18
news: 7.3.1
eventnews: 3.0.0
Hello,
Eventnews 3.0.0
news 7.3.1
Typo3 9.5.13
file: Month.html
I hope you can help me solve the translation issue I have.
Where can I change the month view calender browser "next" and
"previous" month names to another language. I cannot get Dutch months translation working. Dutch is the default language. and I'm sure it is congifured correctly, but the month names are only shown in English
The news date view"" pluging uses the Dutch language without any issues.
I am unable to fine where the translations are for this code:
{f:format.date(date:nextMonthData.date,format:'%B %Y')}
Thanks.
Regards,
Tony
After copying the "Month.html" from this path: "public\typo3conf\ext\eventnews\Resources\Private\Templates\News\Month.html"
To this path: "public\typo3conf\ext\news\Resources\Private\Templates\News"
Without this i was getting this error: "Sorry, the requested view was not found. The technical reason is: No template was found. View could not be resolved for action "month" in class "GeorgRinger\News\Controller\NewsController"."
I was able to get the calendar view for my events, but the start date and end date is missing from the view like this:
Is it possible to have a field visible or changed icon in backend News list? It would be great if there was any kind of notification visible. If it's not possible already and it's not a lot of work, I might have a client interested in sponsoring this feature.
I am using eventnews 3.0.0 and the route enhancer of the news extension. Everything works fine, with one problem. The previous/next month link (above the calendar) is put together from the page url plus the year/month, and leads to a 404 exception, as this page does not exist. Is there a workable route enhancer for eventnews available?
Hi,
since the last update, the flexform field "eventRestriction" is missing in the plugin.
I'm using Typo3 9.5.3.
Thank you for your help!
D.
Hi,
When i duplicate a news record (copy/paste), i get a SQL error !
SQL error: 'Incorrect integer value: '' for column 'organizer' at row 1' (tx_news_domain_model_news:NEW5bab73b822475603994050)
Hi Georg
if the EXT:eventnews gets installed together with the EXT:news the Analyze Database Structure in the Install Tool cann not be executed due to an Ajax Error. See printscreen.
Furthermore there are a lot of deprecated error messages coming from the EXT:news also.
Composer: No
TYPO3: 9.5.4
EXT:news: 7.0.8
EXT:eventnews: 3.0.0
PHP: 7.1
Linux
Is this error related to the extension OR the the TYPO3 Core?
Thanks for your feedback.
Best regards,
Angelo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.