rejetto forum

Help: Can't del a column in default.tpl

jack · 3 · 2884

0 Members and 1 Guest are viewing this topic.

Offline jack

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
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 ???


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
you have to remove this line
Code: [Select]
            <th>{.^sortlink|d|Hits.}

and change this
Code: [Select]

[+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: [Select]
[+file]
<td>%item-size%B<td>%item-modified%

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

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


Offline jack

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
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