rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: jack on October 22, 2011, 08:53:59 PM

Title: Help: Can't del a column in default.tpl
Post by: jack on October 22, 2011, 08: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 ???
Title: Re: Help: Can't del a column in default.tpl
Post by: rejetto on October 23, 2011, 11:33:22 AM
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>
Title: Re: Help: Can't del a column in default.tpl
Post by: jack on October 23, 2011, 04:28:28 PM
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