test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • ezrahilyer Friend
    #157774

    I would like to remove the date, and headlines, and search bar on the top of the home page on Teline IV, so that there is nothing above the logo, and the banner.
    I found this thread:
    http://www.joomlart.com/forums/topic/date-search-and-text/
    but it is for Teline II, and the mentioned code isn’t in the Index.php file anymore.

    Thanks in advance…
    -Ezra

    aman204 Friend
    #368154

    Change this::

    #ja-topbar .main {template.css (line 556)
    border-bottom:1px solid #CCCCCC;
    color:#999999;
    font:92%/26px Arial,sans-serif;
    }

    to

    #ja-topbar .main {template.css (line 556)
    border-bottom:1px solid #CCCCCC;
    color:#999999;
    display:none;
    font:92%/26px Arial,sans-serif;
    }

    ezrahilyer Friend
    #368187

    That worked Beautifully, thank you ever so much!

    dieudonne Friend
    #391295

    Thanks for the tip.

    But I just want to remove “the date”, the “headlines” and the “last update”. And just keep the search button.
    For the “headlines” it’s ok, I found the right module to disable (JA News Sticker Module), but for the two others ?

    Thank in advance for your help.

    Thanh Nguyen Viet Friend
    #391544

    You need modify this file to do that
    template/ja_teline_iv/blocks/topbar.php

    dieudonne Friend
    #391615

    Thank a lot,

    but is it possible to keep to bottom line ?

    See my screenshot


    1. 2011-05-17-13h26_07
    2. 2011-05-17-13h24_42
    dieudonne Friend
    #391827

    Ok, I found a other solution.
    If you want to make like the screenshot, do this :

    1) topbar.php :
    [PHP]<?php
    /*
    # ————————————————————————
    # JA Teline IV
    # ————————————————————————
    # 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 if($this->countModules(‘headlines’)) : ?>
    <jdoc:include type=”modules” name=”headlines” />
    <?php endif; ?>

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

    [/PHP]

    2) template.css (ligne 689 > 693) :

    #ja-topbar .main {
    /*border-bottom: 1px solid #ccc;*/
    color: #999;
    font: 92%/26px Arial, sans-serif;
    }

    3) template.css (ligne 650 > 656) :

    #ja-search {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc; border-bottom: 1px solid #ccc;
    height: 26px;
    right: 0;
    top: 0;
    }


    1. 2011-05-18-16h47_31
Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 4 voices, and was last updated by  dieudonne 13 years, 7 months ago.

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