Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2358

Templates for Joomla! 4.x • Re: Add module position into component area

$
0
0
Is there a way to add module position into component area?
Hi.
1) Via the coponent php override by adding this line of code where you need

Code:

<?php echo JHtml::_('content.prepare', '{loadposition YOUR_POSITION_NAME}'); ?>
2) Via template php override by adding this line of code where you need

Code:

<jdoc:include type="modules" name="YOUR_POSITION_NAME" style="none" />
3) Via text editor (if component has) by using Modules Anywhere plugin (find it on JED)

Statistics: Posted by Pavel-ww — Sun Jan 21, 2024 9:34 am



Viewing all articles
Browse latest Browse all 2358

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>