HTML Nugget and Javascript

Creating and modifying plugins.
Post Reply
DaveH
Posts: 4
Joined: Fri Sep 10, 2004 11:33 pm

HTML Nugget and Javascript

Post by DaveH » Fri Sep 10, 2004 11:37 pm

Hi,

I'm new to Serendipity and want to add ad code (javascript for phpAds) to my page. When I paste it into the HTML nugget, I see the code on the page, rather than the ad.

I think I have some setting wrong, but darned if I can find it.

Any help would be appreciated.

Thanks.
-DaveH

mikrogen
Posts: 3
Joined: Sun Sep 12, 2004 11:30 pm

Post by mikrogen » Sun Sep 12, 2004 11:31 pm

Turn off WYSIWYG editor in admin options and then u can insert javascripts.

DaveH
Posts: 4
Joined: Fri Sep 10, 2004 11:33 pm

Post by DaveH » Mon Sep 13, 2004 1:38 pm

Thanks. That was my original thought before posting here. Didn't work. I've also tried removing the plug-in and replacing it, but still no luck. I no longer get the code, though. Just the blank box where the script should present.

-DaveH

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Mon Sep 13, 2004 2:21 pm

Did you check the HTML output of your blog page? Maybe you told the HTML nugget to apply markup transformations. You must set those to "no/false", so that no HTML-escaping is done there...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

Post Reply