test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • osemollie Friend
    #161538

    I wish to create a news headlines module located at the top of the page, above the main menu items. May you please help me implement this solution?

    Thanks in advance!

    khoand Friend
    #381713

    <em>@osemollie 228110 wrote:</em><blockquote>I wish to create a news headlines module located at the top of the page, above the main menu items. May you please help me implement this solution?

    Thanks in advance!</blockquote>

    Hi,
    You do following steps:
    – Add this code into <joomla url>templatesja_ravecsstemplate.css file


    /* Headlines Module ---*/
    .ja-healineswrap { float: left; overflow: hidden; width: 380px; }

    .ja-healineswrap em {
    color: #999;
    display: block;
    float: left;
    font-style: normal;
    font-weight: bold;
    padding: 0 5px 0 10px;
    }

    .ja-headlines { float: left; height: 26px; }

    .ja-headlines a { color: #000; padding: 1px 5px; text-transform: none; }

    .ja-headlines a:hover, .ja-headlines a:active, .ja-headlines a:focus { background: #000; color: #fff; text-decoration: none; }

    .ja-headlines .separator { color: #999; }

    /* Top Bar ---*/
    #ja-topbar { height: 26px; position: absolute; top: 0; z-index: 11; }

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

    – Open <joomla url>templatesja_ravetemplateDetails.xml file, add this code

    <position>headlines</position>

    before

    </positions>

    – Create <joomla url>templatesja_teline_ivblockstopbar.php file with content


    <?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.com - http://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; ?>

    – Edit JA_Rave – Default template, choose layout tab–>edit default layout. Add this code

    <block name="topbar" type="topbar"></block>

    before

    <block name="mainnav" type="mainnav"></block>

    – Install & publish JA News Sticker Module. Set it’s position is headlines

    osemollie Friend
    #381840

    It WORKED!

    Thanks very much!

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

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

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