×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
How to enable plugins in the view on the frontend
Jan van de Laar
New Member
Posts: 5
10 năm 2 tháng trước #346
bởi Jan van de Laar
How to enable plugins in the view on the frontend was created by Jan van de Laar
I have several components and they all work pretty nice. Now I want to add social sharing buttons to my view and I want to use an existing plugin to generate them. Does anybody know how to accomplish this. The plugin I want to use is ITP-SocialButtons.
Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.
Noxidsoft - Noel Dixon
New Member
Posts: 19
10 năm 1 tháng trước #377
bởi Noxidsoft - Noel Dixon
Kindest regards,
Noel Dixon | www.noxidsoft.com | www.hazalerts.com.au
Replied by Noxidsoft - Noel Dixon on topic How to enable plugins in the view on the frontend
You can look at the core Joomla /plugins/content/loadmodule/ plugin that does something similar. You just need to look for a pattern similar to {loadposition custPos} types and you can include pretty much whatever you like into content.
Kindest regards,
Noel Dixon | www.noxidsoft.com | www.hazalerts.com.au
Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.
Noxidsoft - Noel Dixon
New Member
Posts: 19
1 năm 9 tháng trước #10049
bởi Noxidsoft - Noel Dixon
Kindest regards,
Noel Dixon | www.noxidsoft.com | www.hazalerts.com.au
Replied by Noxidsoft - Noel Dixon on topic How to enable plugins in the view on the frontend
Yep, this circles around to bite me in the backside over 8 years later, lol.
I will need to re-open this question on the forum myself, as {loadposition exampleCustomModulePosition} doesn't work in the recent Joomla 4.x components created by this tool.
I will need to re-open this question on the forum myself, as {loadposition exampleCustomModulePosition} doesn't work in the recent Joomla 4.x components created by this tool.
Kindest regards,
Noel Dixon | www.noxidsoft.com | www.hazalerts.com.au
Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.
Noxidsoft - Noel Dixon
New Member
Posts: 19
1 năm 9 tháng trước #10050
bởi Noxidsoft - Noel Dixon
Kindest regards,
Noel Dixon | www.noxidsoft.com | www.hazalerts.com.au
Replied by Noxidsoft - Noel Dixon on topic How to enable plugins in the view on the frontend
This is somewhat helpful, but I need the Joomla library to be more dynamic than this, and I'm sure it is, just trying to find it in docs. (J4)
```<?php echo JHtml::_('content.prepare', '{loadposition examplePosition}'); ?>```
```<?php echo JHtml::_('content.prepare', '{loadposition examplePosition}'); ?>```
Kindest regards,
Noel Dixon | www.noxidsoft.com | www.hazalerts.com.au
Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.
Noxidsoft - Noel Dixon
New Member
Posts: 19
1 năm 9 tháng trước #10051
bởi Noxidsoft - Noel Dixon
Kindest regards,
Noel Dixon | www.noxidsoft.com | www.hazalerts.com.au
Replied by Noxidsoft - Noel Dixon on topic How to enable plugins in the view on the frontend
Yep, it still works.
www.joomlashack.com/blog/joomla-how-to/m...-position-component/
www.joomlashack.com/blog/joomla-how-to/m...-position-component/
Kindest regards,
Noel Dixon | www.noxidsoft.com | www.hazalerts.com.au
Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.
Thời gian tải trang: 0.056 giây