how add this?

Discussion in 'Joomla' started by web@master24, May 25, 2010.

  1. #1
    Hello, im a newie in joomla and i need add a banner between a logo and search box in the template, something like this:

    [​IMG]

    im attach the html of the theme, but i dont find where i can place, i hope somebody can help me, thanks
     

    Attached Files:

    web@master24, May 25, 2010 IP
  2. womenshealth

    womenshealth Greenhorn

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    Sometimes playing with the Joomla template code can be tricky. One thing for sure is you have to move the 'banner' code somewhere between lines 68-86...and more than likely after the <?php else: ?>

    Try pasting the banner code right after the logo code. If I'm correct...if you paste the banner code with the logo or search code...it won't come out right.

    If something doesn't align correctly....I would look the the CSS files. It's probable have something to do with the logo, banner or search style.

    The style for the banner is: top-banner
    The style for the logo is : logo
    The style for the search is: searchmod


    This is all the code calling your banner:

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

    This is all your code calling your logo:

    <?php if($show_logo == "true") : ?>
    <a href="<?php echo $this->baseurl; ?>" class="nounder"><img src="<?php echo $template_path; ?>/images/blank.gif" border="0" alt="" id="logo" /></a>
    <?php else: ?>
    <div class="logo-module">
    <jdoc:include type="modules" name="icon" style="xhtml" />
    </div>
    <?php endif; ?>

    This is the code calling your search:

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

    I hope I didn't confuse you more...

    Best of Luck!
     
    womenshealth, May 25, 2010 IP
  3. Jrhodes

    Jrhodes Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    This is correct but PLEASE ADVISE: most templates this does work on but their are issues on some of the older templates found at joomlart
     
    Jrhodes, May 26, 2010 IP
  4. web@master24

    web@master24 Active Member

    Messages:
    418
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    90
    #4
    Thanks, that help me a lot, i could put the banner in the right place, thanks

     
    web@master24, May 26, 2010 IP