rejetto forum

Specific item download count

Guest · 3 · 2752

0 Members and 1 Guest are viewing this topic.

Guest

  • Guest
I have a folder with a diff template in it which is a webpage.
The web page has a .gif which is also in the same folder.
The tool tip in  HFS virtual file system window displays the .gif
and relates the number of times it has been downloaded, when
I mouse over it. (see attached)
How can I display this download number on the web page?
%item-dl-count% only works in section [file], but I don't want to
display the complete %files% section for this folder, only the download
count for this one item in this folder only. If I can see it in the vfs surely
there must be a way? Tried macro, but I'm not very suscessful with them.
This could provide a visits to the page counter if it could be made to work.
Anyone have any ideas?


Offline Foggy

  • Tireless poster
  • ****
    • Posts: 806
    • View Profile
short of creating your own macro driven hits counter I cannot think of anyway of making it work, but someone else might


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
if you have just THAT file, you can insert the %files% in your diff tpl where you want to display the number of downloads.
Then add
Code: [Select]
[file]
%item-dl-count%