test
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • gerdnk Friend
    #149333

    Hello,

    First, I want to thank joomlart staff for making best joomla templates! 😎
    You help my web ideas come alive.

    Second, I have a question about adding new module positions to JA MESOLITE II.
    I’d like to add module positions named (let’s say) user1, user2 and user3 shaped like already existing user6, user7 and user8 positions and put it under existing mass-top position.

    I’ve made a picture so you can easily say what i want to do:
    http://img411.imageshack.us/img411/5229/newmodulepositions.jpg

    Thank you for your time,

    Dino

    Anonymous Moderator
    #335759

    Hi you

    In the case, please open templatesja_mesolite_iilayoutsblocksmain.php file, at about line 26, find following code section:

    [PHP]<?php
    $content_top = $this->getPositionName (‘content-top’);
    if($this->countModules($content_top)) : ?>
    <div class=”ja-content-top clearfix”>
    <jdoc:include type=”modules” name=”<?php echo $content_top;?>” style=”JAxhtml” />
    </div>
    <?php endif; ?>[/PHP]

    and add following code section after this code:

    [PHP]
    <?php
    $spotlight = array (‘user1′,’user2′,’user3′);
    $mainbotsl = $this->calSpotlight ($spotlight,100,50,’right’);
    if( $mainbotsl ) :
    ?>
    <!– mainbotsl –>
    <div id=”ja-mainbotsl” class=”clearfix”>

    <?php if( $this->countModules(‘user1’) ): ?>
    <div class=”ja-box column ja-box<?php echo $mainbotsl[‘user1’][‘class’]; ?>” style=”width: <?php echo $mainbotsl[‘user1’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user1″ style=”JAxhtml” />
    </div>
    <?php endif; ?>

    <?php if( $this->countModules(‘user2’) ): ?>
    <div class=”ja-box column ja-box<?php echo $mainbotsl[‘user2’][‘class’]; ?>” style=”width: <?php echo $mainbotsl[‘user2’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user2″ style=”JAxhtml” />
    </div>
    <?php endif; ?>

    <?php if( $this->countModules(‘user3’) ): ?>
    <div class=”ja-box column ja-box<?php echo $mainbotsl[‘user3’][‘class’]; ?>” style=”width: <?php echo $mainbotsl[‘user3’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user3″ style=”JAxhtml” />
    </div>
    <?php endif; ?>

    </div>
    <!– //mainbotsl –>
    <?php endif; ?>
    [/PHP]

    alssafeer Friend
    #342926

    thanks,

    How if i want make new position on the header for “Language Selection”

    http://www.joomlart.com/forums/attachment.php?attachmentid=7646&stc=1&d=1273243736


    1. position-Language-Selection
    Saguaros Moderator
    #343874

    Dear alssafeer!

    Pls open the file: templates/ja_mesolite_ii/layouts/blocks/header,php and find the following css:

    <div id=”ja-vmcurrency”>
    <jdoc:include type=”modules” name=”top” style=”xhtml” />

    </div>

    replace:

    <div id=”ja-vmcurrency”>
    <div class=”left”>
    <jdoc:include type=”modules” name=”top-left” style=”xhtml” />
    </div>
    <div class=”right”>

    <jdoc:include type=”modules” name=”top” style=”xhtml” />
    </div>

    </div>

    2) and add the following css into the template.css file

    #ja-vmcurrency .left{
    float:left;
    width:100px;
    padding-left:12px
    }

    GOod luck

    alssafeer Friend
    #343927

    Thank You tienhc,

    I doit, but i cant find “top-left” on the Position dropdown box !

    Saguaros Moderator
    alssafeer Friend
    #343933

    Thank You 🙂

    now all on the header… but i think CSS need to set up..

    http://www.electroon.com/site/index.php?lang=en

    #ja-vmcurrency {
    width: 300px;
    position: absolute;
    top: 20px;
    right: 2300px;
    height: 65px;
    border-right: 1px solid #E6E6E6;
    }

    #ja-vmcurrency div.moduletable {
    padding: 15px 0 0 15px;
    border: none;
    }

    #ja-vmcurrency div.moduletable h3 {
    background: none;
    border: none;
    margin: 0 0 10px;
    padding: 0;
    }

    #ja-vmcurrency .left{
    float:left;
    width:100px;
    padding-left:12px
    }

    Saguaros Moderator
    #344107

    Dear YOu open the file template.css #ja-vmcurrency {
    width: 300px;
    position: absolute;
    top: 20px;
    right: 300px;
    height: 65px;
    border-right: 1px solid #E6E6E6;
    } replace: #ja-vmcurrency {

    position: absolute;
    top: 20px;
    right: 300px;
    height: 65px;
    border-right: 1px solid #E6E6E6;
    } and add the following css into the template.css #jflanguageselection {
    margin:5px 0 0 0px;
    }

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

This topic contains 8 replies, has 4 voices, and was last updated by  Saguaros 14 years, 7 months ago.

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