How do I load a Component inside a Module? - Joomla! Forum - community, help and support


i don't want use <jdoc:include type="component" /> in index.php

i want able put, say, search results component inside module , select it's position.


because having <jdoc:include type="component" /> in index.php means has load in same spot in template every time. can't choose it's position.

i've searched everywhere online, nobody has solution. i've tried including <jdoc:include type="component" /> in advanced php, javascript, html module extensions , doesn't work.

here quick example of template.

i want able put component in module , load in either "position1", 2, or 3, can different positions on select pages.

code: select all

<html>
<body>

<jdoc:include type="component" />

<jdoc:include type="modules" name="position1" style="xhtml" />
<jdoc:include type="modules" name="position2" style="xhtml" />
<jdoc:include type="modules" name="position3" style="xhtml" />

</body>
</html>





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support