Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

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?


  • edited 12:43PM
    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.