iLoveHouseMusic:
Not a huge priority but can't seem to track this down. When doing a search using MediaProLight skin, the search results also display the side_home.tpl on the side. I wanted to make the search results more similar to jrElastic where it's basically 2 columns col6 + col6 format.
How do I remove that side bar from the search results in MediaProLight? I thought it was the jrSearch_results.tpl but that seems to be placed inside another TPL that contains the sidebar. I see it on the Demo also.
Thank you in advance!
In your header.tpl file, find this:
{* SEARCH PAGE HEADER *}
{if isset($_post.module) && $_post.option != 'admin' && ($_post.module == 'jrRecommend' || $_post.module == 'jrSearch')}
<div class="container">
<div class="row">
<div class="col9">
<div class="body_1 mr5">
<div class="title">{jrCore_lang skin=$_conf.jrCore_active_skin id="124" default="Search Results"}</div>
<div class="body_5">
{/if}
and change it to this:
{* SEARCH PAGE HEADER *}
{if isset($_post.module) && $_post.option != 'admin' && ($_post.module == 'jrRecommend' || $_post.module == 'jrSearch')}
<div class="container">
<div class="row">
<div class="col12 last">
<div class="body_1 mr5">
<div class="title">{jrCore_lang skin=$_conf.jrCore_active_skin id="124" default="Search Results"}</div>
<div class="body_5">
{/if}
then in your footer.tpl file, find this:
{if isset($_post.module) && $_post.option != 'admin' && ($_post.module == 'jrRecommend' || $_post.module == 'jrSearch')}
</div>
</div>
</div>
<div class="col3 last">
<div class="body_1">
{jrCore_include template="side_home.tpl"}
</div>
</div>
</div>
</div>
{/if}
and change it to this:
{if isset($_post.module) && $_post.option != 'admin' && ($_post.module == 'jrRecommend' || $_post.module == 'jrSearch')}
</div>
</div>
</div>
</div>
</div>
{/if}
Hope this helps,
Douglas
--
Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos