mahmoud-ali Another question:
- How can I add Articles Related, below the article
- I Want to put a modules below the article? Any position I choose for the modules
You can try with this tweak:
1) Create a new module position called 'article-bottom' via the file: root/templates/ja_focus/templateDetails.xml : http://prntscr.com/khvjlp
2) Load this position in layout content of template, open the file: root/templates/ja_focus/html/com_content/article/default.php
add this code:
<?php
$releated_modules = 'article-bottom';
$attrs = array();
$attrs['style'] = 'T3xhtml';
$result = null;
$renderer = JFactory::getDocument()->loadRenderer('modules');
$related = $renderer->render($releated_modules, $attrs, $result); ?>
<?php if ($related) : ?>
<div class="article-related">
<?php echo $related; ?>
</div>
<?php endif; ?>
http://prntscr.com/khvjx9
3) Go to Backend > Extensions > Modules > create a new module type of Articles - Related and assign to 'article-bottom' position you created in first step
Pls note that this module will show articles which have the same keyword so you need to add the same keyword for articles: http://prntscr.com/khvkgm
Hope this helps.