iGoogle Gadgets

Hi,

I have the HTML code from iGoogle Gagdets for a application. I want to add it to my home page. When i go to the Admin panel and a a HTML Block to my home page and insert the code, it does not show up in the main page.

How can i add wigdets ?

Sincerely,

D

p.s. html code for app is:

<script src="http://www.gmodules.com/ig/ifrurl=http://hosting.gmodules.com/ig/gadgets/file/100080069921643878012/facebook.xml&amp;up_useNewFB_p=1&amp;up_showPopUp2_p=true&amp;synd=open&amp;w=320&amp;h=500&amp;title=Facebook&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"></script>

Quote · 12 Aug 2010

If your using the new 7.0.2, script gets stripped out of the block when you save..

THE FOLLOWING IS TAKEN FROM A POST FROM DEANO92964 THREAD

Try this. Untested but should put the html block back to the way it was.

Edit incclassesBxDolPageViewAdmin.php

Look for this at about line 473

if( $aItem['Func'] == 'Echo' ) {
$aForm['inputs']['Content'] = array(
'type' => 'textarea',
'html' => false,
'attrs' => array ('id' => 'form_input_html'.$iBlockID),
'name' => 'Content',
'value' => $sBlockContent,
'caption' => $sHtmlContentC,
'required' => true,
'colspan' => true,
);


Change to this.

if( $aItem['Func'] == 'Echo' ) {
$aForm['inputs']['Content'] = array(
'type' => 'textarea',
'html' => false,
//'attrs' => array ('id' => 'form_input_html'.$iBlockID),
'name' => 'Content',
'value' => $sBlockContent,
'caption' => $sHtmlContentC,
'required' => true,
'colspan' => false,
);

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 12 Aug 2010

Also you can add your needed code via phpmyadmin, into sys_page_compose table

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 12 Aug 2010

 

Also you can add your needed code via phpmyadmin, into sys_page_compose table

Why can't this be an option for the end user?

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 12 Aug 2010

 

 

Also you can add your needed code via phpmyadmin, into sys_page_compose table

Why can't this be an option for the end user?

Database insertion?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 12 Aug 2010

I tried it and it did not work.

Quote · 12 Aug 2010

 

 

 

Also you can add your needed code via phpmyadmin, into sys_page_compose table

Why can't this be an option for the end user?

Database insertion?

Control over what script we as administrators want to put into a block..

Why all the work around like the fix I did above? I know the security problems but "I" want to put it there..

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 12 Aug 2010

 

Also you can add your needed code via phpmyadmin, into sys_page_compose table

most people do not know how to insert or for that fact even understand what to do with their phpmyadmin...lol

I do, but people on here that are new, and there are many, do not.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 12 Aug 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.