Detecting Dashboard pages,
Permalink 1 user found helpful
Iv been having some trouble, i can;t figure out how to detect if a page is a dashboard page, like
there is $page->isSystemPage(), but that is all core pages and does not include pages added via package,
any help is great!
$page = Page::getCurrentPage(); $page->isDashboardPage();
there is $page->isSystemPage(), but that is all core pages and does not include pages added via package,
any help is great!
What about the isAdminArea() method?
If you'd check in on the damn IRC, you'd see that I have the theme switcher package finished as of about 15 min after you signed off last night :P
dammit man, i havn't checked >.<
and thanks ollie, some how i missed that when looking through the page model >.<
and thanks ollie, some how i missed that when looking through the page model >.<
Helping you Sir has made my week!