How to include module onAfterContentSave? - Joomla! Forum - community, help and support
hi,
i want include 1 module after content. have included 1 position component in following file path,
component > com_content > views > article > tmpl > default.php
i have put 1 code(bold content) below following line in default.php file.
<?php echo $this->article->event->afterdisplaycontent; ?>
<?php if ($this->modules('relatedad')) : ?>
<div>
<jdoc:include type="modules" name="relatedad" style="xhtml" />
</div>
<?php endif; ?>
i need include 1 module below content @ same time don't want use load module plugins , put via content editor each article everytime. have solution this. kindly reply me thankful you.
i want include 1 module after content. have included 1 position component in following file path,
component > com_content > views > article > tmpl > default.php
i have put 1 code(bold content) below following line in default.php file.
<?php echo $this->article->event->afterdisplaycontent; ?>
<?php if ($this->modules('relatedad')) : ?>
<div>
<jdoc:include type="modules" name="relatedad" style="xhtml" />
</div>
<?php endif; ?>
i need include 1 module below content @ same time don't want use load module plugins , put via content editor each article everytime. have solution this. kindly reply me thankful you.
try include module in 1 of module position situated after content...eg. content-bottom, content-bottom2 etc.
Comments
Post a Comment