Home › Forums › Calendar Products › Events Calendar PRO › Searchform not passing right Locationvalues
- This topic has 2 replies, 2 voices, and was last updated 11 years ago by
Geoff.
-
AuthorPosts
-
April 10, 2015 at 2:01 am #954528
Benjamin
ParticipantHello Everybody,
im Using your Events-Calendar Pro Plugin and are just about to include the Location Search which unfortunately doesn’t work.
I overwrote the search bar, this is the version I’m using:div id="tribe-events-bar"> <form id="tribe-bar-form" class="tribe-clearfix" name="tribe-bar-form" method="get" action="<?php echo esc_attr( $current_url ); ?>"> <!-- Mobile Filters Toggle --> <div id="tribe-bar-collapse-toggle" <?php if ( count( $views ) == 1 ) { ?> class="tribe-bar-collapse-toggle-full-width"<?php } ?>> <?php _e( '', 'tribe-events-calendar' ) ?><span class="tribe-bar-toggle-arrow"></span> </div> <div class="tribe-bar-filters"> <div class="tribe-bar-filters-inner tribe-clearfix row"> <div class="tribe-bar-search-filter col-md-3"> <label for="tribe-bar-search" class="label-tribe-bar-search"></label> <input class="form-control" data-bind="label" type="text" placeholder="Suchbegriff" value="" id="tribe-bar-search" name="tribe-bar-search"> </div> <div class="tribe-bar-date-filter col-md-3"> <label for="tribe-bar-date" class="label-tribe-bar-date"></label> <input type="text" class="form-control datepicker datepicker" placeholder="Datum" value="" id="tribe-bar-date" data-date-format="yyyy-mm-dd" name="tribe-bar-date"> <input type="hidden" value="" class="tribe-no-param" id="tribe-bar-date-day" name="tribe-bar-date-day"> </div> <div class="tribe-bar-geoloc-filter col-md-3"> <label for="tribe-bar-geoloc" class="label-tribe-bar-geoloc"></label> <input type="hidden" value="" id="tribe-bar-geoloc-lat" name="tribe-bar-geoloc-lat"> <input type="hidden" value="" id="tribe-bar-geoloc-lng" name="tribe-bar-geoloc-lng"> <input type="text" class="form-control" placeholder="Ort" value="" id="tribe-bar-geoloc" name="tribe-bar-geoloc"> <div id="tribe-geo-options" style="display: none;"> <div id="tribe-geo-links"></div> </div> </div> <div class="tribe-bar-submit col-md-3"> <input class="tribe-events-button tribe-no-param btn btn-primary" type="submit" name="submit-bar" value="Suchen" /> </div><!-- .tribe-bar-submit --> </div><!-- .tribe-bar-filters-inner --> </div><!-- .tribe-bar-filters --> </form><!-- #tribe-bar-form --> </div><!-- #tribe-events-bar -->Date and Keyword are working fine, but the third column for Location doesn’t seem to pass on anything.
Any ideas about this? Thank you!April 10, 2015 at 7:51 am #954582Geoff
MemberHi Benjamin and welcome to the forums! I hope you’ve been enjoying the PRO plugin so far. 🙂
Interesting question! By not passing do you mean that the something the form submits, but never loads? Or do you mean that the form cannot be submitted at all when something is typed into the location field?
I tried overriding the search bar with your code and it seemed to work correctly. By chance, I wonder if there is a theme conflict at play. Are you able to activate a default WordPress theme (like Twenty Fifteen) and see if the issue still comes up? How about when you deactivate all other plugins while using a default WordPress theme? Here’s a guide to help test those conditions.
Please give that a shot and let me know what you find. 🙂
Cheers!
GeoffApril 27, 2015 at 10:37 am #958635Geoff
MemberHey Benjamin! This thread has been quiet for a while, so I’m going to go ahead and close it. Please feel free to start a new thread if you still have questions here and we’d be happy to help. 🙂
Cheers!
Geoff -
AuthorPosts
- The topic ‘Searchform not passing right Locationvalues’ is closed to new replies.
