Page 1 of 1

Help met Banner module

Posted: Tue Jan 06, 2009 2:26 pm
by Marietje01
Hey!
Ik heb de bannermodule op mijn site, ook al banner toegevoegd enzo maar nu zit ik met hoe ik em dan ook op de site te zien krijg. Deze link {Banners category="categoryname"} moet ik ergens invoegen, maar waar?? In dit gebied neem ik aan:
/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
  height: 160px; /* adjust according your image size */
  background: #81A594;         
}
div#header h1 a {
/* you can set your own image here */
background:#81A594 url(uploads/images/top2.jpg) no-repeat 0 12px;
  display: block;
  height: 150px;            /* adjust according your image size */
  text-indent: -999em;  /* this hides the text */
  text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */

Maar kan iemand me even helpen?
Bedankt!

Re: Help met Banner module

Posted: Tue Jan 06, 2009 3:07 pm
by Rolf
Hallo Marietje,

Zoiets zou kunnen:

- CSS

Code: Select all

div#banners {
float: right;
width: 100px;
}

- Sjabloon

Code: Select all

<div id="header">
                     <div id="banners">
                     {cms_module module='Banners' category="jouw-categorie-naam"}
                     </div>
           <h1>{cms_selflink page="start" text="$sitename"}</h1>
   <hr class="accessibility" />
</div>
Groet, Rolf