Own icons for own files?

Phoca Download - download manager
daggi
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 10 Mar 2014, 16:05

Own icons for own files?

Post by daggi »

Hi there is it possible to set own icons for own download files like .epub or something else?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48568
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Own icons for own files?

Post by Jan »

Hi, you can set png, jpg or gif as icons in Phoca Download.

Jan
If you find Phoca extensions useful, please support the project
daggi
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 10 Mar 2014, 16:05

Re: Own icons for own files?

Post by daggi »

Thanks but my english isn't verry well.

mybe you can read german too.

Wie kann ich eigene icons in .png . jpg-Format als Icons für Dateien wie .epub / .mkv oder andere nicht im Phoca-Download aufgeführte Files angeben.
Wenn ich ein .epub hochlade hat es immer das empty_icon. Ich hab mein eigenes .epub-Icon schon unter Einstellungen für erlaubte Up/Downloads eingefügt und die Icons in die Ordner 16, 32, 48, 64 hochgeladen, aber es wir nicht angezeigt. :(
Zudem hab ich Probleme beim Installieren der Sprache :(
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48568
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Own icons for own files?

Post by Jan »

Hi, now I understand, which version of Phoca Download you are running, e.g. in Phoca Downlaod 3, in:

administrator\components\com_phocadownload\libraries\phocadownload\file\file.php

you can customize which file extensions will have which icon, see the method:
getMimeTypeIcon

you can assign the file to some current icon easily, if you will add new icon, this needs to be customized here and new icon loaded to image folder.


Sprache/Language:
https://www.phoca.cz/documents/46-transl ... -in-joomla

Jan
If you find Phoca extensions useful, please support the project
Post Reply