public function formField()
 {
     $field = $this->removeFields(parent::formField(), ['action', 'scheme', 'show_faces', 'share', 'for_kids']);
     $field->push(\DropdownField::create('mobile', _t('Shortcodable.FB-MOBILE', 'Display mobile compatible version'), ['' => '(Automatic)', 'true' => 'Yes', 'false' => 'No']));
     $field->push(\NumericField::create('num_posts', _t('Shortcodable.FB-NUM_POSTS', 'Number of posts'), 30));
     $field->push(\DropdownField::create('order_by', _t('Shortcodable.FB-ORDER_BY', 'Order by'), ['' => 'Social (active)', 'reverse_time' => 'Created DESC', 'time' => 'Created ASC']));
     return $field;
 }
Ejemplo n.º 2
0
 public function formField()
 {
     return $this->removeFields(parent::formField(), ['share']);
 }
Ejemplo n.º 3
0
 public function formField()
 {
     return $this->removeFields(parent::formField(), ['action', 'scheme', 'show_faces', 'share', 'for_kids']);
 }
Ejemplo n.º 4
0
 public function formField()
 {
     return $this->removeFields(parent::formField(), ['action', 'layout', 'show_faces', 'share']);
 }