Giter Site home page Giter Site logo

dacyberpunk / dated_news Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 4.0 2.76 MB

Extends the TYPO3 versatile news system extension tx_news with a calendar view https://www.roeder-webdesign.berlin/de/dated-news/

PHP 31.91% HTML 15.20% CSS 5.23% JavaScript 47.66%
tx-news typo3-cms-extension typo3-extension

dated_news's People

Contributors

dacyberpunk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dated_news's Issues

W3C Validator error

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

image

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.

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!

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

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

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>

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?

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

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?

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

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

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?

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.