⚠ 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

Long text doesn't display properly



looi76
  • profile picture
  • Member

Posted 04 March 2012 - 14:05 PM

[attachment=55:crud_long_text.png]

The text in the database is "People's Democratic Republic of Algeria", how can I fix this?

Thanks in advance. :)

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 04 March 2012 - 14:17 PM

This is only an automated cutting for the list interface for long texts . You can prevent this or add more characters by changing the line line 242 of libraries/grocery_crud.php and change the line:
from:

case 'text':
$value = $this->character_limiter(strip_tags($value),30," [...]");
break;


to:


case 'text':
$value = $this->character_limiter(strip_tags($value),50," [...]");
break;


The same thing you can do it for every other type.

looi76
  • profile picture
  • Member

Posted 04 March 2012 - 14:24 PM

Thank you :D