Same problem here. I tried
<?php
include('/home/www/web699/html/cdxroster/index.php?sortcol1=Owner&sortdir1=asc&sortcol2=Guild%20Rank&sortdir2=asc');
?>
inside the
HTML block but its just not showing anything. So how do I get this content shown up inside my page?
I tried to make an additional block as well:
<?php$blocks_modules['guild_rosterblock'] =
array ( 'func_display' =>
'blocks_rosterblock_display',
'func_add' =>
'blocks_rosterblock_add',
'func_update' =>
'blocks_rosterblock_update',
'func_edit' =>
'blocks_rosterblock_edit',
'text_type' =>
'guild_rosterblock',
'text_type_long' =>
'VG Roster',
'allow_multiple' =>
true,
'form_content' =>
false,
'form_refresh' =>
false,
'show_preview' =>
true);
function Blocks_rosterblock_init
(){ // Security pnSecAddSchema
('rosterblock::',
'Block title::');
}function Blocks_phpblock_info
(){ return array('text_type' =>
'PHP',
'module' =>
'Blocks',
'text_type_long' =>
'PHP',
'allow_multiple' =>
true,
'form_content' =>
true,
'form_refresh' =>
false,
'show_preview' =>
true);
}function Blocks_rosterblock_display
($blockinfo){ if (!SecurityUtil::
checkPermission('rosterblock::',
"$blockinfo[title]::", ACCESS_OVERVIEW
)) { return;
} include('/home/www/web699/html/cdxroster/index.php?sortcol1=Owner&sortdir1=asc&sortcol2=Guild%20Rank&sortdir2=asc');
}
But there is just an empty block in this case.
And using finclude-block doesn't work too, it writes the include line down instead of showing the content.
edited by: Horian, Mar 26, 2008 - 09:30 PM