This is a discussion on How do you remove the Browse Categories Box? within the HTML, CSS, and Design Help forums, part of the General category; How do you remove the Browse Categories Box located on the homepage? I was looking in the Home.tpl folder, but ...
|
|||||||
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
How do you remove the Browse Categories Box located on the homepage?
I was looking in the Home.tpl folder, but i'm not 100% sure of exactly what part to remove (or if this is the correct place to find it). thanks |
|
#2
|
||||
|
||||
|
The whole browse categories table is this:
Code:
<table class="tableborder">
<tr>
<th>{$smarty.const.LANG_BROWSE_CATEGORY}</th>
</tr>
<tr>
<td>
{html_table_adv loop=$data cols=$cols table_attr='width="100%"'}
[[start_link]]<img src='[[image]]' border='0' alt='[[name]]' /></a> [[start_link]]<strong>[[name]]</strong></a>
([[total]])
<br />
[[subcats]]
{/html_table_adv}
</td>
</tr>
</table>
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter |
|
#3
|
|||
|
|||
|
Is that in the Home.tpl.php folder?
I found this, is this the correct part to delete, it looks a little different than the code you posted? I just want to make sure i'm not deleting anything else too. thanks Code:
<table class="main" width="100%">
<tr>
<th>{$smarty.const.LANG_BROWSE_CATEGORY}</th>
</tr>
<tr>
<td>
<table width="100%">
{section name=tr loop=$data step=$cols}
<tr>
{section name=td start=$smarty.section.tr.index loop=$smarty.section.tr.index+$cols}
<td valign="top">
{if $data[td]<>""}
{$data[td].start_link}<img src="{$data[td].image}" border="0" alt="{$data[td].name}" /></a>
{$data[td].start_link}<strong>{$data[td].name}</strong></a>
{if $data[td].total <> ''}
({$data[td].total})
{/if}
<br />
<!--{$data[td].subcats}-->
{$data[td].description}
{/if}
</td>
<td>
{/section}
</tr>
{/section}
</table>
</td>
</tr>
</table>
|
|
#4
|
||||
|
||||
|
Yep that should work. It is just different smarty coding.
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter |
|
#5
|
|||
|
|||
|
I just wanted to make sure I wasn't deleting anything else too.
Thanks for your help again. |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Browse Categories not updating | PilotPete | v3.1 Questions & Support | 0 | 10-11-2006 11:03 PM |
| remove browse catagory | thecarsales | v3.1 Questions & Support | 5 | 06-05-2006 05:12 PM |
| Prevent Browse Categories Table for hidden categories | free2take | v3.0 Questions & Support | 3 | 05-12-2006 11:14 AM |
| Browse Categories table color change? | PonyTrader | v3.0 Questions & Support | 1 | 04-19-2006 01:30 PM |
| Browse Categories - disable sub-category | dawyatt | v3.0 Questions & Support | 3 | 03-31-2006 03:32 PM |