Forum

Thread tagged as: Question, Addons, Events

Is it possible to update eventslug

Hi,

We've built a Perch (generic) site for The Scottish Dental Show, which uses the Events app to list out a bunch of lectures and workshops, is it possible to amend the eventslug to pull event date and time?

Currently there are a number of events that have the same slug (repeat events at different times of day) that are outputting incorrectly.

Thanks in advance

Paul.

Paul McGinnity

Paul McGinnity 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

I don't think the eventSlug itself is customisable, but you can add other factors like the date, ID and so on into its URL from the setting on the Settings page.

Thanks Drew, sorry for the late reply, I forgot to check the 'notify me' box.

Should event slug have an edit field in settings like blog does? we currently only have the 'Event detail page path' input in settings.

Paul.

Drew McLellan

Drew McLellan 2638 points
Perch Support

No, I don't think the eventSlug itself is customisable.

Thanks Drew, would you be able to give me an example of editing the url to include time, for instance, I'm not sure how best to amend the URL?

Drew McLellan

Drew McLellan 2638 points
Perch Support

How do you output the URL currently?

At the moment, it's just the basic

/lectures/event.php?s={eventSlug}
Drew McLellan

Drew McLellan 2638 points
Perch Support

/lectures/event.php?s={eventSlug}&dt={eventDateTime}

Thanks Drew.