OK, I am a newbie on modx. I have set of various files to be downloaded by user. Some of them are pdf, some are rar, other are MS DOC format and so on.
I would like to display a list, where each of these files will have title, author and an appropriate icon for each type of the file, ie. pdf icon for a pdf file, MSWORD icon for a MSWORD document and so on. I would also like to display a size of each file and include counter of downloads so far for each file. When user clicks on each file, it should start download the file.
Example:
[table]
[tr]
[td]
Title[/td]
[td]
Author[/td]
[td]
Format[/td]
[td]
Size[/td]
[td]
# of Downloads[/td]
[/tr]
[tr]
[td]
C For Dummies[/td]
[td]Stephen Davis[/td]
[td]pdf (icone)[/td]
[td]1.2MB[/td]
[td]43[/td]
[/tr]
[tr]
[td]
TCP Administration[/td]
[td]Brian Komar[/td]
[td]rar (icone)[/td]
[td]2.2MB[/td]
[td]12[/td]
[/tr]
[tr]
[td]
SAP’s R/3 Apps[/td]
[td]Wolfgang Weiss[/td]
[td]zip (icone)[/td]
[td]5MB[/td]
[td]62[/td]
[/tr]
[/table]
How can I do it using modx?
Thank you for any help.
Vladimir