Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • tphmedia Friend
    #151514

    client would like the slide show above the menu. How do I make a module in the header?

    toymaker Friend
    #345576

    You can either change the position of your module to the header which is pretty straight forward (no coding required), or you can switch the DIV containers inside your layout file. Let mw know if you want to go for the second option and I can post some code for you.

    Peace,
    Gabriel

    tphmedia Friend
    #345580

    need a new module position. “ja-header” does not disply. code would be greatly appreciated and STEPS !

    Saguaros Moderator
    #345676

    Dear tphmedia!

    Pls can you pls give me the snapshot and draw same shares on the expertly position . i ‘ll give you the solution

    Thanks

    tphmedia Friend
    #345718

    I need a module that will enable slideshow II to display ABOVE the menu.

    Would be even cooler if it would display BEHIND the logo 🙂

    Here’s a snapshot of the site with the blank header. I’ve edited the CSS to make the header area larger.


    1. header
    Saguaros Moderator
    #345774

    Dear tphmedia!

    Here is the soluton for your : pls open the file: templates/ja_urani/layouts/header.php
    and try to find the following code:
    [PHP]
    <?php
    $siteName = $this->sitename();
    if ($this->getParam(‘logoType’)==’image’): ?>
    <h1 class=”logo”>
    <a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>
    </h1>
    <?php else:
    $logoText = (trim($this->getParam(‘logoType-text-logoText’))==”) ? $config->sitename : $this->getParam(‘logoType-text-logoText’);
    $sloganText = (trim($this->getParam(‘logoType-text-sloganText’))==”) ? JText::_(‘SITE SLOGAN’) : $this->getParam(‘logoType-text-sloganText’);?>
    <div class=”logo-text”>
    <h1><a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $logoText; ?></span></a></h1>
    <p class=”site-slogan”><?php echo $sloganText;?></p>
    </div>
    <?php endif; ?>
    <?php if($this->countModules(‘search’)) : ?>
    <div id=”ja-search”>
    <jdoc:include type=”modules” name=”search” />
    </div>
    <?php endif; ?>
    [/PHP]
    and replace:
    [PHP]
    <?php if ( $this->countModules(‘my-top’) ):?>
    <div id=”my-top” class=”clearfix”>
    <jdoc:include type=”modules” name=”my-top” />
    </div>
    <?php endif;?>
    <div class=”clearfix” style=”position:relative”>
    <?php
    $siteName = $this->sitename();
    if ($this->getParam(‘logoType’)==’image’): ?>
    <h1 class=”logo”>
    <a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>
    </h1>
    <?php else:
    $logoText = (trim($this->getParam(‘logoType-text-logoText’))==”) ? $config->sitename : $this->getParam(‘logoType-text-logoText’);
    $sloganText = (trim($this->getParam(‘logoType-text-sloganText’))==”) ? JText::_(‘SITE SLOGAN’) : $this->getParam(‘logoType-text-sloganText’);?>
    <div class=”logo-text”>
    <h1><a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $logoText; ?></span></a></h1>
    <p class=”site-slogan”><?php echo $sloganText;?></p>
    </div>
    <?php endif; ?>
    <?php if($this->countModules(‘search’)) : ?>
    <div id=”ja-search”>
    <jdoc:include type=”modules” name=”search” />
    </div>
    <?php endif; ?>
    </div>
    [/PHP]
    2) now you have a new position named is my-top position, you can put modules in there

    Goodluck

    tphmedia Friend
    #345879

    Thanks… that worked.

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

This topic contains 7 replies, has 3 voices, and was last updated by  tphmedia 14 years, 5 months ago.

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