GithubHelp home page GithubHelp logo

georgringer / eventnews Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cyberhouse/eventnews

27.0 9.0 60.0 381 KB

TYPO3 CMS Extension "eventnews" for displaying news as event in an calendar

License: Other

PHP 92.83% HTML 7.17%
typo3-extension news

eventnews's Introduction

eventnews's People

Contributors

adamkoppede avatar buepro avatar cepheivv avatar derhansen avatar dhuf avatar georgringer avatar jacobsenj avatar josefglatz avatar jschrewe avatar julianhofmann avatar kaystrobach avatar kitzberger avatar liayn avatar linawolf avatar lorenzulrich avatar marvinschroeder avatar mschmitz89 avatar pixeldesu avatar pkuhlmay avatar rvkammen avatar rvollebregt avatar schugabe avatar severinkaderli avatar sgrossberndt avatar skrude61 avatar stephankellermayr avatar stigfaerch avatar tillhoerner avatar tobenschmidt avatar xerc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eventnews's Issues

GeorgRinger\News\Domain\Model\News::isEvent could not be identified

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

calendar issue if event exceeds end of month

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.

Events on 27.10.2019 will not be shown in calendar view

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

Release new version

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

allCategories empty

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?

Marking events in backend

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.

DayCompareViewHelper overrides event times

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.

Frontend gets no results if choosing sys folder from events

If you add a Plug-In with EXT:news and you configure the SYS folder to the one where the events gets saved the FE gets no output. I think there is missing a pulldown in the Plug-In to choose that we want to show only events like in the printscreen below.

screenshot_2

Regards,
Angelo

Wrong dependencies TYPO3 version

Hi Georg

The dependencies by installing the EXT:eventnews isn't for TYPO3 CMS version 8.7 and higher.
We got an dependency error by installing it on a 8.7.1

screenshot_1

Regards,
Angelo

Add german translation

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.

Route Enhancer

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?

Typo Object Script not working anymore

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

How to list event news within a date range?

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.

Inconsistent behaviour

There are some smaller inconsistencies I experienced with calendar view.

  1. Days of month before are not displayed in Calendar, but days of month after.

  2. Events of days of month-after are not displayed, these days are not marked either.

Error: Unsupported operand types

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)

Error in Install-Tool if extension is installed on Analyze Database Structure

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

error-eventnews-compare

Place "Date & Time" and "Enddate" next to each other

As an editor I want to see the fields "Date & Time" and "Enddate" next to each other in order see them both when editing the event date.

Currently the "Startdate" (Date & Time) field is placed quite bit below the Enddate, it would be great to have it the other way round.

bildschirmfoto 2019-02-08 um 10 59 17

Incorrect integer value

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.

datetime constraint overwritten in Hooks\AbstractDemandedRepository::updateEventConstraints

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)?

Duplicate News - SQL Error

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)

Compatibility with TYPO3 9

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

Condition isEvent not working anymore

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

Problem with Enddate/Time

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.

TCA migrations that need still to be applied

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']

events with an end date beyond the monthly limit don't show up in the following month

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

FlexForm not loaded when installed globally

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?

timeRestriction in plugin does not respect end date of event but only start date

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

Unsupported operand types

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?

error when clicking on a detail view link from the month view on workspace mode

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

Flexform structure of eventRestriction has changed

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?

Events 'startdate' and 'enddate' not showing

Screenshot_10

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:

Screenshot_14

timeRestriction Error on eventnews 2.1.0

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.

month calender browser translation

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')}

eventnews month browser textPNG

Thanks.

Regards,
Tony

Date range

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.

setRespectDay() must be an instance of GeorgRinger\Eventnews\Domain\Model\Dto\void, none returned

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?

Day filter should not be ignored in month view

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).

Month and year argument missing in template

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>

No events in list view OR event-search not working, depending on version-combination

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

Filtering does not find a "more day" event

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.