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.
How to show the Primary Key ID in a simple Fuel Module view in the Admin
Is there a way to have the ID field show up in the record listing of a simple module in the Fuel admin? Say I have a module called "sample" that has an ID field that is set to auto-increment and is the primary key. I would like this column to show up in the Fuel admin area so that the column can be sorted upon and referenced to each record. I have a module configuration setup as follows:
$config['modules']['sample'] = array(
'module_name' => 'Sample',
'module_uri' => 'sample',
'model_name' => 'sample_model',
'model_location' => 'sample',
'table_headers' => array(
Under the table_headers option, including id basically does nothing. I am wondering if there is a hack to get that ID column to show up but not show up on the Edit form for the module record form to prevent people from entering in a value for ID field to prevent the obvious, which is to input a number that is already taken, which would generate a database error.