HI there!
Working with your products have been a real pleasure - thank you!
I would like to ask a question. ON the homepage I need to have a slider run where the top image/logo/background graphic is located.
I would like to know how to add the module there. I mean, I know how to add a module, I guess I'm asking you as I think the positions were moved from default and I don't know how to set this up. What is the position you used for this content?
Thanks,
Meredith
Graphic at top
-
- Phoca Member
- Posts: 14
- Joined: 13 Jan 2009, 19:39
Re: Graphic at top
YOu know, I got to looking some more and I've pulled this code - it's the part I want to add the slider to as the background:
I've checked the default layout for Joomla and there really there isn's a position for the entire area like I need. Any suggestions....
Code: Select all
<div class="box">
<div class="logo"><a href="<?php echo $this->baseurl ?>"><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/logo.gif" alt="<?php echo $mainframe->getCfg('sitename') ;?>" /></a></div>
<?php if ($this->countModules('search')) : ?>
<jdoc:include type="modules" name="search" style="raw" />
<?php endif; ?>
<?php if ($this->countModules('banner')) : ?>
<div class="banner" >
<jdoc:include type="modules" name="banner" />
</div>
<?php endif; ?>
<?php if ($this->countModules('user4')) : ?>
<div class="user4">
<jdoc:include type="modules" name="user4" />
</div>
<?php endif; ?>
</div>
- Jan
- Phoca Hero
- Posts: 48536
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Graphic at top
Hi, which position you need? if there is no position you need, just paste some name position into the module,e.g.:
my-position and then paste the code for your position into the html (where you want):
my-position and then paste the code for your position into the html (where you want):
Code: Select all
<?php if ($this->countModules('banner')) : ?>
<div class="my-class" >
<jdoc:include type="modules" name="my-position" />
</div>
<?php endif; ?>
If you find Phoca extensions useful, please support the project