Well, this is what I've tried myself to get it to integrate - but dont get too excited as it doesnt work, but you can see my line of thought.
As there seem to be a few of us interested, would anyone else like to have a stab it at? ( assuming that AN-net has no objections to this)
wherever you see this code:
Code:
fetch_template('stocks_templatename')
I changed it to:
Code:
fetch_template('adv_portal_stocks_templatename')
and also changed the first few lines of code in the stocks.php file that read:
Code:
$globaltemplates= array(
'STOCKS',
'stocks_quotebits',
'stocks_getquote'
);
to:
Code:
$globaltemplates= array(
'adv_portal_STOCKS',
'adv_portal_stocks_quotebits',
'adv_portal_stocks_getquote'
);
and renamed all the new VBStocks templates so that they match the above template names.
Now, I was pretty sure this would fix it... but it hasn't!
I think it may have something to do with this bit:
Code:
require_once('./global.php');
if(empty($_REQUEST['do']))
{
$_REQUEST['do']= "index";
}
if($_REQUEST['do']=="index")
{
But I'm not sure. I'm not a coder, just playing with it to try and fix it to work with VBA.