- Posts: 148
- Thank you received: 4
Attachment Plugin In Front End
- LAC Webadmin
- Topic Author
- Offline
- Premium Member
-
Less
More
3 years 2 months ago #149275
by LAC Webadmin
Attachment Plugin In Front End was created by LAC Webadmin
Hello Tuan,
How do I enable the Attachment Plugin in the Frontend just like in the backend where it shows a repeatable subform? I checked the attachment plugin code and the canRun() function disables it by default for the frontend.
Thanks,
Jackson
How do I enable the Attachment Plugin in the Frontend just like in the backend where it shows a repeatable subform? I checked the attachment plugin code and the canRun() function disables it by default for the frontend.
Code:
private function canRun($row)
{
if ($this->app->isClient('site') && !$this->params->get('show_on_frontend'))
{
return false;
}
return true;
}
Thanks,
Jackson
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
3 years 2 months ago #149279
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Attachment Plugin In Front End
Hello
Please install this updated plugin. I added Show On Frontend parameter so that you can use it on frontend. I will add this change to core package. Most template does not care much about repeatable form fields in the frontend, so consider using this option as your own (style) risk.
Regards,
Tuan
Please install this updated plugin. I added Show On Frontend parameter so that you can use it on frontend. I will add this change to core package. Most template does not care much about repeatable form fields in the frontend, so consider using this option as your own (style) risk.
Regards,
Tuan
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.