Hi,
I have a issue in module positioning. I followed the page instructions (https://www.gavick.com/documentation/jo ... -position/) and at last step to call module, page ends with error.
I need to load module with in article. So I went to gk_news2 -> html -> com_content -> article -> default.php
When I entered this
=================================================
<?php if($this->API->modules('article_bottom')) : ?>
<section id="gkMainbodyBottom">
<jdoc:include type="modules" name="article_bottom" style="<?php echo $this->module_styles['article_bottom']; ?>" />
</section>
<?php endif; ?>
=================================================
Browser shows the following errors:
1. Undefined property: ContentViewArticle::$API in \templates\gk_news2\html\com_content\article\default.php on line 311
2. Fatal error: Call to a member function modules() on a non-object in templates\gk_news2\html\com_content\article\default.php on line 311
This means Object and Property not called in article- > default.php
Anyone tried to load module in article please?
Thanks