Alias for child events

  • Tuscany
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 2 months ago #122295 by Tuscany
Alias for child events was created by Tuscany
Hi !
I had a look on the events table in the database of my website
There I could see that the "Alias" for child events is generated from the title of the parent event.

As for titles in foreign languages often soecia characters are used (in German e.g. ä, ö ß,ü) I would like to suggest to generate the alias for child events from the alias of the parent event.

I would feel better if You could change this.
Attachments:

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #122297 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Alias for child events
Hello

Actually, after using title, we also calling JApplicationHelper::stringURLSafe to generate alias for children event

However, I think I agree with your propose. It would be better and easier to maintain

Could I ask how you create these children events? Using recurring events feature or using additional dates?

Let me know and I will make necessary change and includes it in next release of the extension

Tuan
The following user(s) said Thank You: Tuscany

Please Log in or Create an account to join the conversation.

  • Tuscany
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 2 months ago #122298 by Tuscany
Replied by Tuscany on topic Alias for child events
Yes, I used the recurring events feature.

I guess I should tell You why I investigated the database.

I firstly created a single event with Title "Leoben" and alias "leoben2019"
As it is not possible to open the event and convert it to a recurring event I deleted the vent and created a new one which same title and same alias.
From now on i run into issues that empty pages were displayed when trying to register.
I guess this is why the alias of the child events remained the same (because Title of the event was the same) even when I used different Aliases for the newly created parent event.
I looked into the database if I can find the deleted events but couldn't find anything.
I then changed the alias of the event in the database and registration displayed fine.

Possibly You keep this in mind when changing the way to cretae child events Aliases

Cheers
peter

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #122301 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Alias for child events
For this, you can access to Events Booking in the backend, then Tools -> Purge URLs to remove the cached URL (base on old alias)

After that, the issue should be sorted

Tuan
The following user(s) said Thank You: Tuscany

Please Log in or Create an account to join the conversation.

  • Tuscany
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 2 months ago #122304 by Tuscany
Replied by Tuscany on topic Alias for child events
Thanks Tuan !

I was very close to a solution - I clicked the "Fix Database Schem" option in tools menu. :-)

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc