XF 2.1 post a searchword to xenforo search

stanleyb23

Member
I use wordpress and xenforo. Because my forum is 95% of all the content i d like to use xenforo's search and post the searchword to xenforo search.

This is my old script in wordpress:
HTML:
<div id="wptouch-search-inner">
            <form method="get" id="searchform" action="https://www.klusidee.nl/Forum/search/search" class="search-box clearfix">
                <input type="text" name="q" id="search-text" placeholder="<?php _e( 'Search this website', 'wptouch-pro' ); ?>&hellip;" />
                <input name="submit" type="submit" id="search-submit" value="<?php _e( 'Search', 'wptouch-pro' ); ?>" class="button-dark" />
            </form>
        </div>

What do I have to change in this code being able to post to /Forum/search/search.

Or do you suggest other solutions?

Thanks
 
Top