Author Topic: Custom button  (Read 5526 times)

0 Members and 1 Guest are viewing this topic.

rid

  • Sr. Member
  • ****
  • Posts: 20
Custom button
« on: January 15, 2016, 04:17:13 PM »
First off I am so glad I found this software! It took a few minutes to get it up & running & I can't believe how well it seems to work! Sorry if this has been asked before but is it possible to upload a custom button that resides on the webpage to chat? I can see the image files are stored in the folder locales/en/button but could not see where I need to modify the code so any new images appear in the drop down list on the button creation page (index.php/operator/button-code) ? Thanks for any help.

rid

  • Sr. Member
  • ****
  • Posts: 20
Re: Custom button
« Reply #1 on: January 15, 2016, 04:36:22 PM »
I should add, I did find this info when searching from another post :-

Quote
Now about the custom buttons. You need to create images with names like <style name>_on.png and <style name>_off.png and put them into locales/<locale code>/button/ directory. You can find templates for buttons at: https://github.com/Mibew/design/tree/master/design. That's all. Just don't forget to replace <style name> and <locale code> with real values.

Which I have done but the button does not appear in the list, does a cache need clearing or something?? Thanks

rid

  • Sr. Member
  • ****
  • Posts: 20
Re: Custom button
« Reply #2 on: January 15, 2016, 04:46:16 PM »
Sorry  :-[ I'd forgotten to name the off file, all working fine.