-
AuthorPosts
-
May 18, 2011 at 5:59 pm #164158
How do I add a module position next to the top module position? I have tried the other tutorials but it keeps putting the new module below or above the top module (JA Slideshow). I want it to be inline with it. Attached is an image of what I am trying to accomplish. Any guidance will be appreciated.
This is for JA Kyanite II on Joomla 1.5…
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 21, 2011 at 6:53 am #392197Hi,
You replace this code from templatesja_kyanite_iilayoutsblockstopsl.php file
<jdoc:include type="modules" name="top" style="raw" />
with
<?php
$t = array ('top','top2');
$tops = $this->calSpotlight ($t,100);
?>
<?php if( $this->countModules('top') ): ?>
<div class="ja-box column ja-box<?php echo $tops['top']['class']; ?>" style="width: <?php echo $tops['top']['width']; ?>;">
<jdoc:include type="modules" name="top" style="raw" />
</div>
<?php endif; ?>
<?php if( $this->countModules('top2') ): ?>
<div class="ja-box column ja-box<?php echo $tops['top2']['class']; ?>" style="width: <?php echo $tops['top2']['width']; ?>;">
<jdoc:include type="modules" name="top2" style="raw" />
</div>
<?php endif; ?>
1 user says Thank You to khoand for this useful post
AuthorPostsViewing 2 posts - 1 through 2 (of 2 total)This topic contains 2 replies, has 2 voices, and was last updated by khoand 13 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Adding a module position next to the top module (Slideshow)
Viewing 2 posts - 1 through 2 (of 2 total)