-
AuthorPosts
-
June 8, 2006 at 7:31 pm #116757
Hi,
I have installed th JA Pluto Brite Ex on my site at http://www.pacecomputer.com.
I noticed some problems and thought I would ask about it here as I am no CSS wiz.
Anyway, In IE6, the spotlight tab named Popular is right justified in IE6. In both Firefox and IE6 the title doesn’t stretch all the way across like it does in the other tabs.
In order to view the JA Pluto template you’ll have to scroll down to the template chooser and select ja_pluto_ex as it is not my default template yet.
Thanks
Edit
I fixed the justification problem. The user6 module position gets loaded last. I changed the html for loading the modules like so:
<blockquote> if ( mosCountModules( ‘user1’) || mosCountModules( ‘user2’) || mosCountModules( ‘user6’) ) { ?>
<div class=”stretcher” id=”stretcher-3″>
<?php if ( mosCountModules( ‘user1’) ) { ?>
<div class=”col”>
<?php mosLoadModules(‘user1’,-2); ?>
</div>
<?php } ?>
<?php if ( mosCountModules( ‘user2’) ) { ?>
<div class=”col”>
<?php mosLoadModules(‘user2’,-2); ?>
</div>
<?php } ?>
<?php if ( mosCountModules( ‘user6’) ) { ?>
<div class=”col”>
<?php mosLoadModules(‘user6’,-2); ?>
</div>
<?php } ?>
</div>
<?php } ?>
</blockquote>The title still doesn’t stretch all the way across though.
ha le-viet Developerha le-viet
- Join date:
- April 2006
- Posts:
- 415
- Downloads:
- 0
- Uploads:
- 26
- Thanked:
- 5 times in 1 posts
June 9, 2006 at 1:55 am #209538Hi Lynn,
You don’t have to add <div class=”col”> if you have only one element in your tab. You can also remove two modules (I don’t know exactly what are its numbers) as I see you just want to use “Popular Module” in your 3rd tab.
So change your code to:
if ( mosCountModules( 'user1') ) { ?>
<div class="stretcher" id="stretcher-3">
<?php if ( mosCountModules( 'user1') ) {
mosLoadModules('user1',-2);
} ?>
</div>
<?php } ?>
Consider the “user1” module is the “Popular Module”.
Regards,
Ha Le-VietJune 9, 2006 at 1:28 pm #209542Ahh! Yes, I modelled it after what was there and didn’t think to check if there was something I didn’t need.
I didn’t use user1 because it would interfere with other templates I have.
Everthing looks good now.
Thanks!
-
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by lynndickerson 18 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum