Banners and html and automatic "display: none"

groomedmonkey - May 19, 2009 - 12:35

I am trying to make a simple page for banner exchange that contains the owner's site banner as an inline image and the "banner code" and then a list of other sites' banners that are raw html ("banner codes") typically something like:

<a href="http://othersite.com" title="some1 else's site">
<img src="http://othersite.com/ads/banner.jpg" alt="some1 ele's banner image" />
</a>

Issue #1: preview issue

The first banner is the sites own located at http:/mysite.com/ads/myBanner.jpg. When I add the above code linking my own banner image it won't display on the page when I am logged in but will when I view the page as an anonymous user. What's more confusing is if I add the same code referring to an image/banner on some one else's server it DOES preview properly. A gif on another server won't preview either... If it were consistent seems like it would be easier to troubleshoot... Any ideas wtf is going on?

Issue #2: html code display

How do I paste the raw html snippet above as code? I managed to do it here in this forum post but when I add < code > tags on my site they get ignored and it just displays another banner image/link. I am using the default "Filtered HTML" input type with the only change being an < img > tag added to the allowed list.

Thanks for responses in advance.

Ok Issue #1 is actually

groomedmonkey - May 21, 2009 - 02:23

Ok Issue #1 is actually because of Firefox's Adblocker. So that's solved.

Issue #2 is still at large for me. The code tags aren't doing what they should and I have no idea why. Anybody?

Ok so I don't understand

groomedmonkey - May 22, 2009 - 05:22

Ok so I don't understand Drupal default code tags in the filtered input. Considering that to escape html I have to install a module for code tags?!?! wtf. So what the hell does the code tag in the Filtered Html input do? This should be better stated in the inline Drupal help. Especially since I can see that the code tags work on this forum because this module is installed.

Anyway the module that made me happy and annoyed was found in this thread

And the module is called Code Filter

 
 

Drupal is a registered trademark of Dries Buytaert.