Checking if Blog is active

Hello,

I need to know, if the Blog is selected in the root menu.
Is it good enough to use event.getCurrentEvent() and check if the word blog is in the result?

Thanks

You can but the cbhelper has methods for that.

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano

Gotcha, found it: isblogView(). Since i discovered, that i can browse the functions of CBHelper in the Admin UI, it is easy.

Thanks

You can also browse the API using the ContentBox CMS Utilities extension (http://www.gocontentbox.org/parent/site/download_utilities) for ColdFusion Builder.

Or via the website http://www.gocontentbox.org/builds/docs/1.2.X/

Thanks Richard, i’m using this already.