I am trying to add a new module above the Search.
I have been following this topic
https://www.gavick.com/documentation/jo ... -position/
So, the position is now available in the administrator, but I think I am having problems with the code I have to add to the "default.php"
I don't know exactly where to paste the code, so I have added it among other modules, and I have added this code (my modules name is "top"):
- Code: Select all
<?php if($this->API->modules('top')) : ?>
<div>
<jdoc:include type="modules" name="top" style=”<?php echo $this->module_styles['top']; ?>” />
</div>
<?php endif; ?>
When I added this, I have made a menu and placed it in the "top" module, but nothing shows up.
Any help would be very appreciated.
Thank you.