This topic is locked

Long Text truncated in Printer Friendly

10/3/2007 11:54:32 AM
PHPRunner General questions
D
drewhart71 author

The truncated text in my "details" still cuts off at 100 characters on the printer friendly page. How do I get the full text to show on the printer friendly page? Many thanks,
Let me clarify, I selected that text over 100 characters be truncated. That really only happens in one field, a field I call details. On "List" you simply select "more" and you see the full text. Also if you view the record individually you see the full text. However, on the printer friendly page, you only see the first 100 characters and there is no way to expand it, and obviously the full text wont print either since you can't see it. Many thanks,
Drew

J
Jane 10/4/2007

Hi,
to fix this issue open generated ..._print.php file, find this code:

// FieldName -

$value="";

$value = ProcessLargeText(GetData($data,"FieldName", ""),"field=FieldName".$keylink,"",MODE_PRINT);

$row[$col."FieldName_value"]=$value;



and replace it with this one:

// FieldName -

$value="";

$value = GetData($data,"FieldName", "");

$row[$col."FieldName_value"]=$value;



where FieldName is your actual field name.