⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

How to stop grocery crud cutting from string fields in list view



costicanu

costicanu
  • profile picture
  • Member

Posted 24 January 2013 - 07:04 AM

Hello, Grocery Crud cuts from the length of the string in list view and ads 3 points for user to understand that is longer than that.

Where is the line that stops this feature? I found where is listed in list.php view[b] <?php echo $row->{$column->field_name}?>[/b] but I need to find the controller or model that takes care of this cutting action.

saulimus

saulimus
  • profile picture
  • Member

Posted 24 January 2013 - 08:05 AM

application\config\grocery_crud.php:

$config['grocery_crud_character_limiter'] = 0;

costicanu

costicanu
  • profile picture
  • Member

Posted 24 January 2013 - 08:18 AM

Thank you. Great to modify it from the config file. I forgot to look there and I had to modify it directly in the grocery_crud library file at line 322. I'll do that from config file. Thanks!