Advertisement
Turn component into module
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
-
- Joomla! Fledgling
- Posts: 3
- Joined: Sun Feb 11, 2024 6:15 pm
Turn component into module
Hello there,
I have installed the Akeeba Engage component on my Joomla 4 website. The comments are now underneath the content of each article.
However, I need the component output to be at a different position. It would be ideal if there is a way to create a module that embeds this component, thus I can assign module positions to it.
Is there any way to do that? Apparently, the extension "components everywhere" made this possible, but it is not available for Joomla 4.
Thank you in advance!
I have installed the Akeeba Engage component on my Joomla 4 website. The comments are now underneath the content of each article.
However, I need the component output to be at a different position. It would be ideal if there is a way to create a module that embeds this component, thus I can assign module positions to it.
Is there any way to do that? Apparently, the extension "components everywhere" made this possible, but it is not available for Joomla 4.
Thank you in advance!
Advertisement
- Per Yngve Berg
- Joomla! Master
- Posts: 31843
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Turn component into module
https://extensions.joomla.org/extension/akeeba-engage/
Look closer. You will see there is a module available.
Look closer. You will see there is a module available.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Sun Feb 11, 2024 6:15 pm
Re: Turn component into module
Thank you, but the module is not the same as the component. The module shows the latest comments that were posted on every article on the entire website. The component shows you the comments for the respective article. The latter is what I need as a module.
- Per Yngve Berg
- Joomla! Master
- Posts: 31843
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Turn component into module
It's actually the Plugin that shows the Comments under the Article.
- AMurray
- Joomla! Master
- Posts: 10710
- Joined: Sat Feb 13, 2010 7:35 am
- Location: Australia
Re: Turn component into module
If the plugin for Akeeba Engage is inserted by short-code (i.e. the editor button beneath your article editor), then you could put it 'anywhere' including for instance, in a custom module, which you can assign to any page/menu item and place in the appropriate module position for your template.
You could also place the custom module into your article using {loadposition} or {loadmodule} functions that are built into Joomla. The third-party extension Modules Anywhere achieves the same thing here.
https://extensions.joomla.org/extension ... -anywhere/
You could also place the custom module into your article using {loadposition} or {loadmodule} functions that are built into Joomla. The third-party extension Modules Anywhere achieves the same thing here.
https://extensions.joomla.org/extension ... -anywhere/
Regards - A Murray
Global Support Moderator
Global Support Moderator
-
- Joomla! Fledgling
- Posts: 3
- Joined: Sun Feb 11, 2024 6:15 pm
Re: Turn component into module
Yes thank you, that's a good idea. Do you know how I can find out what the short-code looks like?
- Per Yngve Berg
- Joomla! Master
- Posts: 31843
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Turn component into module
It's not a Content Plugin. It's a Plugin that acts on the OnAfterArticleDisplay Event.
- AMurray
- Joomla! Master
- Posts: 10710
- Joined: Sat Feb 13, 2010 7:35 am
- Location: Australia
Re: Turn component into module
ahh, thanks for the correction, I keep forgetting the differences between plugins was merely thinking content plugin.
Regards - A Murray
Global Support Moderator
Global Support Moderator
Advertisement