2

I created an event template years ago, and when I use this template to create a new event, it auto populates the start date with a very old date. If I edit this event template, the start and end dates aren't shown as something that can be modified.

Where is the auto populated start date coming from and how do I change it? Ideally it would show today's date so that I don't have to scroll through months and years to get to a future date.

We are running CiviCRM 5.8.2 on Drupal.

2

I just did some testing on mine - it works the same way. It appears that "templates" are actually created and saved just like an actual event. So you'll find the data in the civicrm_event table just like all your other events. It looks like it saves it with a start date that is the same as the date you inputted the template (because date is a required field, but you aren't given the option to input one). The only way I can find thus far to change this is to go into your database, find that template, and edit the date. I just manually changed one of my templates via PHPMyAdmin and sure enough when I go to use it, that date is now the one selected. So at least then you wouldn't need to scroll so far back?

I wonder if someone has an edit they've done to make the date field available when creating a template.

  • 1
    Taking your advice, I set the start date to Null through PHPMyAdmin and that seems to make new events use the current date rather than a specific date. Thanks for your insight! – spontarelliam Jan 22 at 20:08

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.