HTML Nugget (Sidebar) - No JavaScript :-(

Creating and modifying plugins.
Post Reply
JPTN
Regular
Posts: 10
Joined: Wed May 04, 2005 3:23 am
Location: Toronto, Ontario, Canada

HTML Nugget (Sidebar) - No JavaScript :-(

Post by JPTN »

Is there a way to include JavaScript or PHP in the nugget?
I'm trying to run some code off another one of my websites.

Include JavaScript

Code: Select all

<SCRIPT> my code </SCRIPT>
doesn't show up.

I'm also trying to write a plugin that just displays ANY code I put in it, not a WYSIWYG nugget.

Any help or information is appreciated.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: HTML Nugget (Sidebar) - No JavaScript :-(

Post by garvinhicking »

Hi!

Yes, you can use javascript.

You might need to disable the WYSIWYG editor to do so (because if you have the WYSIWYG editor enabled, it might not save your original content), and you might need to set "Apply Markup transformations" to "no" in the nugget.

Best 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/
JPTN
Regular
Posts: 10
Joined: Wed May 04, 2005 3:23 am
Location: Toronto, Ontario, Canada

Thanks!

Post by JPTN »

Thank you!

For some reason it's not loading a remote .js, but that probably has to do with my host/javascript security.

Regular JavaScript, HTML, and other works.

:-)
Post Reply