Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • lynndickerson Friend
    #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 Developer
    #209538

    Hi 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-Viet

    lynndickerson Friend
    #209542

    Ahh! 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!

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  lynndickerson 17 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum