lochmueller / calendarize Goto Github PK
View Code? Open in Web Editor NEW📆 Best TYPO3 Calendar ever 📆
Home Page: http://typo3.org/extensions/repository/view/calendarize
📆 Best TYPO3 Calendar ever 📆
Home Page: http://typo3.org/extensions/repository/view/calendarize
Because of this:
"require": {
"typo3-ter/autoloader": "~1.6"
}
inside composer.json I can not install calendarize using new installation method of TYPO3 using composer.
The package "typo3-ter/autoloader" will not be found.
Removing helps, but maybe (I'm not sure) it also works, if you add the TYPO3-Composer-Repository in a repository section:
"repositories": [
{
"type": "composer",
"url": "http://composer.typo3.org/"
}
]
EDIT: I had a conversation with helhum on slack about this problem. May be it's a bug comes from TYPO3/Composer-Repository-Server.. Stay tuned
EDIT2: helhum mean it's better (at the moment) to remove dependencies (require-section) inside composer.json or whole composer.json, before it is fixed inside TYPO3
The fix according to month-switch failure 2cdeccb solves the problem of going back to february. But now the view of february is broken:
It shows only the last day (29) of february. The other months are working fine.
http://momentjs.com/timezone/
http://momentjs.com/
More details later... ;)
Hi,
a customer has a feature request. He wants to only display the next upcoming date from one "Event". Maybe you can add a input field in the flexform to limit how much dates per event will shown in the view.
Thanks for this great extension.
Tobias
Hi,
in version 1.7.1 and master an event disappears if it is saved at the same day of the event (start_date). Calendarize Information and the list view do not show events on start_date. An entry is created in tx_calendarize_domain_model_index. The day view shows these events correctly.
If I define different sysfolder for diverent kind of events, it is not possible to filter the event list in frontend by selecting one of this folders. I always get the hole list.
Hi,
After last upgrade (thanks for it :) ) i have this trouble on my page:
Configuration Error Basic configuration settings are missing. It seems, that the Static Extension TypoScript is not loaded to your TypoScript configuration. Please add the calendarize TS to your TS settings.
But this message appear on a page with 2 calendarize plugin (one calendar view and one list view)
The calendar view works perfectly, the list view don't show the abstract and show this message.
My static template is loaded (if not nothing could appear)
Do you have an idea?
I'm on a 7.6.4 with the last master of calendarize
Thanks a lot.
Hi,
the admin panels tells me that there is a USER_INT object for each calendarize plugin which slows down the website (some people like to integrate a calender on every page :( ) and which prevents indexed_search from indexing pages (list view). Is this necessary and why? Could this be changed?
Hallo Tim,
folgende Zeilen in der ext_tables.php bereiten mir Kopfzerbrechen:
if (\TYPO3\CMS\Core\Utility\GeneralUtility::compat_version('7.0.0')) {
// $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['calendarize_calendar'] .= ',categories';
}
Wenn diese Zeile drin ist, werden die Kategorien auf einer Seite, wo das Plugin fürs Frontend eingebunden wird, nicht unter dem Reiter Categories angezeigt, sondern sind direkt im Plugin. Dort allerdings kann man keine Kategorie auswählen, die dann auch gespeichert würde. Die Änderungen verfallen einfach.
Ist die Zeile draußen, sind Kategorien da wo man sie vermutet und Änderungen wirken sich direkt auch auf die Anzeige im Frontend aus (sehr fein übrigens).
Kannst du mit den Code erklären? Ist das ein Bug oder ein Feature? :)
Ich nutze Typo3 in der Version 7.6.2
Schöne Grüße
Evelyn
Hi,
the start- and endtimes in the frontend have an offset by +1 which is not influenced by serverTimeZone. In the backend at the bottom of the calendarize tab they are right. The rendered times in frontend will be correct if using moment.js, but it would be nice to have correct times without javascript.
calendarize version: 1.6.1
calendarize_news: 0.3.0
[SYS][serverTimeZone] = 1
[SYS][phpTimeZone] = Europe/Berlin
useMomentJsDateAndTimeOutput = 0
It would be nice to enable cType restriction in the Register:extTables() to add the calendarize fields only to certain types. In Register:createTcaConfiguration() the method ExtensionManagementUtility::addToAllTCAtypes is called, which supports a typelist as third parameter.
(not sure whether this interferes with "required" configuration)
Hello,
the default Indexer is not working for my extension records. It does not return any records from the database for multiple reasons:
KeSearchIndexer.php Line 55:
$indexRepository->setOverridePageIds(GeneralUtility::intExplode(',', $indexerConfig['storagepid']));
The field name of the storagePid in the Indexer Config is named "sysfolder". So the line should be:
$indexRepository->setOverridePageIds(GeneralUtility::intExplode(',', $indexerConfig['sysfolder']));
Then Repository still won't return any records of my Extension. My records using Calendarize got the uniqueRegisterKey "TgmEvents". When calling the IndexRepository on line 56, the Respository has never been informed which records should be returned so I have to add the following line in the KeSearchIndexer.php before:
$indexRepository->setIndexTypes(array('TgmEvents'));
This should be configurable in the indexer config of course.
But then: Still no records. The function getDefaultConstraints of the Repository add's my record to the query with this line:
$constraints[] = $query->in('uniqueRegisterKey', $this->indexTypes);
For any reasons: This is not working. Heres where I had to stop my research. I only can say using "equals" instead of "in" solves the problem herer.
Greetings from Schwerin, Germany and thanks for the extensions.
The Month partial have to check the detailPid and not the dayPid to link the given events...
Drop the old XML translation files
Hi,
create a range event by setting a start_date and an end_date in the calendarize configuration (frequeny none, some start_time, some end_time). Use a calender view, a list view and a date view.
The calender shows the event correctly via highlighting all event-days. But if you click on the day before the end_date you will see the day view which does not show the event has highlighted the day in the calender. All other days show the correct day view.
(I tried this with master version on 6.2.15)
Hey,
first I want to say thank you very much for the extension - nice work!
Currently running in troubles with events on 31th October - they wont be added to the month view. Using PHP 5.4 and TYPO3 6.2.15.
I guess the problem is located in the IndexRepository line 167:
For example october:
This
$endTime = mktime(0, 0, 0, $month + 1, 0, $year);
results for me in 1446246000 (2015-10-30 23:00:00).
Maybe this would be a better solution?
$endTime = mktime(0, 0, 0, $month + 1, 1, $year);
Greetings from Schwerin, Germany
Hi,
I have tried your master with realurl 2.0.0 but i have this error now :
Fatal error: Class 'DmitryDulepov\Realurl\Encoder\UrlEncoder' not found in /var/www/lib/typo3_packages/typo3_src-7.6.2/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 4505
Hi,
in an previous issue you wrote: "The category selection (example with the default Event Model) is part of the next release...". Do you meen, that calendarize will use the TYPO3 categories to limit the event list. I think, this is very useful, especially for calendarize_news.
By the way: I love your extension
Stephan
Hi,
if there is an event that lasts more than one day I should enter a start_date and an end_date and the frequency should be none. But I also could also enter only a start_date and a till_date with frequency daily, which causes the creation of many events. The calendar highlights every day in range but list view will become unreadable (on event for every day).
Couldn't the IndexOnDayViewHelper not only test start_day but instead the range between start_date and end_date (maybe as option)?
(sorry, only looked at version 1.7.1 and actual changelog)
Integrate a basic booking feature for the events
Hi,
it would be helpful to have the option to show events for e.g. a whole year even if the event is over. I would use it to show the activities of an organization in a special time period.
Regards & thanks for the great extension
Hobokens
I setup an website with multiple languages and need the option to create Events in all languages the website supports. Would be nice if calendarize supports the following scenarios:
fullcalendar.io Integration for month view
Hi,
copy a record which has a calendarize configuration attached, unhide the new record. The configuration is copied correctly. But the index created is not correct anymore because the field 'hidden' in 'tx_calendarize_domain_model_index' is still set to 1. In the UI there exists a field hidden but the value there does not correspond to the index in the database. Recreation of index with scheduler does not change this field. Therefore the new record is not shown in list or calender view and nobody is able to change that with the UI.
(tested autoload 1.11.4, calendarize_news 0.3.1 and calendarize master on 6.2 LTS)
After switch my environment to php 7, I get this error in calendar list view:
PHP Warning: Declaration of HDNET\Calendarize\ViewHelpers\Link\IndexViewHelper::render(HDNET\Calendarize\Domain\Model\Index $index, $pageUid = NULL) should be compatible with TYPO3\CMS\Fluid\ViewHelpers\Link\PageViewHelper::render($pageUid = NULL, array $additionalParams = Array, $pageType = 0, $noCache = false, $noCacheHash = false, $section = '', $linkAccessRestrictedPages = false, $absolute = false, $addQueryString = false, array $argumentsToBeExcludedFromQueryString = Array, $addQueryStringMethod = NULL) in /var/www/vhosts/website.de/httpdocs/preview/web/typo3conf/ext/calendarize/Classes/ViewHelpers/Link/IndexViewHelper.php line 17
Hi,
how is it possible to get the Date from the Calendarize Repository in my own Model/Controller? Is there an example anywhere? I just want to display the date in a list view from my extension.
Thanks for your help and for the geat extension.
Tobias
Hi,
newest version from TER (1.8.0) stops the extension manager (TYPO3 CMS 6.2.15) with above message. (also happened with newest autoloader.)
when config the contentelement as year.view then the variable $year in controller ist empty and you will get no results from repository.
my quick and dirty solution
/**
* Year action
*
* @param int $year
*
* @return void
*/
public function yearAction($year = null)
{
$date = DateTimeUtility::normalizeDateTime(1, 1, $year);
if ($year == null){
$year = date('Y');
}
$this->view->assign('indices', $this->indexRepository->findYear($year));
$this->view->assign('date', $date);
}
regards
jochen kast
Limit the month view link (next,prev) to a configured date... to prevent endless loops
Not really an issue, but odds I faced using the IndexRepository in a scheduler task – maybe you have some suggestions.
Hi Tim,
sorry, it's me again. I have two strange installtion problems:
Although I can see the js-files and the css-files in the TSOB they are not included in the page (take a look at the screnenshots)
The more link and the title link in listview link to the list view (id=135) instead to detail view although i've configured the plugin correctly (detail view id=134). I have the same problem with the day view.
Regards and thanks for your great extensions!
Hobokens
Another upgrade of realurl (2.0.6) broke calendarize :(
Fatal error: Call to a member function convertToSafeString() on null in /var/www/_minisites/htdocs/typo3conf/ext/realurl/Classes/Encoder/UrlEncoder.php on line 252
Thanks
Hi,
I'm using TYPO3 7.6.2 with the newest versiond of news, calendarize_news, calendarize and autoloader. I included When I try to insert a Date for a news I get the error message above on saving.
I included the four templates and checked the table. Everything looks fine. Did I miss any configuration?
Thx for any help.
Add abstract field for event record
Hi,
sorry, one more question: I use the newest calendarize from github with TPO3 7.6.4 and try to filter events in list view by categories
In the file '...\layout\default.html' I added without success:
<f:for each="{event.categories}" as="category">
<f:if condition="{category.uid} == 3">
<div class="calendarize">
<f:render section="Main" />
</div>
</f:if>
</f:for>
Regards
Tom
In the IndexRepository
the start_date
is used to filter relevant entries. From my point of view it would be better to use the end_date
.
If there is an event for more than one day, the event could also be interesting for some people (even if it's already in progress).
At least an option to select wich date is relevant would be nice.
Markus
It seems that monthly schedules are incorrect for the month of the start date. Samples:
Your extension is very helpful – thank you for sharing!
A mechanism to round SIM_ACCESS_TIME to "hours", "2 hours", "4 hours", "6 hours", "12 hours" to speed up the selection by repeating the SELECT queries more often (use the query cache).
The mechanism is optional.
$query->setOrderings([
'start_date' => QueryInterface::ORDER_DESCENDING,
'start_time' => QueryInterface::ORDER_DESCENDING,
]);
or like in indexRepository -> public function findByTraversing
It would be nice to have the option to limit the output to a subset of events at once. One way would be the support of different sys-folder (see #7) or to have the option to select an category of events to show.
Hi,
It would be really great to have a special location field in calendarize event. I tried to add it by myself but I don't have the experience to understand calendarize with autoloader.
Regards
Hobokens
Hi,
When i activate realurl autoconf i have this message on pages with calendarize :
Fatal error: Class 'tx_realurl_advanced' not found in /var/www/lib/typo3_packages/typo3_src-7.6.2/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 4505
Can you explain what's the problem?
Thanks a lot
For recurring schedules on certain weekdays it would be helpful to see the abbreviation of the weekday in calendarize_info (e.g. Mi. 27.01.2016 - Mi. 27.01.2016).
This might be added to the collapsed IRRE field info too.
Hi,
actually (in version 1.6.1) it is required to enter a start_date and an end_date.
Is it possible to remove required from end_date and use start_date as end_date? (for simple cases)
incl. respect for the limit settings
Write complete documentation
In the Month view you use a ViewHelper to change the month of the date objekt. Today, on march 30th, the functions fails for me. I can't go back to february when using the ViewHelper like this:
<c:dateTime.modify modification="-1 month">{date}</c:dateTime.modify>
The result is 1. March. So the link to the last month does not work for me and always returns March...
I'm using PHP 5.6 but I don't think this error is caused by PHP. Using the ViewHelper in the Month.html Tempalte to this solves the problem for me:
<c:dateTime.modify modification="first day of last month">{date}</c:dateTime.modify>
Or the complete month switcher:
<f:if condition="{settings.monthPid}">
<f:if condition="{c:ifDateUpper(base: settings.dateLimitBrowserPrev, check:date)}">
<c:dateTime.modify modification="first day of last month">{date}</c:dateTime.modify>
<c:link.month pageUid="{settings.monthPid}" date="{date}">
<
</c:link.month>
<c:dateTime.modify modification="first day of next month">{date}</c:dateTime.modify>
</f:if>
</f:if>
<f:format.date format="%B %Y">{date}</f:format.date>
<f:if condition="{settings.monthPid}">
<f:if condition="{c:ifDateLower(base: settings.dateLimitBrowserNext, check:date)}">
<c:dateTime.modify modification="first day of next month">{date}</c:dateTime.modify>
<c:link.month pageUid="{settings.monthPid}" date="{date}">
>
</c:link.month>
<c:dateTime.modify modification="first day of last month">{date}</c:dateTime.modify>
</f:if>
</f:if>
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.