Custom Dashboard Pages

Permalink
Howdy everyone-

I had a question about a dashboard page I'm currently building. Have I mentioned how much I love concrete? I got the module set up so that it's displaying in the left-hand menu in the dashboard, and I've got some pages set up so that they're displaying in the top sub-menu.

The thing is, when you click on, say, Sitemap, the first tab is the active page by default. That's not happening with my module. What am I missing/how do I choose which tab is active by default? I've attached a screengrab to illustrate what I'm seeing (or rather, what I'm not seeing).

Any insight would be much appreciated. Thanks in advance!

1 Attachment

 
CodeMoose replied on at Permalink Best Answer Reply
Nevermind, I got this one figured out. For anyone interested, it's a simple snip of code that goes in the root controller for the module. For the Sitemap Controller, it looks like this:

class DashboardSitemapController extends Controller {
   public function view() {
      $this->redirect('/dashboard/sitemap/full');
   }
}