Page 1 of 1
[Feature Request] File type icons
Posted: 31 Mar 2010, 00:45
by bison
Hi there
Would be great if Phoca download could:
automatic show icon of filetype next to filename - zip-pdf-rar-doc-jpg and so on
Regards Bison
Re: [Feature Request] File type icons
Posted: 01 Apr 2010, 20:15
by Jan
Hi, added into the feature request list, now you can assign it to every file (but it is not automatic

)
Jan
Re: [Feature Request] File type icons
Posted: 01 Apr 2010, 21:52
by bison
Thanks Jan --looking forward to it
Bison
Re: [Feature Request] File type icons
Posted: 19 Aug 2010, 14:37
by emal011
Jan wrote:Hi, added into the feature request list, now you can assign it to every file (but it is not automatic

)
Jan
and wich is the manual way?
Re: [Feature Request] File type icons
Posted: 21 Aug 2010, 16:59
by Jan
For now I have no experiences with this so cannot give any advices.
You need some function like:
- you get the filename
- with help of Joomla! method or Phoca Download method you will get the extension type for the filename
- you will create a function where you send the extension info and it will return the name of the icon.
The icon you will display next to the file.
Jan
Re: [Feature Request] File type icons
Posted: 24 Aug 2010, 11:56
by emal011
It could be really interesting to have some icons file, like if it´s a zip file, a zip icon, video file, video icon...
I don´t know how to hack phocadownload

so, i just see if I could make it with css...

Re: [Feature Request] File type icons
Posted: 28 Aug 2010, 13:32
by Jan
Hi, in fact there can be such possibility - you will extract the extension name (e.g. jpg, png, zip) and add this info to the class of item and then you will paste the class with link to the image into the CSS.
Jan