routing

edited June 2015 in Modules
I have created a custom module, when i clicked that module from admin dashboard an error is displayed.

Fatal error: Call to a member function name() on a non-object in D:\wamp\www\communityscripts\fuel\modules\fuel\controllers\module.php on line 53
Call Stack
# Time Memory Function Location
1 0.0007 283360 {main}( ) ..\index.php:0
2 0.0027 342992 require_once( 'D:\wamp\www\communityscripts\fuel\codeigniter\core\CodeIgniter.php' ) ..\index.php:270
3 0.0345 1964064 Module->__construct( ) ..\CodeIgniter.php:3

Help pls

Comments

  • edited 6:33AM
    What's the name of the module and is it a "simple" module or an "advanced" module?

    http://docs.getfuelcms.com/modules/simple
    http://docs.getfuelcms.com/modules/advanced
  • edited 6:33AM
    Its an advanced module and now it worked fine. Thanks
  • edited 6:33AM
    As mentioned in this tutorial http://docs.getfuelcms.com/modules/advanced I made an advanced module and it worked fine. When I click the module from the left panel in the admin dashboard, it displays all the values in the database along with the options edit and delete. I need to remove those options. Can u pls help in acheiving this??
  • edited 6:33AM
    If you just want to display the information you can set the following parameters for your module in your fuel/application/config/MY_fuel_modules.php file:
    $config['modules']['my_module'] = array( // ... other config... 'item_actions' => array(), 'table_actions' => array(), 'rows_selectable' => FALSE, );
  • edited 6:33AM
    Thank you, It helped a lot
  • edited 6:33AM
    Hi,
    I created an advanced module for form. In the admin panel if the title of my form is long with 20 characters the UI gets collapsed and scroll bar is present at the bottom to scroll the details. where as in pages if the title is long half the text gets hidden. i need the functionality which is implemented in pages. can u pls help
  • edited 6:33AM
    Do you have a screenshot to display what you are talking about?
Sign In or Register to comment.