Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • jmdaniels16 Friend
    #155884

    We are almost ready to launch an intranet site using JA Droid. But, the top menu really needs something on the top right and left – too much blue. I really like the two modules that are in JA social – the date & tiime of the top right and the ability to put a login button on the top right. Is that possible to do in ja droid?

    Thanks, Jeanne

    Saguaros Moderator
    #361242

    You create a new file name “topbar.php” in the templatesja_droidblocks and go to the configuration of this template

    and put the following code into this:
    [PHP]
    <?php
    /*
    # ————————————————————————
    # JA Social Template
    # ————————————————————————
    # Copyright (C) 2004-2009 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
    # @license – Copyrighted Commercial Software
    # Author: J.O.O.M Solutions Co., Ltd
    # Websites: http://www.joomlart.comhttp://www.joomlancers.com
    # This file may not be redistributed in whole or significant part.
    # ————————————————————————
    */
    ?>
    <?php $this->genBlockBegin ($block) ?>

    <p class=”ja-day”>
    <?php
    echo “<span class=”day”>”.date (‘l’).”</span>”;
    echo “<span class=”date”>, “.date (‘M’).” “.date (‘d’).date (‘S’).”</span>”;
    ?>
    </p>
    <p class=”ja-updatetime”><span><?php echo JText::_(‘Last update’)?></span><em><?php echo T3Common::getLastUpdate(); ?></em></p>

    <?php if($this->countModules(‘ja-login’)) : ?>
    <div id=”ja-headtools” class=”ja-headtool”>
    <ul>
    <jdoc:include type=”modules” name=”ja-login” />
    </ul>
    </div>
    <?php endif; ?>

    <?php $this->genBlockEnd ($block) ?>

    [/PHP]

    => Click to the Layout tab and then you re-configure the Defualt layout:

    you find:
    [PHP] <block name=”top-panel” type=”modules” style=”raw” main-inner=”1″>top-panel</block>[/PHP]
    and replace:
    [PHP]
    <block name=”top-panel” type=”modules” style=”raw” main-inner=”1″>top-panel</block>
    <block name=”topbar” type=”topbar”></block>
    [/PHP]
    and add the following code into the template.css fle:

    /* Top bar —*/
    #ja-topbar {
    border-bottom: 1px solid #2985A8;
    color: #BAE1EF;
    font-size: 11px;
    position: absolute;
    top: 0;
    z-index: 16;
    background: url(../images/header-bg2.gif);
    }

    #ja-topbar .main {
    height: 28px;
    line-height: 28px;
    }

    #ja-topbar .ja-day {
    background: url(../images/sep-w.gif) no-repeat right center;
    display: block;
    float: left;
    margin-left: 15px;
    padding-right: 10px;
    }

    #ja-topbar .ja-updatetime {
    float: left;
    padding: 0 10px;
    }

    #ja-topbar .ja-updatetime em {
    margin-left: 5px;
    font-style: normal;
    color: #fff;
    }

    You can find those image of the css into the ja_social template, or remove it 🙂

    jmdaniels16 Friend
    #361283

    Thank you so much! This worked great for the date & time. I also copied the html code from the post below to get the login to show on the right. This worked out geat!

    http://www.joomlart.com/forums/topic/login-and-top-panel-from-ja-social-added-in-ja-portfolio/

    Dean Howarth Friend
    #362682

    Hi I have implemented this ad it works well although the “Create Account” link displays behind my menu, any thoughts on how I can fix this?
    http://www.c2conline.com.au/helpdesk/submit-http://www.c2conline.com.au/helpdesk/submit-http://www.c2conline.com.au/helpdesk/submit-ticket

    Saguaros Moderator
    #362981

    <em>@deanandeva 203325 wrote:</em><blockquote>Hi I have implemented this ad it works well although the “Create Account” link displays behind my menu, any thoughts on how I can fix this?
    http://www.c2conline.com.au/helpdesk/submit-http://www.c2conline.com.au/helpdesk/submit-http://www.c2conline.com.au/helpdesk/submit-ticket</blockquote>

    You open the template.css file:
    and find:

    #ja-mainnav {
    background: url(../images/mainnav-bg.gif) repeat-x left top #18223B;
    border-top: 1px solid #3C5189;
    position: relative;
    z-index: 22;
    }

    replace:

    #ja-mainnav {
    background: url(../images/mainnav-bg.gif) repeat-x left top #18223B;
    border-top: 1px solid #3C5189;
    position: relative;
    z-index: 10;
    }

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

This topic contains 5 replies, has 3 voices, and was last updated by  Saguaros 14 years ago.

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