Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • meghneu Friend
    #117042

    It does NOT seem possible to have banner ads (ads is possible at the left/right column) in this template at the middle column like the default template of joomla which shows an ad in the banner position.

    This template is the best I have liked so far and I have already used it very heavily; implies I cannot switch (the other newer templates also don’t seem to have this position enabled). Can there be a quick fix to include such a position (please)? The banner position does already exists in joomla CMS, I think all you need is some coding somewhere in the index.php (I could have done that myself but I am a newbie to php:p ).

    E.g: I am using 3-column version of ja_spica. Take a look: http://www.msiguide.com I want to have a horizontal banner ad exactly at the position of THE HEADLINES (the top position on main content) with the standard size of 468*60 or similar.

    Thanks in advance.

    Hung Dinh Friend
    #210191

    Around line #132 in the index.php file of the template, find this


    <?php mosMainBody(); ?>

    Add the folllowing code above


    <?php if ( mosCountModules('banner') ) { ?>
    <div class="banner">
    <?php mosLoadModules ( 'banner',-2 ); ?>
    </div>
    <?php } ?>

    You can add more css properties to css file so that you can define the stylesheet for your banner. Eg:


    div.banner {
    border: 0px,
    }

    meghneu Friend
    #210194

    Thanks Hung. Works like a champ.

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

This topic contains 3 replies, has 2 voices, and was last updated by  meghneu 18 years, 3 months ago.

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