dacyberpunk / dated_news Goto Github PK
View Code? Open in Web Editor NEWExtends the TYPO3 versatile news system extension tx_news with a calendar view https://www.roeder-webdesign.berlin/de/dated-news/
Extends the TYPO3 versatile news system extension tx_news with a calendar view https://www.roeder-webdesign.berlin/de/dated-news/
Hello, we have problems with displaying the right time on fullcalendar, after research we found, that timezone is hardcoded - UTC in dated_news/Classes/Controller/NewsController.php (line 375).
Can you please set this so we can change that in TypoScript?
It would be great to have compatibility with Typo3 v9.
Are you planing to do this?
To show eventstart in the selectbox "Sort by" of the news-plugin, the following line should be add to ext_tables.php.
$GLOBALS['TYPO3_CONF_VARS']['EXT']['news']['orderByNews'] .= ',eventstart';
Currently it's added in /Configuration/TCA/Overrides/tx_news_domain_model_news.php, but this is not working.
Hello, in Classes/Controller/NewsController.php (line 374) i see that the Qtip.html template is called from extension path. I need it to be configurable with TypoScript so i can call it from some local folder, because i need to change it.
Can you help me with that please!
Hello
we installed the actual EXT:event_news version 2.1.0 from Georg Ringer with EXT:news version 6.3.0 on a LINUX Server with PHP 7.1 and TYPO3 CMS version 8.7.12.
If you now want to add a new item into a new sys_folder with the EXT:dated_news version 5.1.1 by adding a new item there is the following error coming:
Fatal error: Cannot redeclare GeorgRinger\News\Domain\Model\News::getEventEnd() in /home/httpd/vhosts/netconsult.ch/demo2.edorf.ch/typo3temp/var/Cache/Code/news/tx_news_domain_model_news.php on line 2858
Is this a error coming from the EXT:news AND/OR is that a error from the EXT:dated_news that interferences with the extension news?
Can you help us out?
Thanks for your quick feedback.
Best regards,
Angelo
Since 'recurrence overrides' only makes sense if you have selected something in 'recurrence' and 'userdefined recurrence' only if 'recurrence' is set to 'user defined', should not the fields in the TCA be displayed / swirled accordingly by displayCond?
By adding to field 'recurrence':
'onChange' => 'reload'
By adding to all 'ud_fields':
'displayCond' => [
'AND' => [
'FIELD:eventtype:REQ:TRUE',
'FIELD:recurrence:=:7'
],
]
By adding to 'recurrence_updated_behavior' and 'newsrecurrence':
'displayCond' => [
'AND' => [
'FIELD:eventtype:REQ:TRUE',
'FIELD:recurrence:>:0'
],
]
There is an myterious offset of 1hour in the calendar view.
Also on the official Demo-page: https://www.roeder-webdesign.berlin/de/dated-news/
for example: an event set on 10:30 -16:30 is shown as 9:30-15:30
Hello, after upgrading to v 5.0 i have problems with showing qtip in coledar.
When i look to source i dont se any JS call for qtip.
Can you help me?
<script name="newsCalendar_193" type="text/javascript">
--
| if(!DatedNews.eventscal.hasOwnProperty("newsCalendarEvent_")){
| DatedNews.eventscal["newsCalendarEvent_193"] = [];
| }
|
| (function($) {
| var events = [
| eventsCache = []
| ];
| var fillEventscal = function(events){
| if(events != undefined) {
| for (var i = 0; i < events.length; i++) {
| if(!DatedNews.eventscal["newsCalendarEvent_193"].hasOwnProperty('Event_' + events[i]['id'] )){
| DatedNews.eventscal["newsCalendarEvent_193"]['Event_' + events[i]['id']] = [];
| DatedNews.eventscal["newsCalendarEvent_193"]['Event_' + events[i]['id']]['events'] = [];
| DatedNews.eventscal["newsCalendarEvent_193"]['Event_' + events[i]['id']]['events'][0] = events[i];
| }
| }
| }
|
| };
| var newsUids = ",11,6,5,4";
| var newsCalendar_193 = $('#calendar.calendar_193').fullCalendar({
| header: {left: "title", center: ", ", right: ", prev, next, today"},
| footer: {left: "", center: "", right: ""},
| defaultView: "month",
|
|
| allDaySlot:0,
| locale: "sl",
|
| buttonText: {today:'Today',month:'Month',week:'Week',agendaWeek:'Agenda Week',day:'Day',agendaDay:'Agenda Day',listYear:'List Year',listMonth:'List Month',listWeek:'List Week',listDay:'List Day'},
|
| height: "auto",
| theme : 'true',
| buttonIcons: true,
| weekNumbers: false,
| timezone : 'UTC',
| viewRender: function(){
| if($('.fc-slats').length > 0) {
| var bottomContainerPos = $('#calendar')[0].getBoundingClientRect().bottom;
| var bottomTablePos = $('.fc-slats')[0].getBoundingClientRect().bottom;
| var bottomDifference = bottomContainerPos - bottomTablePos ;
| var currentHeight = $( ".fc-slats > table" ).css( "height");
| var newHeight = parseInt(currentHeight) + bottomDifference;
| $( ".fc-slats > table" ).css( "height", newHeight );
| }
| },
| events: function (startdate, enddate, timezone, callback) {
|
| /*loading events via ajax as JSON string and store it in an array
| * so next time the allready seen month doesnt need to be reloaded again
| */
| if (events.eventsCache && events.eventsCache[startdate.format() + "-" + enddate.format()]){
| DatedNews.newsCalendarTags = events.eventsCache[startdate.format() + "-" + enddate.format()]['tags'];
| callback(events.eventsCache[startdate.format() + "-" + enddate.format()]['events']);
| if(DatedNews.filterAdded.hasOwnProperty('newsCalendarEvent_' + 193)){
| DatedNews.filterCalendarEvents(DatedNews.filterAdded['newsCalendarEvent_' + 193], $('#calendar.calendar_' + 193), 'newsCalendarEvent_' + 193);
| }
| return;
| }
| $.get("?type=6660667", { "tx_news_pi1[action]": "ajaxEvent", "tx_news_pi1[start]": startdate.format(), "tx_news_pi1[end]": enddate.format(), "tx_news_pi1[cUid]": 193}, function(data){
| if (!events.eventsCache) {events.eventsCache = {};}
| if(typeof data === 'string'){
| data = JSON.parse(data);
| }
| events.eventsCache[startdate.format() + "-" + enddate.format()] = data;
| DatedNews.newsCalendarTags = data['tags'];
| fillEventscal(data['events']);
| callback(data['events']);
| if(DatedNews.filterAdded.hasOwnProperty('newsCalendarEvent_' + 193)){
| DatedNews.filterCalendarEvents(DatedNews.filterAdded['newsCalendarEvent_' + 193], $('#calendar.calendar_' + 193), 'newsCalendarEvent_' + 193);
| }
| });
| },
| timeFormat: 'H:mm'
| });
| })(jQuery);
| /*jQuery.noConflict(true);*/
| </script>
news extension is version 7.0.x by now.
thats why i got following message o installing.
Required extension "news":
The extension news is installed in version 7.0.8 but needed in version 5.3.0 - 6.3.99
is there anything to be expected to be broken when using tx_news 7.x?
Hello, if I have an event with recurrences, the selected categories are ignored. It will be displayed in any calendar and not only in the calendar with the specified categies.
Can you fix this?
Best regards,
Jacques
I noticed that the recurrences are always 2hrs after the first given start/stop.
I suspect this happens because (while correct server+typo3 settings) of PHP DateTime to Europe/Vienna, and we have summertime. Somewhere the 2hrs+ to UTC get appended although they shouldn't.
Any hints, where this could be?
Hello!
Your extension will support the extension: "news" version 5.x.x?
Hallo, wenn ich den debugmodus in T3 8.7LTS aktiviere, wird folgende Fehlermeldung angezeigt:
Uncaught TYPO3 Exception
#1476107295: PHP Warning: get_class() expects parameter 1 to be object, null given in [...]/web/typo3conf/ext/dated_news/Classes/Hooks/PageRenderer.php line 40
Meine Vermutung ist, dass dieses mit den Aktualisierungen in der extension "news" zusammen hängt.
Es wäre toll, wenn Sie den Fehler beheben könnten.
Gruß
Jens L. aka Jacques2017
In old version there it was possible to not fill event_end now it'a required field. For one day events, it was very helpful. It is possible to disable requirements for this field?
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.