X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   remove / hide title in bestsellers module (https://forum.x-cart.com/showthread.php?t=57898)

mekon 02-04-2011 04:18 AM

remove / hide title in bestsellers module
 
Hi,

Ive created a static page for the best sellers (http://forum.x-cart.com/showthread.php?t=36664) but now have two titles. Is it possible to remove this?

<div class="title">
<h2>Bestsellers</h2>
</div>

thanks in advance

mekon 02-07-2011 02:23 AM

Re: remove / hide title in bestsellers module
 
Solved this by editing /customer/dialog.tpl:

{if not $noborder}
{if $main neq 'bestsellers'}
<div class="title">
<h2>{$title}</h2>
{if $sort and $printable ne 'Y'}
<div class="sort-box">
{if $selected eq '' and $direction eq ''}
{include file="customer/search_sort_by.tpl" selected=$search_prefilled.sort_field direction=$search_prefilled.sort_direction url=$products_sort_url}
{else}
{include file="customer/search_sort_by.tpl" url=$products_sort_url}
{/if}
</div>
{/if}
</div>
{/if}
{/if}
<div class="content">{$content}</div>
</div>


All times are GMT -8. The time now is 12:36 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.