« User account validation/activationWrite a tutorial »

$disp switcher

2004-04-24

Permalink 02:01:47 am, by Francois Planque Email , 67 words   English (US)
Categories: Not popular but good idea

$disp switcher

We definitely need a nice $disp switcher.


User request: http://forums.b2evolution.net/viewtopic.php?t=1063


Also, KiesoW on the wiki:

would it possible to introduce something like
$Blog->isMain()

$Blog->isFeedback()
$Blog->isStats()

$Blog->isMonthlyArchive()

$Blog->isCategoryArchive()



$Blog is wrong (there are not states of the blog in itself) and it would have to be sth like $Request or $Page, but you get the idea.

1 comment

Comment from: fplanque [Visitor]
fplanquein 0.9, $disp is always set now

so switch( $disp ) is now an option

do we need more?
05/16/04 @ 10:44

Fatal error: Call to undefined method evonet_Module::SkinEndHtmlBody() in /home/b2evonet/www/inc/_core/_misc.funcs.php on line 65