[RSS Feed/News] XF Link Parameters - Search Query - redirecting to homepage

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Hey all,

I'm struggling with this xf link builder - I have all my other link builders working correctly (navigating to sub-pages / thread pages etc), but my "search query" search link isn't working correctly.

HTML:

Code:
<form id="form" action="{{ link('note/search', $query ) }}">
    <input type="search" id="query" name="q" placeholder="Search...">
    <button>Search</button>
</form>

When the Search button is clicked, I end up on index.php?q=query, vs where I'm expecting to end up...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom