rejetto forum
May 26, 2012, 02:28:01 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Help: Can't del a column in default.tpl  (Read 415 times)
0 Members and 2 Guests are viewing this topic.
jack
Occasional poster
*
Offline Offline

China China

Posts: 3


View Profile
« on: October 22, 2011, 03:53:59 PM »

Hi all,

I want to delete the "hit" column in default .tpl, but I can't.

I deleted several sentences related to the word "hit", but the thing is, it still shows a very narrow column in the right side.

Can anyone tell me why?

Thanks in advance.

Jack Huh?

* default_modified.tpl (29.5 KB - downloaded 33 times.)
* default.tpl (31.3 KB - downloaded 23 times.)
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #1 on: October 23, 2011, 06:33:22 AM »

you have to remove this line
Code:
            <th>{.^sortlink|d|Hits.}

and change this
Code:

[+file]
<td>%item-size%B<td>%item-modified%<td>%item-dl-count%

[+folder]
<td class='nosize'>folder<td>%item-modified%<td>%item-dl-count%

[+link]
<td class='nosize'>link<td colspan='2'>

into this

Code:
[+file]
<td>%item-size%B<td>%item-modified%

[+folder]
<td class='nosize'>folder<td>%item-modified%

[+link]
<td class='nosize'>link<td>
Logged
jack
Occasional poster
*
Offline Offline

China China

Posts: 3


View Profile
« Reply #2 on: October 23, 2011, 11:28:28 AM »

Thank you very much!

I found out there are 3 places that contain "<td" at the end of sentence, and I deleted them, then it's ok now.


Jack
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 24, 2012, 02:40:24 PM