Event Attachment and Image Path in Configuration

  • LAC Webadmin
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 years 2 months ago #149276 by LAC Webadmin
Hi Tuan,
In the attachment field code while editing an event, there is a line with 
Code:
[code]$this->config->attachments_path ?: 'media/com_eventbooking')
[/code]

when I check the configuration variables, there no such configuration field with "attachments_path". Is this something that you will add later? It would be nice to be able to choose the attachment path including the event image rather than hardcoding the path to /media. It can be the default though.

Thanks,
Jackson

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

More
3 years 2 months ago #149278 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Event Attachment and Image Path in Configuration
To be honest, I don't remember about it. Maybe we had it configured in the path, but removed later

If you want to use it, add a file default_custom_settings.php to com_eventbooking/admin/view/configuration/tmpl , then add a input type = text with that name there to allow entering custom path. It should work OK

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc