3
Quote:
2. SIDE BLOCK BANNERS
How can I display rotating display of banners in a side block as well as at the top of the page?
You won't want to mix horizontal (ex: 468x60) banners with verticle banners (ex: 120x600), but if you only want to display verticle banners on your site, you can use the following code in a custom block.
echo ('');
global $xoopsConfig;
if ($xoopsConfig['banners'] == 1) {
//Display Banner
echo (xoops_getbanner());
}
echo ('');
Hope this helps.
James
Insanity can be defined as "doing the same thing over and over and expecting different results."
Stupidity is not a crime. Therefore, you are free to go.