Can we add an option in admin for printing a details page?

edited December 2016 in Modules
is it possible to have a print option in the admin module details page?

Comments

  • edited 6:54AM
    In your MY_fuel_modules.php file for the specific module, you can add the following:
    'item_actions' => array('save', 'view', 'delete', 'create', 'others' => array('my_module/printit' => 'Print')),
    This will submit to a page at a route of fuel/my_module/printit. You will need to create a controller with a method of "printit" that outputs the printable detail information and associate that with route of "fuel/my_module/printit" = "my_module/printit" in the fuel/application/config/routes.php file.
Sign In or Register to comment.