Advanced modules help

edited November 2012 in News & Announcements
I am trying to create a blog module following your instructions in the advanced modules help.

I see you write: "Dashboard Controller - If you add a controller with the name of Dashboard, then it can get pulled in to the FUEL admin (if the module is in the fuel $config['dashboards'] configuration)"

The blog module has a dashboard contoroller but I don't see anywhere that there is a $config['dashboards'] configuration.

Where is this configuration and what is it for?

Comments

  • edited 7:41AM
    You put that in your /fuel/application/config/MY_fuel.php config file. See the fuel.php in the fuel module for all the options you can potentially override.

    It is used to pull in different dashboards.
  • edited 7:41AM
    I guess I didn't ask my question right. Your blog module has a dashboard contorller, but I don't see you put this setting in the config file.

    So what is your dashboard controller for?
  • edited 7:41AM
    You can add it in the MY_fuel.php config file like so to show the latest posts.
    $config['dashboards'] = array('fuel', 'blog');
Sign In or Register to comment.