Advanced Module - Build Page with charts etc

edited July 2012 in News & Announcements
What is the best way about tackling a back end page that isnt driven by a table? Let say I want to display a series of charts and links that will dive into a table structure, but initially I'm looking for a more custom view.

I receive these errors in my advanced module because I havent specified a table, do I have too?

regards
matt

Severity: Warning

Message: Missing argument 1 for Base_module_model::__construct(), called in /Users/matt/Documents/projects/_Code/web/fuel/application/third_party/fuel/Loader.php on line 240 and defined

Filename: models/base_module_model.php

Line Number: 47

A PHP Error was encountered
Severity: Notice

Message: Undefined variable: table

Filename: models/base_module_model.php

Line Number: 96

A PHP Error was encountered
Severity: Notice

Message: Undefined variable: table

Filename: models/base_module_model.php

Line Number: 104

Comments

  • edited 11:03AM
    Write an advanced module and custom view files following "blocks" and layout concept. I have done this on our product.

    We have used Google charts API to accomplish this quite effectively.
  • edited 11:03AM
    It works great on the front end, like /reports/home, but totally bombs when using /admin/reports/home.

    it wants to connect to a table, i must be missing something here.
    Table 'home_model' doesn't exist

    SHOW COLUMNS FROM `home_model`

    Filename: core/MY_Model.php
  • edited 11:03AM
    Did you create a controller named reports in your advanced module which extends the Fuel_base_controller (fuel/modules/reports/controllers/reports.php)? On that controller you can add a method named "home".
  • edited 11:03AM
    no my controller is called home, let me do that. thanks.
Sign In or Register to comment.