>Adding new module position in Joomla

>
Just for remind me…
How to add a new module position in Joomla
got this from : pietrogallo

First of all, a general tip on how to check the available module positions of your current template. Use a url like this: http://www.example.com/index.php?tp=1

After you’ve created a backup copy of your template folder, go to Template manager \ Site Templates, select your template and click on Edit HTML.

Add the following code where you want to place your new position:

Joomla! 1.0

<?php if (mosCountModules('custom')>0) { ?>
<?php mosLoadModules('custom',-2); ?>
<?php } ?>

Joomla! 1.5

<?php if ($this->countModules('custom')) : ?>

include type="modules" name="custom" style="xhtml" />

<?php endif; ?>

Change the name (custom) to whatever you like. Then go to Template Manager\ Module Positions and add the name of the new position (custom in the example).

Then you publish whatever module you want in your new module position Wink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s