Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • jinnder Friend
    #167899

    I have installed a ja-rasite of joomla 1.5 . and found that If I change the stye to “Light Ocean” , then the extra bar appeared. It’s not appearing in Joomla 1.7 version.
    Here is the example site : http://joomla.tgsh.ttct.edu.tw
    Can anyone tell me how to fix it ?
    I have another official site need to fix it.
    So hope you can show me how to fix it.

    Thanks a lot 🙂

    khoand Friend
    #409111

    Hi,
    You change this code from http://joomla.tgsh.ttct.edu.tw/templates/ja_rasite/css/template.css in the line #1506

    #ja-topsl .ja-box, #ja-botsl .ja-box {
    padding: 0;
    margin-left: -13px; < add this code
    }

    You replace this code from http://joomla.tgsh.ttct.edu.tw/templates/ja_rasite/css/template.css in the line #1743

    #ja-footer {
    clear: both;
    font-size: 92%;
    padding: 10px 0 20px;
    }

    with

    #ja-footer {
    clear: both;
    font-size: 92%;
    padding: 5px 0 20px;
    }

    jinnder Friend
    #409146

    Hi, thanks a lot for your suggestion. I tried as you said. But no effect.
    It comes out that the extra white bar still there.
    And the Layout of user6-10 becomes too close to the left.

    thanks a lot 🙂

    chavan Friend
    #409152

    Go to this File : templatesja_rasitelayoutsblocksfooter.php

    Remove this code from this file

    <!--
    <div class="ja-navhelper wrap">
    <div class="main clearfix">

    <ul class="ja-links">
    <li class="layout-switcher"><?php $this->loadBlock('usertools/layout-switcher') ?> </li>
    <li class="top"><a href="<?php echo $this->getCurrentURL();?>#Top" title="Back to Top">Top</a></li>
    </ul>

    <ul class="no-display">
    <li><a href="<?php echo $this->getCurrentURL();?>#ja-content" title="<?php echo JText::_("Skip to content");?>"><?php echo JText::_("Skip to content");?></a></li>
    </ul>

    </div>
    </div>
    -->

    your issue will be fixed. If this does not fix the issue attach this file [templatesja_rasitelayoutsblocksfooter.php] to your post , I will resolve it for you.

    Note: If you Find my Post useful please click on the Thanks Icon

    khoand Friend
    #409166

    You try this way:
    You add this code into /templates/ja_rasite/css/template.css


    ul.ja-links{
    display:none;
    }

    jinnder Friend
    #409286

    It does works. thanks u very very much 🙂

    jinnder Friend
    #409287

    It works too. precise and clear. tk u very very much 🙂

    <em>@khoand 263392 wrote:</em><blockquote>You try this way:
    You add this code into /templates/ja_rasite/css/template.css


    ul.ja-links{
    display:none;
    }

    </blockquote>

    jinnder Friend
    #409346

    It’s Ok to remove the ja-links on DeskTop computer. But If I am using the mobile to connect to this web page.
    The “Mobile Version” link disappear. So There should be an “IF ELSE” to fix the problem.
    for example : IF “Mobile connection”; ja-links display enabled; ELSE ja-links display disabled;

    But how to write it.

    Thanks a lot 🙂

    chavan Friend
    #409349

    Go to this File : templatesja_rasitelayoutsblocksfooter.php

    Try this Code there

    [PHP]
    <?php
    $mobile_browser = ‘0’;

    if(preg_match(‘/(up.browser|up.link|mmp|symbian|smartphone|midp|wa p|phone)/i’, strtolower($_SERVER[‘HTTP_USER_AGENT’]))) {
    $mobile_browser++;
    }

    if((strpos(strtolower($_SERVER[‘HTTP_ACCEPT’]),’application/vnd.wap.xhtml+xml’)>0) or ((isset($_SERVER[‘HTTP_X_WAP_PROFILE’]) or isset($_SERVER[‘HTTP_PROFILE’])))) {
    $mobile_browser++;
    }

    $mobile_ua = strtolower(substr($_SERVER[‘HTTP_USER_AGENT’],0,4));
    $mobile_agents = array(
    ‘w3c ‘,’acs-‘,’alav’,’alca’,’amoi’,’audi’,’avan’,’benq’,’bird’ ,’blac’,
    ‘blaz’,’brew’,’cell’,’cldc’,’cmd-‘,’dang’,’doco’,’eric’,’hipt’,’inno’,
    ‘ipaq’,’java’,’jigs’,’kddi’,’keji’,’leno’,’lg-c’,’lg-d’,’lg-g’,’lge-‘,
    ‘maui’,’maxo’,’midp’,’mits’,’mmef’,’mobi’,’mot-‘,’moto’,’mwbp’,’nec-‘,
    ‘newt’,’noki’,’oper’,’palm’,’pana’,’pant’,’phil’,’ play’,’port’,’prox’,
    ‘qwap’,’sage’,’sams’,’sany’,’sch-‘,’sec-‘,’send’,’seri’,’sgh-‘,’shar’,
    ‘sie-‘,’siem’,’smal’,’smar’,’sony’,’sph-‘,’symb’,’t-mo’,’teli’,’tim-‘,
    ‘tosh’,’tsm-‘,’upg1′,’upsi’,’vk-v’,’voda’,’wap-‘,’wapa’,’wapi’,’wapp’,
    ‘wapr’,’webc’,’winw’,’winw’,’xda’,’xda-‘);

    if(in_array($mobile_ua,$mobile_agents)) {
    $mobile_browser++;
    }

    if (strpos(strtolower($_SERVER[‘ALL_HTTP’]),’operamini’)>0) {
    $mobile_browser++;
    }

    if (strpos(strtolower($_SERVER[‘HTTP_USER_AGENT’]),’ ppc;’)>0) {
    $mobile_browser++;
    }

    if (strpos(strtolower($_SERVER[‘HTTP_USER_AGENT’]),’windows ce’)>0) {
    $mobile_browser++;
    }
    else if (strpos(strtolower($_SERVER[‘HTTP_USER_AGENT’]),’windows’)>0) {
    $mobile_browser=0;
    }

    if (strpos(strtolower($_SERVER[‘HTTP_USER_AGENT’]),’iemobile’)>0) {
    $mobile_browser++;
    }

    if($mobile_browser>0) {
    ?>
    <div class=”ja-navhelper wrap”> <div class=”main clearfix”> <ul class=”ja-links”> <li class=”layout-switcher”><?php $this->loadBlock(‘usertools/layout-switcher’) ?> </li> <li class=”top”><a href=”<?php echo $this->getCurrentURL();?>#Top” title=”Back to Top”>Top</a></li> </ul> <ul class=”no-display”> <li><a href=”<?php echo $this->getCurrentURL();?>#ja-content” title=”<?php echo JText::_(“Skip to content”);?>”><?php echo JText::_(“Skip to content”);?></a></li> </ul> </div> </div>
    <?php
    }
    ?>

    [/PHP]

    Note: If you Find my Post useful please click on the Thanks Icon

    jinnder Friend
    #409379

    Wa! Great! I tried it and now it’s finally normal at Desktops and Mobiles.
    Thanks a lot & a lot !! :laugh:

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

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

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