Setting ViewValue in Row_Rendered event

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

Setting ViewValue in Row_Rendered event

Post by christ2000 »

Hello i was playing arround with this code in row_rendered but i don't know to show in test filed a bootstrap code:

$this->test->ViewValue .= <a href="#" class="badge badge-success">Success</a>;

is this correct?

thanks


christ2000
User
Posts: 519

Post by christ2000 »

hello, using another code from one of my post now show but i cant do that href take address form $fullpath. $fullpath contain the full path to the file.

$this->test->ViewValue .='<a href="$fullpath" class="badge badge-success">Success</a>';


christ2000
User
Posts: 519

Post by christ2000 »

fix it , use :

$this->test->ViewValue .= '<a href="' . $fullpath . '" class="badge badge-success">Success</a>';


Post Reply