GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
class-gravityview-preset-profiles.php
Go to the documentation of this file.
1 <?php
2 /**
3  * GravityView preset template
4  *
5  * @file class-gravityview-preset-profiles.php
6  * @since 1.15
7  * @license GPL2+
8  * @author GravityView <[email protected]>
9  * @link http://gravityview.co
10  * @copyright Copyright 2015, Katz Web Services, Inc.
11  *
12  * @package GravityView
13  */
14 
16  const ID = 'preset_profiles';
17 
18  function __construct() {
19  $settings = array(
20  'slug' => 'list',
21  'type' => 'preset',
22  'label' => __( 'People Profiles', 'gk-gravityview' ),
23  'description' => __( 'List people with individual profiles.', 'gk-gravityview' ),
24  'logo' => plugins_url( 'includes/presets/profiles/logo-profiles.png', GRAVITYVIEW_FILE ),
25  //'preview' => 'https://site.try.gravitykit.com/member-directory/',
26  'preset_form' => GRAVITYVIEW_DIR . 'includes/presets/profiles/form-profiles.json',
27  'preset_fields' => GRAVITYVIEW_DIR . 'includes/presets/profiles/fields-profiles.xml'
28  );
29 
30  parent::__construct( self::ID, $settings );
31  }
32 }
33 
const GRAVITYVIEW_DIR
"GRAVITYVIEW_DIR" "./" The absolute path to the plugin directory, with trailing slash ...
Definition: gravityview.php:49
GravityView_Default_Template_List class.
const GRAVITYVIEW_FILE
Full path to the GravityView file "GRAVITYVIEW_FILE" "./gravityview.php".
Definition: gravityview.php:40