Code Monkey home page Code Monkey logo

dated_news's Introduction

dated_news

Extends the TYPO3 versatile news system extension tx_news with a calendar view... so it began in 2015....

What it does

Calendar View The extension extends tx_news by a calendar view. For the calendar a fully configurable Frontend Calendar is used. Your'e able to switch between different views f.e. monthly view or an agenda week view.

Event Registration It implements a recurring service so you can add recurring events in any imaginable configuration. For any event users can registrate for. Their are prices, early bird prices and of course earlybird dates. Any registration / booking needs a confirmation y clicking a link in E-Mail. If wished, the extension sends out an ICS Calendar Invitation after coonfirmation and also sends out additional files, f.e. your terms and conditions.

Example: https://www.roeder-webdesign.berlin/de/dated-news/

About this documentation

The dosumentation does actually not cover any configuration option, it is a work in progress. As it uses tx_news extension and the Frontend Fullcalendar plugin, please see als this documentations for more details.

Fullcalendar Documentation
tx_news Documentation

Content

General

Plugin Configuration

Event Configuration

Fluid Templates

RealURL Configuration

Wishlist

Thanks

I want to thank you the community which helped me a lot on stackoverflow and facebook. Without that people out there, it wouldn't be possible to develop either such extensions and never my own skills in development for TYPO3!

What can you do

  • Drink a beer with me! And maybe another one..
  • Help me with the documentation
  • Report Bugs on Github
  • Improve the code
  • Request new crazy and reasonable features
  • Tell me links if you use it on production sites

Documentation which Follows

TS Settings

Images

Examples

dated_news's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dated_news's Issues

Conflict with EXT:event_news from Georg Ringer

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

Qtip.html is called from typo3ext/dated_news directory ONLY

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!

eventstart in the selectbox "Sort by"

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.

W3C Validator error

Hello,
JS generates w3c error. If it's possible please fix this.
Thank you.

image

recurrence displayCond

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

Error in T3 8.7LTS with debugmode activated

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

Categories are ignored on recurrence events

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

Past events can not be hidden

In the Plug-In EXT:news the filed of "timelimit" if you add "-1 hour" as it is the default value for time limitation the FE get no more results - even if there are future events.

1

Can you fix this?

Thanks.

Regards,
Angelo

qtip problem

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>

Required event_end field

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?

news extension version 7.x

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?

Datetime mixup in recurrences

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?

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.