Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • tphmedia Friend
    #156673

    Please provide exact instructions for adding a module to the header section.

    Css Magician Friend
    #364023

    Dear tphmedia,

    In order to add a module to the header section, please open templatesja_portfolioblocksheader.php and edit as follow:

    change lines 31


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

    to


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

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

    and please style for it.

    tphmedia Friend
    #364570

    THANK YOU! I had done this and it didn’t work. After comparing my change to yours, I found ONE PLACE where I didn’t change the name of the module: :-[ Ahhhh, the blonde moments!

    Css Magician Friend
    #364619

    Dear tphmedia,

    I only get a solution for you. But I can’t know what is your module, what is your module class name, what is your concept…and I can’t see your site, so that when you have problem, I can’t get more.

    Please provide your link to me, I will check and close your issuse.

    tphmedia Friend
    #370982

    I got it to work! You can mark this solved now!

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

This topic contains 5 replies, has 2 voices, and was last updated by  tphmedia 13 years, 10 months ago.

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