Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • beuvema Friend
    #149047

    I am trying to implement mod_jacpanel.zip into JA_Raite. I read trhough several posts including http://www.joomlart.com/forums/topic/ja-control-panel-userguide/ But I can’t get it to work.

    here is what I did

    I installed the mod and activated it.
    created a module position

    And then I got stuck, I tried to implement the code to show, but I don’t know where to put it as it does not show in the front page.

    Anyone with suggestions?

    Saguaros Moderator
    #334281

    Dear beuvema!

    Pls resolve this as following:
    1) please open the file templates/ja_rasite/layout/default.php and try to find codes:
    [PHP]
    <!– HEADER –>
    <?php $this->loadBlock(‘header’) ?>
    <!– //HEADER –>

    <!– MAIN NAVIGATION –>
    <?php $this->loadBlock(‘mainnav’) ?>
    <!– //MAIN NAVIGATION –>
    [/PHP]
    >> replace:
    [PHP]
    <div id=”ja-cpanel-top” class=”wrap”>
    <div class=”main clearfix”>
    <?php if ($this->countModules(‘login’)) { ?>
    <div id=”ja-login” >
    <jdoc:include type=”modules” name=”login” style=”raw” />
    </div>
    <?php } ?>
    </div>
    </div>

    <!– MAIN NAVIGATION –>
    <?php $this->loadBlock(‘mainnav’) ?>
    <!– //MAIN NAVIGATION –>

    <!– HEADER –>
    <?php $this->loadBlock(‘header’) ?>
    <!– //HEADER –>
    [/PHP]
    2) open the file: templatesja_rasitelayoutsblocksmainnav.php and find codes at line 3:
    [PHP]<?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu ($this->getParam(‘startlevel’,0), $this->getParam(‘endlevel’,-1)); ?>[/PHP]
    replace:
    [PHP]
    <?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu ($this->getParam(‘startlevel’,0), $this->getParam(‘endlevel’,-1)); ?>
    <div class=”control-button”>
    <jdoc:include type=”modules” name=”ja-cpanel” style=”raw” />
    </div>
    [/PHP]
    3) open the file: templatesja_rasitecsstemplate.css and the following codes at end of file:

    /* Cpanel */
    .button-cpanel-switcher {
    clear: both;
    }

    .ja-cpanel-switcher {
    position: absolute;
    right: -145px;
    bottom: -10px;
    color: #858585;
    width: 22px;
    height: 22px;
    text-decoration: none;
    font-size: 95%;
    font-weight: bold;
    text-indent: -5000px;
    }

    #ja-cpanel a {
    outline: none;
    }

    .hide {
    background: url(../images/cpanel-hide.png) no-repeat center center;
    }

    .show {
    background: url(../images/cpanel-show.png) no-repeat center center;
    }

    #ja-cpanel-top {
    background-color: #000;
    }

    #ja-cpanel-top .main {
    position: static !important;
    }

    .cpanel-top .hide {
    background: url(../images/cpanel-hide.png) no-repeat center center;
    }

    .cpanel-top .show {
    background: url(../images/cpanel-show.png) no-repeat center center;
    }

    #ja-cpanel-top-switcher {
    bottom: auto;
    top: -1px;
    background-color: #900;
    }

    b) find code at line 1235:

    /* Main Nav —*/
    #ja-mainnav {
    background: url(../images/mainnav-bg.gif) repeat-x left top;
    font-family: Tahoma, Verdana, Tahoma, sans-serif;
    height: 46px;
    line-height: 1;
    padding-top: 10px;
    position: absolute;
    top: 0;
    z-index: 900;
    }

    replace:

    /* Main Nav —*/
    #ja-mainnav {
    background: url(../images/mainnav-bg.gif) repeat-x left top;
    font-family: Tahoma, Verdana, Tahoma, sans-serif;
    height: 46px;
    line-height: 1;
    padding-top: 10px;
    position: relative;
    top: 0;
    z-index: 900;
    }

    c) find code at line 1283:

    #ja-header {
    position: relative;
    margin-top: 46px;
    z-index: 10;
    }

    replace:

    #ja-header {
    position: relative;
    z-index: 10;
    }

    4) install the jacpanel (mod_jacpanel.zip ) module on the ja-cpanel position:
    5) put expectly modules on the login position

    good luck

    beuvema Friend
    #334505

    Thx, tienhc! looks good! I am going to implement it first thing in the morning.
    Let you know the result.

    Kind regards
    Beuvema

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

This topic contains 3 replies, has 2 voices, and was last updated by  beuvema 14 years, 9 months ago.

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