array( 'controller' => 'facebook_main_ui', 'path' => null, 'ui' => 'facebook_admin_form_ui', 'uipath' => null ) ); protected $adminMenu = array( 'main/prefs' => array('caption'=> LAN_PREFS, 'perm' => '0'), 'main/custom' => array('caption'=> 'Instructions', 'perm' => '0') ); protected $menuTitle = 'Facebook'; } class facebook_main_ui extends e_admin_ui { protected $pluginTitle = 'Facebook Connect'; protected $pluginName = 'facebook'; protected $prefs = array( 'Facebook_App-Bundle' => array('title'=> 'Facebook Application ID', 'type'=>'text'), 'Facebook_Api-Key' => array('title'=> 'Facebook API Key', 'type'=>'text'), 'Facebook_Secret-Key' => array('title'=> 'Facebook Secret Key', 'type'=>'text') ); function customPage() { global $ns,$pref; $text = '
If you don\'t already have a Facebook Platform API key for your site, create an application with the Facebook Developer application. Note: Even if you have created an application and received an API key, you should review steps 1.4 through 1.7 and make sure your application settings are appropriate.
|