Create a position

Professional Business Joomla template for corporate and business websites suitable for showing stock quotes, up to date news, portfolio management resources or international market data.
GK User
Sun Aug 26, 2012 3:45 am
Hello
How to create a position in the financial business template?

I mean at the top there are two buttons one is the login and the other is the register, I want to place there a position

thanks
User avatar
Fresh Boarder

GK User
Sun Aug 26, 2012 5:05 pm
Adding of any module position is connected with the following code:

Code: Select all
<?php if( $this->modules('POSITION_NAME') ): ?>
<div id="YOUR_CONTAINER_ID">
     <jdoc:include type="modules" name="POSITION_NAME" style="none" />
</div>
<?php endif; ?>


Where:

POSITION_NAME - it is a module position name used to assign the modules (please remember to add it also in the templateDetails.xml file)

YOUR_CONTAINER_ID - it is an unique container ID which can be used for easier CSS styling.

To add the module position in the login/register place, you have to edit file layouts/blocks/nav.php file in the template directory.
User avatar
Administrator

GK User
Mon Aug 27, 2012 2:38 pm
it works

thanks!
User avatar
Fresh Boarder


cron