Automatically generate metadata descriptions and keywords for individual events

  • Roubert
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 week 6 hours ago #126592 by Roubert
Hello,

We would want to be able to hack the component in order to generate automatically Metada snippet descriptions / keywords for individual events, by populating them with a chain with values from:

— Category (of event)
— Location (of event)
— Start / end dates (day and hour) (of event)
— Price (of event)

(see screenshots below).

Could you explain us what should be done in order to implement this?

Cordially.
Attachments:

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

More
6 days 18 hours ago #126597 by Tuan Pham Ngoc
Hello Roubert

Try to look at administrator/components/com_eventbooking/model/common/event.php, customize the method afterStore, add additional logic to generate meta keywords and descriptions you want for the event in the way you want

Regards,

Tuan

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