This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @name pdb single template | |
* @version 2.2 | |
* | |
* demonstrates how to skip displaying a field based on a value in the record | |
* | |
* you will need to change 3 values: | |
* 'conditional_field' should be the name of the field you may want to skip showing | |
* 'check_field' should be the name of the record value you are checking |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* | |
* template for the signup form | |
* | |
* shows an example of letting the selected value of a radio control enable or disable another field | |
* | |
*/ | |
?> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @version 1.1 | |
* | |
* PDbList template demonstrating how to show a "reverse" table with records as | |
* columns and fields as rows | |
* | |
*/ | |
/** @var PDb_List $this */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: PDb With Selected Signup Email | |
* Description: adds the send signup email item to the "with selected" function | |
*/ | |
add_filter( 'pdb-admin_list_with_selected_actions', function ( $actions ) { | |
return $actions + array( | |
'send signup email' => 'send_signup_email' | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: PDB Custom Log Template | |
* Description: provides a customized template for the Participant Log display | |
*/ | |
/** | |
* demonstrates how to provide a custom template for a Participant Log display | |
* | |
* @package WordPress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: PDB Record Edit Log Tag | |
* Description: provides a custom email tag that shows which fields were updated | |
* Version: 1.0 | |
* | |
*/ | |
class PDb_Record_Edit_Log_Tag { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: PDB Custom Summary Tag | |
* Description: provides a custom tag to the "cars" log | |
*/ | |
add_filter( 'pdblog-summary_tags', 'xnau_add_custom_summary_tag', 10, 2 ); | |
/** | |
* adds a custom summary tag to the "cars" log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: PDB Show Heading Fields in Admin | |
* Description: enabled showing the heading type field on the admin edit participant page | |
*/ | |
add_filter( 'pdb-omit_backend_edit_form_element_type', 'xnau_enable_heading_field_display' ); | |
/** | |
* remove the heading field from the backend omit types array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: PDB Custom Calculated Field | |
* Description: demonstrates how to implement a custom calculation for a calculated field | |
*/ | |
add_filter( 'pdb-calculated_field_calc_value', 'pdb_calculate_value', 10, 3 ); | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* combo multisearch list template | |
* | |
* @version 2.2 | |
* | |
* @global \pdbcms\Plugin $PDb_Combo_Multi_Search | |
* | |
*/ | |
/** @var PDb_List $this */ |