7.0.2 Adding more than one Block Gadget

 

Ok, will try to explain this and hope that somebody understands what i am trying to state here.

 

working with v-7.0.2, please dont suggest upgrading, because that is not the solution. the solution is to fix what is causing the problem. there have been other improvements and phpbb3 integrations (which by the way does not work, and suggest that its stayed away from at all costs). so we cant upgrade, because it will break everything that has been done in the past.

 

ok here we go

google finance gadgets are what we want to work with.

using deanos php_block builder hack create the php blocks on the page in this case, the homepage

using lang caption key correctly

running include code in two different fashions

Instance one:

echo "<div align=\"center\">";
include './fin_gadgets/us_market_indices.js';
echo "</div>";
br;

 

by itself, this works

now we add the second column with new block

echo "<div align=\"center\">";
include './fin_gadgets/world_sentiment.js';
echo "</div>";
br;

 

Siituation world_sentiment.js source now loads on Us Market Indices block World Sentiment block is blank source from us_market_indices vanishes

This was tried using homepage then custom page. This is a direct issue with 7.0.2 because the same test on 7.0.3 results are satisfactory.

 

Have tried this with gadget embed source from google gadgets and other finance gadget sources on the net, same results on 7.0.2

 

thanks for those who can provide assistance on this one, because its more than weird.

 

Method 2

$sCode = '
<div align="center">
<script type="text/javascript" language="javascript" src="./fin_gadgets/world_sentiment.js"></script></div>
';
echo $sCode;

 

by itself this works as soon as you add the second block, same results as above.

 

example page:http://kingofalltrades.com/community/page/testfingadgets <-=- 7.0.2

example page: http://dev.standagainstbullying.net/page/Testing-Google-Gadgets <-=- 7.0.3

 

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 22 Nov 2010

(with ALL cache off and delete folder after every move.)..what i do is make exact blocks in both versions, then I get the data added into the database and compare. If they are exact then you go the JS route.

The JS route often says one of the new JS files hates the previoulsy added. Many times I have fixed sites by using alternative JS. Check the header and clear all instances of JS and the sys_injections table to make sure that there are no new JS injected into the header. When you are sure no other javascript is loaded you can test your two blocks. then add every instance back one by one till it breaks...then you find out who hates who.

just like all RSS are not equal, not all JS will play well with others.

I have video tutorials to help you mrpowless.com
Quote · 22 Nov 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.