I am having a problem with the banners module on a few sites I maintain with CivicSpace 8.2/Drupal 4.6.
(I tried posting this a view times, so I will try modifying the script and etc stuff so that the forum topic is accepted)
The test banner I created displays okay in the banner administration. I had to play with chmod, but i'ts fine.
We are using a modfied version of CivicSpace, and I would eventually like to display banners as part of the theme, but I can't get banners to even display in a block.
I created a block that is set for PHP code and the contents are:
Banner Test
<? p h p $Test='PHP'; echo $Test ?>
<? p h p
print banner_display(0);
?>
When I display the block, I see Banner Test PHP, so PHP is being evaluated. I have tried both the return and print function and have used a parameter of zero and no parameter at all. In no case do I see the banner.
When I viewed the source of the main page I saw:
Banner Test
PHP<s c r i p t type="text/javascript" language="j a v a s c r i p t" src="http://www.drenchedfur.com/banner_file.php?pos=0&path=files&tid=&max=1"></ s c r i p t>
When I pasted the source into another browser window, I got a blank screen, which is probably a symptom of whatever the underlying problem is.
I do have banner_db.php and banner_file.php in my Drupal root director