PDA

View Full Version : How to create new box position in the homepage - Template Auto Wide



Frank Duru
September 5, 2016, 10:47 AM
Hello All,

I am looking for a way to create a new box on the homepage of Auto Classified with template Auto Wide. I want to add completely new box place/position just after the horizontal search box. I have searched for a guide both in Google no success. Any idea where to get the guide, please let me know.

Thanks in advance

Viktor
September 5, 2016, 12:24 PM
Hello Frank,

Go to ftp://templates>>your_template>>content.tpl

find code:


{if $pageInfo.Key == 'home'}
{include file='blocks'|cat:$smarty.const.RL_DS|cat:'home_co ntent.tpl'}
{/if}

cut it and put after:


{if $blocks.top}
<!-- top blocks area -->
<aside class="top">
{foreach from=$blocks item='block'}
{if $block.Side == 'top'}
{include file='blocks'|cat:$smarty.const.RL_DS|cat:'blocks_ manager.tpl' block=$block}
{/if}
{/foreach}
<!-- top blocks area end -->
</aside>
{/if}

save and check again.