Checking if Blog is active


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?


You can but the cbhelper has methods for that.

Luis Majano
Ortus Solutions, Corp

ColdBox Platform:
Linked In:
Social: | |

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


You can also browse the API using the ContentBox CMS Utilities extension ( for ColdFusion Builder.

Or via the website

Thanks Richard, i’m using this already.