test
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • brucetaylor Friend
    #133457

    Whats the best way to split user 5 in to 3 new modules? :confused:

    brucetaylor Friend
    #271073

    (I have already moved L to the left)

    Sherlock Friend
    #271236

    Can i mark this topic is solved ?

    brucetaylor Friend
    #271307

    nguoiabcd,

    I still have the same problem. I am not a developer so I am struggling a bit with this

    Bruce

    Sherlock Friend
    #271309

    can u make some screenshots in more detail about what you want ?

    brucetaylor Friend
    #271315

    Nguoiabcd,

    I was hoping to do something like this with the template – http://www.designandbuild.org/newmodules.jpg

    I have moved the L to the left already, so was hoping to split user 5 up so I can have a number of different modules

    Thanks

    Bruce

    brucetaylor Friend
    #271376

    After looking through the forum, I have added this to the index.php file –

    <?php if ($this->countModules('user5')) { ?>
    <!-- BEGIN: TOPSPOTLIGHT -->
    <div id="ja-topslwrap">
    <div id="ja-topsl">
    <jdoc:include type="modules" name="user5" style="xhtml" />
    </div>
    </div>
    <?php } ?>

    <?php if ($this->countModules('user9')) { ?>
    <div id="ja-topsl">
    <div id="ja-topslwrap">
    <jdoc:include type="modules" name="user9" style="xhtml" />
    </div>
    </div>
    <?php } ?>

    <?php if ($this->countModules('user10')) { ?>
    <div id="ja-topsl">
    <div id="ja-topslwrap">
    <jdoc:include type="modules" name="user10" style="xhtml" />
    </div>
    </div>
    <?php } ?>

    <?php if ($this->countModules('user11')) { ?>
    <div id="ja-topsl">
    <div id="ja-topslwrap">
    <jdoc:include type="modules" name="user11" style="xhtml" />
    </div>
    </div>
    <?php } ?>

    <!-- END: TOPSPOTLIGHT -->

    This displays the modules but they display under user 5/. How can I get them to go to the side?

    I really am a php beginner !! 🙂

    brucetaylor Friend
    #271585

    Nguoiabcd,

    I have just noticed a problem with the left and right menus, I have posted it on –

    http://www.joomlart.com/forums/topic/main-menu-position/

    Any help you or the other mods can give me this will be very greatfully recieved. I am little stuck to say the least ….

    brucetaylor Friend
    #271661

    This is J 1.5 by the way …

    brucetaylor Friend
    #271667

    I am getting somewhere with this, I have added the following into the index.php

    <?php
    $spotlight = array ('user10','user11','user12','user13','user14');
    $topsl = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.9);
    if( $topsl ) {
    ?>
    <!-- BEGIN: TOP SPOTLIGHT -->
    <div id="ja-topslwrap">
    <div id="ja-topsl" class="clearfix">

    <?php if( $this->countModules('user10') ) {?>
    <div class="ja-box<?php echo $topsl['user10']['class']; ?>" style="width: <?php echo $topsl['user10']['width']; ?>;">
    <jdoc:include type="modules" name="user10" style="xhtml" />
    </div>
    <?php } ?>

    <?php if( $this->countModules('user11') ) {?>
    <div class="ja-box<?php echo $topsl['user11']['class']; ?>" style="width: <?php echo $topsl['user11']['width']; ?>;">
    <jdoc:include type="modules" name="user11" style="xhtml" />
    </div>
    <?php } ?>

    <?php if( $this->countModules('user12') ) {?>
    <div class="ja-box<?php echo $topsl['user12']['class']; ?>" style="width: <?php echo $topsl['user12']['width']; ?>;">
    <jdoc:include type="modules" name="user12" style="xhtml" />
    </div>
    <?php } ?>

    <?php if( $this->countModules('user13') ) {?>
    <div class="ja-box<?php echo $topsl['user13']['class']; ?>" style="width: <?php echo $topsl['user13']['width']; ?>;">
    <jdoc:include type="modules" name="user13" style="xhtml" />
    </div>
    <?php } ?>

    <?php if( $this->countModules('user14') ) {?>
    <div class="ja-box<?php echo $topsl['user14']['class']; ?>" style="width: <?php echo $topsl['user14']['width']; ?>;">
    <jdoc:include type="modules" name="user14" style="xhtml" />
    </div>
    <?php } ?>

    </div>
    </div>
    <!-- END: TOP SPOTLIGHT -->
    <?php } ?>

    In IE 7.0 it looks fine. See –

    when I look at firefox or chrome I get this –

    brucetaylor Friend
    #271856

    Finally fixed it 🙂

    I changed

    #ja-topsl div.moduletable {
    padding: 0;
    margin: 0;
    width: 100%;
    position: absolute
    top: 20px;
    }

    to this

    #ja-topsl div.moduletable {
    padding: 0;
    margin: 0;
    width: 100%;
    position: relative;
    top: 20px;
    }

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

This topic contains 11 replies, has 2 voices, and was last updated by  brucetaylor 16 years, 3 months ago.

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