stephenmiles

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Filter bar – having dropdown for the search #951090
    stephenmiles
    Participant

    Thank you for the plugin, it works a treat.

    I had to modify it as when “select a option” was chosen, it was also used in the search as the value was not set to “”.

    I then expanded it to include location search and remove the date search.

    Thank you again

    Stephen

    in reply to: Filter bar – having dropdown for the search #950506
    stephenmiles
    Participant

    Thank you for your help.

    I have look at the code above and tried to implement it while adjusting the $filter to the following.

    $filters[‘tribe-bar-search’] = array(
    ‘name’ => ‘tribe-bar-search’,
    ‘caption’ => __( ‘Search’, ‘tribe-events-calendar’ ),
    ‘html’ => ‘HTML FIELD’,
    ‘type’ => ‘dropdown’,
    ‘options’ => array(‘Hip Hop Tots’, ‘Family Hip Hop’)
    );

    I found the type and options from within tribe-field.class.php file but with the the filter bar is blank. Do I also need to include a submit button?

    I am missing anything else?

    Thank you

    Stephen

    stephenmiles
    Participant

    Thank you for directing me to look where to look at the problem.

    I have since found the problem (a http protocol calling a https protocol) and a solution (using https on the page).

    Stephen

    stephenmiles
    Participant

    Thank you Josh.

    I will set up a duplicate site on my local computer to test it out.

    To save me a little time can you confirm that the javascript files that may be the cause of the error or at least the solution are one the of resources/tribe-event-ajax-%.js files or resources/tribe-event-bar.js

    And what would be the best to customize the file(s)?

    Thank you

    Stephen

    stephenmiles
    Participant

    Thank you for the response

    As for filters I mean the search boxes as on the demo page.

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