WebsiteBaker Support (2.8.x) > Droplets & Snippets
Most Popular Downloads call for Download Gallery 1.9?
aggiejag:
I'm using Download Gallery 1.90 and would like to have 5 of the most popular downloads listed on the front page and I can't figure out the call... can anyone help? I'm running WB 2.7, MySQL 5, PHP 4.1
http://www.marineofficerprograms.com
Thanks in advance!
~Russell
Ruud:
Just made a small snippet. Feel free to modify, improve, or do whatever you want with it.
Based on anynews, this lists a number of downlod links and the counter.
Optionally the file description is added.
No support for groups is built in.
Output is based on a table, with CSS classes added. Look at the output for the classes to add in your css.
Install this as a module and call it with <?php topgal(); ?> in your template.
(look at readme.txt for more info)
Cheers,
Ruud
[gelöscht durch Administrator]
aggiejag:
Ruud,
Exactly what i was looking for... will mod the output so it is in an unordered list vice a table, but THANKS a million!
Cheers,
~Russell
aggiejag:
Here's my mod... i changed it so it's an unordered list, removed the description and the download count... thanks again, Ruud!
[gelöscht durch Administrator]
Ruud:
yr welcome,
I like to help a bit if I can, this was a nice "challenge" for a Sunday afternoon :-)
Cheers,
Ruud
Navigation
[0] Message Index
[#] Next page
Go to full version