Custom App icons

Hello u guys,

How can I set a custom icon for an app other than font awesome?
Ive tried setting an url (png) when frappe --make_app & changing the icon value @ config/desktop.py but all i get is an empty icon.

Thanx,
M




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/bb4cf9d8-6ff7-4058-97e8-8e295bf664ba%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Should be quite easy. You need to fix this file:

https://github.com/frappe/frappe/blob/develop/frappe/public/js/frappe/ui/app_icon.js

(don't forget to send a Pull-Request :)



On 19-Jul-2014, at 12:34 am, Marta Ross <ma...@gmail.com> wrote:

Hello u guys,

How can I set a custom icon for an app other than font awesome?
Ive tried setting an url (png) when frappe --make_app & changing the icon value @ config/desktop.py but all i get is an empty icon.

Thanx,
M





Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/bb4cf9d8-6ff7-4058-97e8-8e295bf664ba%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/C114E6DD-997B-4256-A3D9-56A261A48C26%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.