Okay so today I made a template mod "search this thread in thread" (Havn't posted yet). I think it will work, except there is one problem. The thread_view looks messed up when I put the template there.
Here is the template mod code
Also when I do search on it, I get this:
Security error occurred. Please press back, refresh the page, and try again.
Any suggestions?
Here is the template mod code
PHP:
<div class="pageNavLinkGroup">
<div class="linkGroup SelectionCountContainer">
<div class="Popup">
<a href="{xen:link search, '', 'type=post', 'thread_id={$thread.thread_id}'}" method="post" rel="Menu">Search this thread</a>
<div class="Menu JsOnly formPopup">
<form action="search/search" method="post">
<div class="primaryControls">
<input type="search" name="keywords" value="" class="textCtrl" placeholder="Search..." results="0" title="Enter your search and hit enter" />
</div>
<div class="secondaryControls">
<dl class="ctrlUnit submitUnit fullWidth">
<dt></dt>
<dd><input type="submit" value="Find Now" class="button primary"></dd>
</dl>
<a href="{xen:link search, '', 'type=post', 'thread_id={$thread.thread_id}'}" class="advSearchLink">Advanced search...</a>
</div>
<input type="hidden" name="type" value="post" />
<input type="hidden" name="child_nodes" value="1" />
<input type="hidden" name="threads[]" value="{$thread.thread_id}" />
<input type="hidden" name="_xfToken" value="$visitor.csrf_token_page" />
</form>
</div>
Also when I do search on it, I get this:
Security error occurred. Please press back, refresh the page, and try again.
Any suggestions?