I am using the search tag on a page to pull up a list of search results. No matter what I search for it shows up empty. Below is my code:
Search Form:
Search Results Page:
Search Form:
- Code: Select all
<cms:form id="search-form" method="get" action="<cms:link 'career-search.php' />" anchor='0' keywords="<cms:gpc 's' />">
<div class="cute-4-tablet">
<input type="text" name="s" placeholder="SEARCH CAREERS" />
<input type="submit" class="button-2" value="SEARCH"/>
</div>
</cms:form>
Search Results Page:
- Code: Select all
<cms:search masterpage='positions.php'>
<cms:set results='yes' scope='global' />
<article class="post">
<div class="post-img cute-4-tablet">
<iframe src="<cms:show loc_map />" width="100%" height="265" frameborder="0" style="border:0"></iframe>
</div>
<div class="cute-8-tablet">
<h1 class="post-car"> <cms:show pos_title /></h1>
<div class="post-meta">
<p class="date"><i class="fa fa-calendar"></i><cms:date k_page_date format='F d, Y' /> </p><p class="name"><i class="fa fa-map-marker"></i> <a href="#"><cms:show pos_address /></a> </p>
</div>
<p class="text-car">
<cms:show pos_desc />
</p>
<a href="<cms:show app />" target="_blank" class="btn-default" ><cms:show btn_text /></a>
</div>
</article>
<div class="cute-12-tablet"><hr></div>
<cms:no_results>
<h3>No careers found for "<cms:show k_search_query />"</h3>
</cms:no_results>
</cms:search>