%PDF-
%PDF-
Mini Shell
Mini Shell
;(function($){
FLBuilder.registerModuleHelper('pp-content-grid', {
/**
* Cached settings used to replace the current settings
* if the post layout changes are canceled.
*
* @since 1.0
* @access private
* @property {String} _previousSettings
*/
_previousSettings: null,
_currentStyle: 'default',
/**
* The 'init' method is called by the builder when
* the settings form is opened.
*
* @method init
*/
init: function()
{
var form = $('.fl-builder-settings'),
button_sections = ['button_colors', 'button_typography'],
self = this;
this._currentStyle = form.find('select[name="post_grid_style_select"]').val();
form.find('select[name="post_grid_style_select"]').on('change', this._tirggerStyleChange.bind( this ) );
this._tirggerStyleChange();
form.find('select[name="post_type[]"]').on('change', this._triggerPostTypeChange.bind( this ) );
form.find('select[name="data_source"]').on('change', this._triggerSourceChange.bind( this ) );
this._triggerSourceChange();
if ( $( '#fl-field-custom_layout:visible' ).length > 0 ) {
$( '#fl-field-custom_layout:visible' ).on('click', function() {
setTimeout(function() {
self._bindCustomLayoutSettings();
}, 1000);
});
}
$('#fl-builder-settings-section-product-settings').hide();
$('#fl-builder-settings-section-product_info_style').hide();
this._triggerPostTypeChange();
//$('#fl-builder-settings-section-query select[name="post_type"]').trigger('change');
// Show more link text field if more_link_type is button.
self._showField( 'more_link_text', form.find( 'select[name="more_link_type"]' ).val() === 'button' );
// Hide more link text field if more_link_type is not button.
self._hideField( 'more_link_text', form.find( 'select[name="more_link_type"]' ).val() !== 'button' );
if ( form.find( 'input[name="event_enable"]' ).val() === 'yes' || form.find( 'select[name="more_link_type"]' ).val() === 'button' || form.find( 'input[name="product_button"]' ).val() === 'yes' ) {
self._showSection( button_sections );
} else {
self._hideSection( button_sections );
}
form.find( 'input[name="event_enable"]' ).on('change', function() {
self._showSection( button_sections, $(this).val() === 'yes' );
self._hideSection( button_sections, ( $(this).val() === 'no' && form.find( 'select[name="more_link_type"]' ).val() !== 'button' ) );
});
form.find( 'select[name="more_link_type"]' ).on('change', function() {
self._showSection( button_sections, ( $(this).val() !== 'button' && form.find( 'input[name="event_enable"]' ).val() === 'yes' ) );
self._showField( 'more_link_text', $(this).val() === 'button' );
});
},
submit: function() {
var form = $( '.fl-builder-settings' ),
filtersPostType = form.find( 'select[name="post_grid_filters"] option:selected' ).attr( 'data-post-type' ) || false;
if ( filtersPostType ) {
$('<input name="post_grid_filters_post_type" type="hidden" value="' + filtersPostType + '">').insertAfter( form.find( 'select[name="post_grid_filters"]' ) );
}
return true;
},
_tirggerStyleChange: function()
{
var form = $('.fl-builder-settings'),
style = form.find('select[name="post_grid_style_select"]').val();
form.removeClass( 'pp-cg-module-' + this._currentStyle );
form.addClass( 'pp-cg-module-' + style );
this._currentStyle = style;
if ( 'custom' === form.find('select[name="post_grid_style_select"]').val() ) {
form.addClass( 'pp-style-custom' );
} else {
form.removeClass( 'pp-style-custom' );
}
},
_triggerPostTypeChange: function() {
var form = $('.fl-builder-settings'),
field = form.find('select[name="post_type[]"]'),
value = field.val();
field.find('option').each(function() {
var cls = 'pp-cg-post-type_' + $(this).attr('value');
form.removeClass( cls );
});
value.forEach( function(type) {
form.addClass( 'pp-cg-post-type_' + type );
});
// WooCommerce and EDD
if( -1 !== $.inArray( 'product', value ) || -1 !== $.inArray( 'download', value ) || form.find( 'select[name="data_source"]' ).val() === 'main_query' ) {
$('#fl-builder-settings-section-product-settings').show();
$('#fl-builder-settings-section-product_info_style').show();
$('#fl-field-more_link_text').hide();
if ( -1 !== $.inArray( 'download', value ) ) {
$('#fl-field-product_rating, #fl-field-product_rating_color').hide();
} else {
$('#fl-field-product_rating, #fl-field-product_rating_color').show();
}
} else {
$('#fl-builder-settings-section-product-settings').hide();
$('#fl-builder-settings-section-product_info_style').hide();
this._showField( 'more_link_text', form.find( 'select[name="more_link_type"]' ).val() === 'button' );
}
// The Events Calendar
if ( -1 === $.inArray( 'tribe_events', value ) && 'main_query' !== form.find( 'select[name="data_source"]' ).val() ) {
$('#fl-builder-settings-section-events-calendar-settings').hide();
$('#fl-builder-settings-section-events_calendar_style').hide();
} else {
$('#fl-builder-settings-section-events-calendar-settings').show();
$('#fl-builder-settings-section-events-calendar-settings').show();
if ( 'yes' === form.find( 'input[name="event_enable"]' ).val() ) {
$('#fl-builder-settings-section-events_calendar_style').show();
}
}
},
_triggerSourceChange: function() {
var form = $('.fl-builder-settings'),
field = form.find('select[name="data_source"]');
if ( 'pods_relationship' === field.val() ) {
this._showSection( 'query' );
}
},
/**
* Bind events to the custom post layout lightbox.
*
* @since 1.0
* @access _bindCustomPostLayoutSettings
* @method _bind
*/
_bindCustomLayoutSettings: function()
{
var form = $( 'form[data-type="pp_post_custom_layout"]:visible' ),
html = form.find( 'textarea[name="html"]' ),
css = form.find( 'textarea[name="css"]' ),
cancel = form.find( '.fl-builder-settings-cancel' );
html.on( 'change', this._doCustomLayoutPreview.bind( this ) );
css.on( 'change', this._doCustomLayoutPreview.bind( this ) );
cancel.on( 'click', this._cancelClicked.bind( this ) );
},
/**
* Callback for previewing custom post layouts.
*
* @since 2.6.2
* @access private
* @method _doCustomPostLayoutPreview
*/
_doCustomLayoutPreview: function()
{
var moduleForm = $( '.fl-builder-module-settings' ),
moduleSettings = FLBuilder._getSettings( moduleForm ),
postForm = $( '.fl-builder-settings[data-type="pp_post_custom_layout"]' ),
postSettings = FLBuilder._getSettings( postForm ),
postField = moduleForm.find( '[name="custom_layout"]' ),
preview = FLBuilder.preview;
if ( ! this._previousSettings ) {
this._previousSettings = moduleSettings.custom_layout
}
postField.val( JSON.stringify( postSettings ) );
preview.delay( 2000, preview.preview.bind( preview ) );
},
/**
* Callback for when the custom post layout settings
* lightbox cancel button is clicked.
*
* @since 1.0
* @access private
* @method _cancelClicked
*/
_cancelClicked: function()
{
var postField = $( '.fl-builder-module-settings' ).find( '[name="custom_layout"]' );
if ( this._previousSettings ) {
postField.val( this._previousSettings ).trigger( 'change' );
this._previousSettings = null;
}
},
_showSection: function(section_ids)
{
// if ( 'boolean' !== typeof condition || ! condition ) {
// return;
// }
var form = $('.fl-builder-settings');
if ( typeof section_ids === 'object' ) {
section_ids.forEach( function( section_id ) {
form.find('#fl-builder-settings-section-' + section_id).show();
} );
}
if ( typeof section_ids === 'string' ) {
form.find('#fl-builder-settings-section-' + section_ids).show();
}
},
_hideSection: function(section_ids, condition = true)
{
if ( ! condition ) {
return;
}
var form = $('.fl-builder-settings');
if ( typeof section_ids === 'object' ) {
section_ids.forEach( function( section_id ) {
form.find('#fl-builder-settings-section-' + section_id).hide();
} );
}
if ( typeof section_ids === 'string' ) {
form.find('#fl-builder-settings-section-' + section_ids).hide();
}
},
_showField: function(field_ids, condition = true)
{
if ( ! condition ) {
return;
}
var form = $('.fl-builder-settings');
if ( typeof field_ids === 'object' ) {
field_ids.forEach( function( field_id ) {
form.find('#fl-field-' + field_id).show();
} );
}
if ( typeof field_ids === 'string' ) {
form.find('#fl-field-' + field_ids).show();
}
},
_hideField: function(field_ids, condition = true)
{
if ( ! condition ) {
return;
}
var form = $('.fl-builder-settings');
if ( typeof field_ids === 'object' ) {
field_ids.forEach( function( field_id ) {
form.find('#fl-field-' + field_id).hide();
} );
}
if ( typeof field_ids === 'string' ) {
form.find('#fl-field-' + field_ids).hide();
}
}
});
})(jQuery);
Zerion Mini Shell 1.0
Custom Staffing Solutions | Beyond A Resume
Skip to content
Distinguish Your Business From The Rest With The People That Make Up Your Team
We go Beyond a Resume to find high value, committed people
ready, willing, and able to add true value toward your organization's mission.
The right people make or break your business
We focus on resolving two types of challenges surrounding staffing and recruiting at Beyond a Resume: The first challenge comes when a business continues to grow, but does not have the full-time, internal, talent acquisition resources to hire the right people or talent necessary to keep up with their rate of progression as a company.
The second is a business that has a dedicated internal Human Resources Team, but requires outsourced assistance when the volume of people and talent needed exceeds short term internal capacity, OR the position(s) they seek to fill demand a specific skill set that is difficult to find, requiring added bandwidth.
In nearly any line of business, growth is a challenge in and of itself. Yet, the real problems arise in managing growth to ensure your progress remains profitable, sustainable, and repeatable. The biggest factor in this equation is usually found in your people. When you have the right people, success is unlimited. On the other hand, when you don’t have the right people in place or are having trouble finding enough of the right people, failure or stagnation is imminent.
The frustration that comes with the process of “hiring” can bring you to new levels of stress as the time cost involved eats away at your production elsewhere. If you have experienced this in the past, or are currently struggling with this issue, you’re certainly not alone. You may simply need the right partner to take the worst parts of this process off your plate so you can concentrate on your responsibilities, while we work diligently to reduce the noise and deliver only the ideal candidates worth your time and attention.
People can make or break your business and we go Beyond a Resume to find high value, committed people ready, willing, and able to add true value.
Primary Industry Experience
Healthcare and Home Healthcare
Talent Acquisition Solutions
Statement of Work Projects
Scroll To Top