Hello Readers,
If you want to add the new module position in Joomla admin and show the text or Html on the front end side of this add new position.
You have to follow the some certain steps to do so:
1> Log into the Joomla admin Section.
2> On Top header menu section click on the Extensions and then move inside Template Manager.
3> Then select the Templates tab on the top left section into the Template Manager.
4> Choose the Current Template (For example: Beez, Protoster etc) click on it.
5> Choose the index.php file and add the code below where you add the position (For Example:Header, Siderbar or Footer).
<?php if ($this->countModules('position-new')) : ?>
<nav class="navigation" role="navigation">
<jdoc:include type="modules" name="position-new" style="none" />
</nav>
<?php endif; ?>
6> Then move into the TemplateDetails.xml file and add the position into the position tag.
<positions>
<position>position-new</position>
<positions>
7> Lastly, move into the Module Manager inside Extensions Tab on Top Header Menu Section and select New tab to add the Custom HTML text and create your own HTML Module using a WYSIWYG editor and set the position (position-new) from the top left section of the page and then show your view on front-end in Joomla.
0 Comment(s)