public static function register()
 {
     $atts = array('class' => 'CN_Birthday_Dark_Template', 'name' => 'Birthday Dark', 'slug' => 'birthday-dark', 'type' => 'birthday', 'version' => '2.0.1', 'author' => 'Steven A. Zahm', 'authorURL' => 'connections-pro.com', 'description' => 'Default birthday template with a black background in a table like format.', 'custom' => FALSE, 'path' => plugin_dir_path(__FILE__), 'url' => plugin_dir_url(__FILE__), 'thumbnail' => 'thumbnail.png', 'parts' => array('css' => 'styles.css'));
     cnTemplateFactory::register($atts);
 }
Exemple #2
0
 public static function register()
 {
     $atts = array('class' => 'CN_Bio_Card_Template', 'name' => 'Bio Entry Card', 'slug' => 'card-bio', 'type' => 'all', 'version' => '2.0.1', 'author' => 'Steven A. Zahm', 'authorURL' => 'connections-pro.com', 'description' => 'This is a variation of the default template which shows the bio field for an entry.', 'custom' => FALSE, 'path' => plugin_dir_path(__FILE__), 'url' => plugin_dir_url(__FILE__), 'thumbnail' => 'thumbnail.png', 'parts' => array());
     cnTemplateFactory::register($atts);
 }
 public static function register()
 {
     $atts = array('class' => __CLASS__, 'name' => 'Profile Entry Card', 'slug' => self::SLUG, 'type' => 'all', 'version' => '3.0', 'author' => 'Steven A. Zahm', 'authorURL' => 'connections-pro.com', 'description' => 'This will show the entries in a profile format.', 'custom' => FALSE, 'path' => plugin_dir_path(__FILE__), 'url' => plugin_dir_url(__FILE__), 'thumbnail' => 'thumbnail.png', 'parts' => array(), 'supports' => array('customizer' => array('view' => array('card' => array('display' => array('title', 'org', 'dept', 'categories', 'last_updated'), 'image' => array('type', 'width', 'height', 'crop_mode', 'fallback'), 'advanced' => array('name_format')), 'single' => array('display' => array('title', 'org', 'dept', 'contact_name', 'family', 'addresses', 'phone_numbers', 'email', 'im', 'social_media', 'links', 'dates', 'bio', 'notes', 'categories', 'last_updated'), 'image' => array('type', 'width', 'height', 'crop_mode', 'fallback'), 'advanced' => array('name_format', 'contact_name_format', 'address_format', 'address_types', 'email_format', 'email_types', 'phone_format', 'phone_types', 'link_format', 'link_types', 'date_format', 'date_types')))), 'single'));
     cnTemplateFactory::register($atts);
     add_filter('cn_register_settings_fields', array(__CLASS__, 'registerSettingsDefaults'));
 }
 public static function register()
 {
     $atts = array('class' => 'CN_Dashboard_Recently_Added_Template', 'name' => 'Dashboard: Recently Added Widget', 'slug' => 'dashboard-recent-added', 'type' => 'dashboard', 'version' => '2.0', 'author' => 'Steven A. Zahm', 'authorURL' => 'connections-pro.com', 'description' => 'Dashboard Widget that displays the recently added entries.', 'custom' => FALSE, 'path' => plugin_dir_path(__FILE__), 'url' => plugin_dir_url(__FILE__), 'thumbnail' => '', 'parts' => array('css' => 'styles.css'));
     cnTemplateFactory::register($atts);
 }
Exemple #5
0
 public static function register()
 {
     $atts = array('class' => 'CN_Profile_Template', 'name' => 'Profile Entry Card', 'slug' => 'profile', 'type' => 'all', 'version' => '2.0.1', 'author' => 'Steven A. Zahm', 'authorURL' => 'connections-pro.com', 'description' => 'This will show the entries in a profile format.', 'custom' => FALSE, 'path' => plugin_dir_path(__FILE__), 'url' => plugin_dir_url(__FILE__), 'thumbnail' => 'thumbnail.png', 'parts' => array());
     cnTemplateFactory::register($atts);
 }
 public static function register()
 {
     $atts = array('class' => 'CN_Single_Card_Template', 'name' => 'Single Entry Card', 'slug' => 'card-single', 'type' => 'individual', 'version' => '2.0.1', 'author' => 'Steven A. Zahm', 'authorURL' => 'connections-pro.com', 'description' => 'This is a variation of the default template does not show the return to top anchor.', 'custom' => FALSE, 'path' => plugin_dir_path(__FILE__), 'url' => plugin_dir_url(__FILE__), 'thumbnail' => 'thumbnail.png', 'parts' => array());
     cnTemplateFactory::register($atts);
 }
 public static function register()
 {
     $atts = array('class' => 'CN_Card_Table_Format_Template', 'name' => 'Table Entry Card', 'slug' => 'card-tableformat', 'type' => 'all', 'version' => '2.0.1', 'author' => 'Steven A. Zahm', 'authorURL' => 'connections-pro.com', 'description' => 'This is a variation of the default template which is formatted using a table. This template is recommended when compatibility with Internet Explorer 6 is required.', 'custom' => FALSE, 'path' => plugin_dir_path(__FILE__), 'url' => plugin_dir_url(__FILE__), 'thumbnail' => 'thumbnail.png', 'parts' => array());
     cnTemplateFactory::register($atts);
 }
Exemple #8
0
 public static function register()
 {
     $atts = array('class' => 'CN_Names_Template', 'name' => 'Names', 'slug' => 'names', 'type' => 'all', 'version' => '1.0.1', 'author' => 'Steven A. Zahm', 'authorURL' => 'connections-pro.com', 'description' => 'A simple responsive template which outputs a list of every name within the directory in a column format if the browser supports it. This template is not recommended for very large directories.', 'custom' => FALSE, 'path' => plugin_dir_path(__FILE__), 'parts' => array('css' => 'style.css'));
     cnTemplateFactory::register($atts);
 }
 public static function register()
 {
     $atts = array('class' => 'CN_Dashboard_Upcoming_Template', 'name' => 'Dashboard: Upcoming Widget', 'slug' => 'dashboard-upcoming', 'type' => 'dashboard', 'version' => '2.0', 'author' => 'Steven A. Zahm', 'authorURL' => 'connections-pro.com', 'description' => 'Dashboard Widget that displays Upcoming Anniversies and Birthdays.', 'custom' => FALSE, 'path' => plugin_dir_path(__FILE__), 'url' => plugin_dir_url(__FILE__), 'thumbnail' => '', 'parts' => array('css' => 'styles.css'));
     cnTemplateFactory::register($atts);
 }