/** * Throw in a few custom items into the feed edit page if the plugin isn't setup yet. * @param array $form GF Form * @return [type] [description] */ public function feed_list_page($form = NULL) { if (!$this->get_connection_string()) { $settings_page = $this->get_plugin_settings_url(); $view = GFELOQUA_PATH . '/views/needs-setup.php'; include $view; return; } parent::feed_list_page($form); }
/** * Creates the coupons feeds page. */ public function plugin_page() { $fid = $this->get_current_feed_id(); if (!empty($fid) || $fid == '0') { $form_id = rgget('id'); $this->coupon_edit_page($fid, $form_id); } else { parent::feed_list_page(); } }