อยากแก้เมนู ใน webform report
January 24, 2012
พอดี ทำระบบลงทะเบียน ด้วย webform แล้วกะจะใช้ webform report ทำระบบ admin แต่พอดีอยากทำส่วน view link กดลิงค์แล้ว เปิดหน้าใหม่ หรือ target =_blank ใครทำได้ช่วยหน่อยนะ

แก้เองได้ละ โดยแก้จาก
แก้เองได้ละ โดยแก้จาก
if (array_key_exists(-6, $fields)) { $data[-6] = array(l(t('view'), 'node/'. $row->nid . '/submission/' . $row->sid)); }มาเป็น
if (array_key_exists(-6, $fields)) { $options['attributes'] = array( 'class' => 'see-more', 'target' => '_blank' ); $data[-6] = array(l(t('view'), 'node/'. $row->nid . '/submission/' . $row->sid , $options)); }