Is there an easy way to modify the banner of the web admin interface to include a company logo? I don't want to get rid of the ejabberd banner, just add a logo that makes it look "official."
Thanks!
Bill
To access the most up-to-date ejabberd documentation, please visit docs.ejabberd.im »
Is there an easy way to modify the banner of the web admin interface to include a company logo? I don't want to get rid of the ejabberd banner, just add a logo that makes it look "official."
Thanks!
Bill
Depends on how you define "easy"
That depends on how you define "easy". I found the code in src/web/ejabberd_web_admin.erl quite easy to read, so I included an <img> tag in the XHTML tree, added some style rules in the CSS, and added the base64-encoded logo in about half an hour (including some tweaking of the logo image). Of course, there could be a more general mechanism for this...
I don't have it handy right now, but I can dig out the patch if it would help you.
Sounds good...
Sure. If you can hunt down the patch, that would be great!
Thanks in advance!
Here is the patch
Here is the patch. You need to replace the base64-encoded image, and possibly the dimensions, but you'll probably want to keep the height as it fits nicely in the rest of the design.
Excellent!
I'll give it a go. Thanks a lot!
I have not found it
I have not found it in Windows help to solve this problem please