I have learned from Google that how to add new module position to template, as following:
Step one,open index.php file:
Code: Select all
<jdoc:include type="modules" name="yournewposition" />
Another step one,
Code: Select all
<?php if($this->countModules('your-position-name')) : ?>
<jdoc:include type="modules" name="your-position-name" style="none" />
<?php endif; ?>
Step two, open templatedetails.xml :
Code: Select all
<position>your-position-name</position>
For example, I want to add a new position for btslideshow module. The position will be between position "left" and "right".Then how to write code insert index.php file? I also learn that if you want to place new position after position "left", then you need to add code behind code of "left" in index.php, is that right?
You do not have the required permissions to view the files attached to this post.