View Full Version : Move page Description Box (static content) from top to bottom of the page

May 14, 2012, 08:40 PM
Every category and page has a description block, and I’m wondering how I can move Description Box from top to bottom of the page.

Please refer to the snapshot in attachment.

May 15, 2012, 04:16 AM
Hello Petnax,

Yes you may change it in code:
Go to ftp:templates>>your_tepmlate>>tpl>>controllers>>listing_type.tpl
find code at line ~56:

{if !empty($category.des)}
<div class="highlight" style="margin: 0 0 15px;">

and move this code to end of document before code:

<!-- browse mode -->

{rlHook name='browseBottom'}

<!-- listing type end -->

and change margin: 0 0 15px; to margin: 15px 0 0; in style :)

May 15, 2012, 06:14 AM
Thank you Viktor.
It works!

Oisin Clarke
June 22, 2013, 06:23 PM
I am trying to add a category description in the add listing page using {$category.des} in category_level.tpl as below but nothing is showing up

<li id="tree_cat_{$cat.ID}" {if $cat.Lock}class="locked"{/if}>
<img {if !$sub_leval}class="no_child"{/if} src="{$rlTplBase}img/blank.gif" alt="" />
<a title="{$lang.add_listing_to|replace:$replace:$cat.name}" {if $cat.Lock}class="cursor_default"{/if} href="{if $cat.Lock}javascript:void(0);{else}{$rlBase}{if $config.mod_rewrite}{$pageInfo.Path}/{if $cat.Tmp}tmp-category{else}{$cat.Path}{/if}/{$steps.plan.path}.html{if $cat.Tmp}?tmp_id={$cat.ID}{/if}{else}?page={$pageInfo.Path}&amp;step={$steps.plan. path}&amp;{if $cat.Tmp}tmp_id{else}id{/if}={$cat.ID}{/if}{/if}">{$cat.name}</a>
<span class="tree_loader"></span>