1 achillis Nov 10, 2013 11:21
3 sam2kb Nov 11, 2013 22:17
function GetHandledDispModes()
{
return array(
'info',
);
}
function HandleDispMode( $params )
{
if( $params['disp'] == 'info' )
{
echo 'My Info page';
}
}
View your info page
http://b2evoblog/?disp=info
4 achillis Nov 11, 2013 22:37
Thanks, I got that. What I actually want is to point it to the disp file:
//_test.disp.php
the only way I get it to to work is with
include '_test.disp.php';
shouldn't it instead be something like:
$disp_handlers = array( 'disp_test' => '_test.disp.php', );
Hi @achillis,
Maybe you already went to this page, but the entire section could help you to work with $disp: http://b2evolution.net/man/advanced-customization/themes-templates-skins/skin-tags/include-disp