Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

remove / hide title in bestsellers module

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-04-2011, 04:18 AM
 
mekon mekon is offline
 

Senior Member
  
Join Date: Jan 2011
Posts: 180
 

Default 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
__________________
------------------------------------------------

Darren
Reply With Quote
  #2  
Old 02-07-2011, 02:23 AM
 
mekon mekon is offline
 

Senior Member
  
Join Date: Jan 2011
Posts: 180
 

Default 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>
__________________
------------------------------------------------

Darren
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020