Bold only second Display field #2

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
wuchi
User
Posts: 90

Bold only second Display field #2

Post by wuchi »

Hello,

Is there a way to bold only or even change color or add for example : Me (Wuchi) to second Display field #2. I need this in list view...

Did anyone tried this?

Best regards,
Wuchi


danielc
User
Posts: 1601

Post by danielc »

You can use Row_Rendered server event to manipulate the string:
if ((CurrentPageID() == "list" || CurrentPageID() == "view") && $this-><yourfield>->ViewValue <> "") {
$string = $this-><yourfield>->ViewValue;
// your php function to get comma separated field and add your style and combined the string
$this-><yourfield>->ViewValue = $string;
}


Post Reply