How do I install Google gadgets or widgets

Road Runner - May 9, 2008 - 22:14

Was looking at some interesting games to provide my users or me ;-)

So I get this code from Google

<script src="http://gmodules.com/ig/ifr?url=http://www.counttonine.com/google-sudoku.xml&amp;up_difficulty=easiest&amp;synd=open&amp;w=320&amp;h=370&amp;title=Sudoku&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"></script>

WhAt do I do with it?

TIA
Jim

Edited by: VeryMisunderstood; Added code tags

=-=

VeryMisunderstood - May 9, 2008 - 22:28

paste it into a content type
switch your input format to FULL HTML or PHP

then save the node

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

Vry M thnx I should have

Road Runner - May 10, 2008 - 10:30

Vry M thnx I should have mentioned I did that already - used a page content - and what I see is the script code displayed. Yup full html but I am using tinymce so I'm thinking there is conflict.
BTW, as you can see the script overflows the allocated window here at the Drupla forums at least on my system Firefox on Mac. Why would it break the forum?

It breaks because there are

Wayne_Luke - May 10, 2008 - 13:34

It breaks because there are no spaces and Drupal doesn't force it to wrap. Firefox is just displaying it how you told it to. Sometimes standards compliance can do things like this.

On to your actual problem...

I just put the few widgets that I used in a custom block. Probably not the preferred method but it works for me and there are no problems getting the code to work. If you want the gadget to be on its own page, you can just toss the block into the content region and set it so it only shows on a specific page.

Solved

Road Runner - May 10, 2008 - 13:32

I needed to enable the source code or is it called html selection in Tinymce - after I did that and then cut and pasted code it was recognized for what it was and I got my widget game on a page.

 
 

Drupal is a registered trademark of Dries Buytaert.