I'm trying to set up a banner-rotation script to work within Geeklog. This 'program' is a set of php scripts that use a MySQL database to maintain the ads. It's a simple set of scripts that seems to work pretty well. All I have to do is insert the following line in a web page, and the ads are shown and 'rotated'.
Text Formatted Code
<?PHP include "DisplayBanners.php"; ?>
Now, I'm trying to get this to work within a block. I'm not familiar enough with php or Geeklog to figure this out, so far. Can someone give me some 'hints' as to how to do this?
By the way, I inserted the above line into my theme header.thtml file, and it worked fine. So, I know this can work.
John