How do you remove the Browse Categories Box?

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 ...


Go Back   68 Classifieds Forums > General > HTML, CSS, and Design Help

 
LinkBack Thread Tools Display Modes
  #1  
Old 09-06-2007, 05:13 PM
Member
 
Join Date: Mar 2007
Posts: 51
Rep Power: 9
Default How do you remove the Browse Categories Box?

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
Reply With Quote
  #2  
Old 09-06-2007, 05:26 PM
68 Classifieds Staff
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,213
Rep Power: 96
Default

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>
So you can delete it if you do not want it showing.
__________________
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
Reply With Quote
  #3  
Old 09-06-2007, 06:38 PM
Member
 
Join Date: Mar 2007
Posts: 51
Rep Power: 9
Default

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>
Reply With Quote
  #4  
Old 09-06-2007, 06:56 PM
68 Classifieds Staff
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,213
Rep Power: 96
Default

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
Reply With Quote
  #5  
Old 09-06-2007, 06:58 PM
Member
 
Join Date: Mar 2007
Posts: 51
Rep Power: 9
Default

I just wanted to make sure I wasn't deleting anything else too.

Thanks for your help again.
Reply With Quote

Bookmarks

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT -4. The time now is 08:29 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22