| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
remove / hide title in bestsellers module | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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 |
|||||||
#2
|
|||||||
|
|||||||
![]() 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 |
|||||||
|
|||
X-Cart forums © 2001-2020
|