Removing columns from the Download List table view template
What is the proper way to remove a column from the default template of the Download List Table View template?
i.e. I am showing the filetype icon so it is redundent to show the file type text or I don't want to show the size column.
TIA
Hi John,
Thank you for using our products.
The functionality you require is fairly easy to achieve. Simply click edit on the Downloads list widget, click on Settings->Edit thumbnail list template. The lines you need to remove in order to get the desired result are the following:
<
div
class
=
"sfMetaInfo"
>
<
sitefinity:SitefinityLabel
id
=
"infoLabel"
runat
=
"server"
WrapperTagName
=
"span"
HideIfNoText
=
"false"
CssClass
=
"sfInfo"
/>
<
comments:CommentsCountControl
runat
=
"server"
ThreadKey='<%# ControlUtilities.GetLocalizedKey(Eval("Id")) %>' ThreadType='<%# Container.DataItem.GetType().FullName %>' DisplayMode="ShortText"/>
</
div
>