Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Ben

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Ben in reply to:
    Cannot activate after Migration
    #30752

    Hi Ross,

    Re-installing the plugin with a new database and re-adding the search settings has resolved.

    Thanks

    Ben in reply to:
    Cannot activate after Migration
    #30652

    It has now successfully activated after giving it a bit of time. Although none of the settings are saving since the migration.

    It appears the settings have gone back to the default and when attempted to save new settings is reverts straight back to the default.

    Any advice on this?

    Thanks again.

    Ben in reply to:
    Date Range – Pre-populate End Date
    #13181

    Thanks Ross,

    Here is my final JQuery solution which others may find useful:

    jQuery(document).ready(function($) {
    
    $(".searchandfilter .datepicker:first").datepicker({
            dateFormat: "dd/mm/yy",
            onSelect: function(dateText, instance) {
                date = $.datepicker.parseDate(instance.settings.dateFormat, dateText, instance.settings);
                date.setMonth(date.getMonth() + 1);
                $(".searchandfilter .datepicker:last").datepicker("setDate", date);
            }
        });
        $(".searchandfilter .datepicker::nth-child(1)").datepicker({
            dateFormat: "dd/mm/yy"
    });
    
    })
    

    This pre-populates the End Date with a month later when the Start Date is populated.

    Thanks.

    Ben in reply to:
    Date Range – Pre-populate End Date
    #12680

    Thanks Ross.

    Where should I place this in the theme files? Currently I’ve placed it in the header above the search shortcode (as I have it on all pages).

    I’m referencing JQuery in the functions.php and have added the following console.log() to see if it is being triggered.

    $(".searchandfilter .datepicker:first-child").change(function(){
        //find the other date picker and update the value
    	console.log("Date has changed");
    });

    However, this is not being triggered. I have a feeling this may be down to code placement, and not the JS.

    Thanks,
    Ben

    Ben in reply to:
    Different Styling for each
    #12150

    To add to this, the styling does not apply when adding [data-sf-form-id=’12’] for example to the core css file for the plugin: search-filter.min.css.

    Thanks.

Viewing 5 posts - 1 through 5 (of 5 total)