Hi,
first I need to say thank you for a wellcoded template!
I need to use the banner module and have search the forums for a solution for PHPTemplate and FriendsElectric, but found none. I primarily want a banner in the head section of my page, to the right of the logotype.
I've tried several calls along the lines of return banner_display(0); (the official suggestion), echo banner_display(0); , print banner_display(0); and also various if-statements I found while looking at the code for the FriendsElectric template. (I don't know anything about PHP code so I have been just experimenting)
All these experiments had one of two outcomes; either nothing happened, or everything below the code snippet disappeared when the page rendered.
Finally, being better att CSS than PHP I have hardcoded one banner into the head seaction of the template, just below the site logo code, like this:
<a href="/?=donate"> <div id="banner"></div> </a>
With the CSS:
#banner
{
float: left;
width: 500px;
height: 100px;
z-index: 200;
margin: -100px 0 0 230px;
background-image: url(../../../files/images/banner1.gif);
background-repeat: no-repeat;
}It works for now, but very soon I'm starting to develop a big commercial site and then I need the banner module working. I would very much want to continue using Drupal, PHPTemplate and FriendsElectric. Since other people also have asked for code that works with the banner_module, could you suggest something that would get it to show? Or even supply a patch?
Hope for the best!
Ayza