Ad Code

Ticker

6/recent/ticker-posts

QUE.COM Intelligence.

Chatbot AI, Voice AI and Employee AI. IndustryStandard.com - Become your own Boss!

How to add new module positions on Joomla 1.5

In Joomla 1.x releases, you can add a new module positions through the Template Manager, then add module position.

That's a different approach for Joomla 1.5.x. You have to  add the module position using the templateDetails.xml file. Here's an example.

<>
<>header< /position >
<>hornav< /position >
<>banner< /position >
<>left< /position >
<>right< /position >
<>top< /position >
<>king-position< /position >   see this in action below.
<>ja-login< /position >
<>user1< /position >
<>user2< /position >
< /positions >

Please note, there is no space between <> tag.

This is a sample Joomla 1.5x script code:
< ?php if ($this->countModules('king-position')) : ? >
    <><>include type="modules" name="king-position" style="xhtml" / >< /div >
< ?php endif; ? >
I hope this help, check out www.cmswebsite.com website.

Post a Comment

0 Comments

Comments

Ad Code