I have a custom formatting function to shorten long text in a textfield:
[pre]
function dadabik_kurz_150 ($value){
if ($GLOBALS['function'] === 'search' && strlen_custom($value) > 150){
return nl2br(substr_custom($value, 0, 150).' ...mehr');
}
else
{
return nl2br($value);
}
}
[/pre]
Is it possible to insert a link to the specified record, so I can make a click on "...mehr" to go to the detail-page?
[pre]
function dadabik_kurz_150 ($value){
if ($GLOBALS['function'] === 'search' && strlen_custom($value) > 150){
return nl2br(substr_custom($value, 0, 150).' ...mehr');
}
else
{
return nl2br($value);
}
}
[/pre]
Is it possible to insert a link to the specified record, so I can make a click on "...mehr" to go to the detail-page?