Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • Menalto Friend
    #121826

    Open up your template_css.css file and scroll down to the end.
    There you can add this lines:

    /*Extra module*/
    #ja-topmodule {
    float: right;
    margin-top: 30px;
    padding: 0;
    }

    Save it and then open up index.php

    Find line 161 to 172

    <!-- BEGIN: HEADER -->
    <div id="ja-headerwrap">
    <div id="ja-header" class="clearfix">

    <h1>
    <a href="index.php">
    <?php echo $mosConfig_sitename?>
    </a>
    </h1>
    </div>
    </div>
    <!-- END: HEADER -->

    Replace with this:

    <!-- BEGIN: HEADER -->
    <div id="ja-headerwrap">
    <div id="ja-header" class="clearfix">

    <h1>
    <a href="index.php">
    <?php echo $mosConfig_sitename?>
    </a>
    </h1>
    <div id="ja-topmodule">
    <?php if ( mosCountModules("banner2") ) { ?>
    <div class="ja-topmodule">
    <?php mosLoadModules ( "banner2", -1 ); ?>
    </div>
    <?php } ?>
    </div>
    </div>
    </div>
    <!-- END: HEADER -->

    Press save and youre done.
    Then go to the joomla adminpanel and go to Site>Template Manager>Module Positions. There you need to create a new module position caller “banner2”. Press save, and then go to Modules>Site Modules and place the module you want in that position.
    Remember you need to think of the height of the module you want to place there,so it dont break the layout.

    If you wanna adjust the position up & down you can change this:

    margin-top: 30px;

    instantinlaw Friend
    #226315

    Very nice Menalto,
    This should be added to the tutorials section. 🙂

    Menalto Friend
    #226327

    You mean to the new tutorials site?
    I checked there but i havent access to do anything there as it is now.
    So this is my first tutorial so lets keep it here and see if anyone wanna vote for it?He-he

    woom Friend
    #231478

    Menalto President !

    ryanlama Friend
    #235770

    i want to add the tab module right on top of ja news flash and the right.
    how would i go about doing this?
    any kind of help would be much appreciated

    martin.pitonak Friend
    #240985

    men I love you for this one 🙂

    upraiser Friend
    #261489

    Hi,

    Can someone post the same solution for 1.5 syntax ?

    Thanks.

    upraiser Friend
    #261671

    Ok now, I have tried to follow some instructions, but its still ain’t working. Look what I have done:

    The CSS explanation above remains the same. The change that i’ve made in index.php for ver. 1.5 is:


    <!-- BEGIN: HEADER -->
    <div id="ja-headerwrap">
    <div id="ja-header" class="clearfix">

    <h1>
    <a href="index.php">
    <?php echo $tmpTools->sitename();?>
    </a>
    </h1>
    </div>
    <div id="ja-topmodule" class="clearfix">
    <?php if ( $this->CountModules("banner2") ) { ?>
    <div id="ja-topmodule">
    <jdoc:include type="modules" name="banner2" style="raw" />
    </div>
    <?php } ?>
    </div>
    </div>
    <!-- END: HEADER -->

    I have also added the “banner2” position in the templateDetails.xml, and published a Header Module in this banner2 position.

    Still, ain’t working

    When I am doing Template Preview – the module position doesn’t show… Help, Someone ?

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

This topic contains 8 replies, has 6 voices, and was last updated by  upraiser 16 years, 4 months ago.

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