Hello, I’m trying to build search functionality and I can’t seem to get a grip of how to make that the search results show on different pages.
Items are viewed on many different pages using different weblogs and statuses, so that eliminates {auto_path} option. I haven’t even set an autopath because it seems pointless to me given the preceeding statement.
I tried using the code
{exp:search:search_results}
<h4 class="search-head">{if page_url != ''}
<a href="http://{page_url}">{title}</a>
{if:else}
<a href="http://{auto_path}">{title}</a>
{/if}
</h4>Can I please get some help on how to structure the conditionals to receive the result I’m seeking.
Everything seem to show up on the home page. I would really appreciate some help with this one. Lately very rarely do I get a response from the Forum anymore, but I really need some help on this one.
I’m using version 1.6.8.