Comments (8)
Implemented in 5629a7d. It was surprisingly simple. 😄
from calendar-bundle.
I doubt that this is possible, because tl_calendar_events.endTime
cannot be empty.
from calendar-bundle.
Why can this not be empty? Can't you check: if empty than equal starttime, if you need it within your logic?
from calendar-bundle.
It's because tl_calendar.startTime
and tl_calendar.endTime
are the two main fields that store the calculated start and end time (e.g. see here). And the end time cannot be null
.
from calendar-bundle.
And the end time cannot be null.
As your query does not work with NULL?
@mpitz I've this in my dcaconfig
/** Events */
// Set endtime default to empty
$GLOBALS['TL_DCA']['tl_calendar_events']['fields']['endTime']['default'] = NULL;
With this setting, the End time
is not set automatically when you activate Add time
. So you can change the automatically set Start time
and if you leave the field End time
empty it gets filled with your Start time
when you save the event.
BTW, why gets the Start time
filled with the current time? I think this will not happen, that we want the Start time
to be the current time.
from calendar-bundle.
So you can change the automatically set
Start time
and if you leave the fieldEnd time
empty it gets filled with yourStart time
when you save the event.
But that's not what @mpitz wants. He wants the field to remain blank for open end events.
from calendar-bundle.
But that's not what @mpitz wants. He wants the field to remain blank for open end even
Right, that's not what I suggested. It is annoying and error prone if you have the set the End time again if you want to leave it open, after you've changed the Start time.
from calendar-bundle.
Wow. Thank you. 👍 🥇 💯
from calendar-bundle.
Related Issues (15)
- Endzeit wird automatisch 01:00 wen keine Zeit eingegeben wird. HOT 7
- Extend/improve event microdata (schema.org) HOT 2
- make enclosure sortable HOT 4
- URL-Parameter gehen nicht bei Eventlist Anzeigeformat "Alle Events" HOT 1
- external redirect will not be linked in template HOT 1
- Mixed calendars in eventlist module shows always "first", "last" and "even" class in html markup HOT 3
- Make it possible to highlight events like news HOT 1
- Google Structured data: Image? Or associatedMedia? HOT 8
- Hide running events (Laufende Events ausblenden) has no effect HOT 8
- Loading models eagerly HOT 2
- Tag calendar and event in 4.6 HOT 1
- Endzeit wird automatisch geleert, wenn 01:00 Uhr eingegeben wird HOT 1
- FR: handle running events in event-list module more flexible HOT 3
- Update to 4.3.1 -> Upcoming Events are no longer displayed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calendar-bundle.