Store Community Support Documentation
Hi there, can anyone tell me how to change the default length while a new event is being created so that the end time automatically comes up as 4 hours later than the created time?

Thank you.
It could only be done by core hack.

In the file module/event/include/service/process.class.php down around line 53 is the code:
$aVals['end_hour'] = ($aVals['start_hour'] + 1); 

The +1 makes the ending hour 1 hour greater than the start hour. My guess is that if this was 4 instead of 1, it would make the end hour 4 hours later.

But I haven't tested this.
Thank you!
Note that the core hack will void support. We are cracking down on that too. We do not provide any support for core hacked sites.
Last update on March 30, 12:08 pm by Donna(data66).