ElkArte Community

Extending Elk => Addons => Topic started by: emanuele on January 22, 2015, 06:12:50 am

Title: [LIBRARY] Style Picker
Post by: emanuele on January 22, 2015, 06:12:50 am
This is the first (and hopefully not the last :P) "library" I post here.

What's the difference with an addon?
Well, to begin you cannot install it, and even if you do, it wouldn't do anything at all.
The idea is to create "self-contained" pieces of code that "do something" and that can be used by other addons to do the same.

In that case, I extracted the code that takes care of presenting and validate the styles (basically a form) and put them into a standalone class+template+language.

I plan to re-use it in another could of addons, so I thought it would be useful to have the code handy and realized it may be of help to others as well, so I posted it here. :)

Since it's "only for developers", I'm not going to attach a package here, there is just the repository at github:
https://github.com/emanuele45/StylePicker

Feel free to contribute, comment, etc. as usual! ;D