Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12412
Latest: sathex
New This Month: 2
New This Week: 1
New Today: 1
Stats
Total Posts: 39950
Total Topics: 7033
Most Online Today: 53
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 31
Total: 31

Author Topic: Remove "Description" field  (Read 3195 times)

0 Members and 1 Guest are viewing this topic.

Offline gibbs

  • Newbie
  • *
  • Posts: 33
  • Using SMF Gallery and Classifieds
    • View Profile
Remove "Description" field
« on: December 03, 2008, 07:22:13 am »
Dear support,

I would like to remove the "Description" column from my categories view. Is there a section of code I can comment out to get rid of this somewhere please?

Thanks.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14980
    • View Profile
Re: Remove "Description" field
« Reply #1 on: December 03, 2008, 07:25:04 pm »
Classifieds.template.php
Find and remove
Code: [Select]
<td>', $txt['class_text_classdescription'], '</td>
And in the following in two spots
Code: [Select]
<td class="windowbg2">' . parse_bbc($row['description']) . '</td>'
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline gibbs

  • Newbie
  • *
  • Posts: 33
  • Using SMF Gallery and Classifieds
    • View Profile
Re: Remove "Description" field
« Reply #2 on: December 04, 2008, 07:13:30 am »
Hi and thanks for posting the fix.

When I remove those lines, it then struggles to parse the template. I've tried keeping the ";" and tried without but both ways still struggles to parse the template. I know I'm missing something simple but I can't seem to fathom it out.

please advise,
Thanks

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
6316 Views
Last post September 28, 2007, 11:46:07 am
by smalldonkey
2 Replies
5339 Views
Last post November 06, 2007, 08:55:18 pm
by dry3210
1 Replies
2854 Views
Last post April 05, 2009, 08:59:45 am
by SMFHacks
0 Replies
2154 Views
Last post November 02, 2010, 08:35:16 am
by spacecadet
0 Replies
1576 Views
Last post June 25, 2011, 02:06:37 pm
by Marcel

+- Recent Topics

hashTags only used by admins, but visible to everyone? by SMFHacks
December 08, 2019, 05:09:23 pm

Responsive Layout by Matthias
November 30, 2019, 03:05:57 pm

Secure connection failed Pretty Url Pro by Rock Lee
November 26, 2019, 10:44:23 am

Black Friday Sale Week 2019 by SMFHacks
November 23, 2019, 04:47:56 pm

German Translation missing in SMF 2.1R1 by SMFHacks
November 19, 2019, 02:38:42 pm

Unread items issue by SMFHacks
November 19, 2019, 10:07:32 am

Update detect mobile mode PHP5 to PHP7 by Rock Lee
November 16, 2019, 07:18:13 pm

PHP error by davejo
November 12, 2019, 12:09:47 pm

Message Editor Pro Issues by SMFHacks
November 06, 2019, 09:58:33 pm

most popular categories doesnt work by fussilet
November 02, 2019, 02:51:42 pm

Powered by EzPortal