Hello, im a newie in joomla and i need add a banner between a logo and search box in the template, something like this: im attach the html of the theme, but i dont find where i can place, i hope somebody can help me, thanks
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!
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