php - Rename label in YiiBooster ckEditorRow -
how rename ckeditorrow panel highlighted below. guess taking name passed in value (in case 'subject').
i'm trying things below getting nowhere
$form->ckeditorrow($subject,'subject',array('options' => array('title'=>'new title')));
thanks
to change label, ovverride attributelabels
in $subject
model.
simply return array field name keys , value label, ie:
public function attributelabels() { return array( 'subject' => 'custom subject label', ... more labels ); }
Comments
Post a Comment