test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • rsystems Friend
    #185950

    Hi all,

    What is the best way to create 2 extra custom position modules?

    I’d like to put a company slogan on the left, and a K2 search box on the right, in the black, unused, area in the header:

    Any tips / tutorials?

    Ninja Lead Moderator
    #487051

    You can follow my suggestion below

    + Open templates/ja_tiris/blocks/header.php file

    from


    <?php if($this->countModules('call-toll-free')) : ?>
    <div id="ja-toll-free">
    <jdoc:include type="modules" name="call-toll-free" />
    </div>
    <?php endif; ?>

    change to


    <?php if($this->countModules('slogan')) : ?>
    <div id="ja-slogan">
    <jdoc:include type="modules" name="slogan" />
    </div>
    <?php endif; ?>
    <?php if($this->countModules('k2search')) : ?>
    <div id="ja-k2search">
    <jdoc:include type="modules" name="k2search" />
    </div>
    <?php endif; ?>
    <?php if($this->countModules('call-toll-free')) : ?>
    <div id="ja-toll-free">
    <jdoc:include type="modules" name="call-toll-free" />
    </div>
    <?php endif; ?>

    + Open templates/ja_tiris/css/template.css file

    add new script


    #ja-slogan {
    float: right;
    font-size: 92%;
    padding-right: 560px;
    }

    #ja-k2search {
    float: right;
    font-size: 92%;
    padding-right: 320px;
    }

    + Make both module appear with them

    + Clear cache from Admin area

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

This topic contains 2 replies, has 2 voices, and was last updated by  Ninja Lead 11 years, 9 months ago.

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