nikola Posted April 8, 2013 Share Posted April 8, 2013 After a few admin themes I've decided to make my first module. So, here it is, Wirebox module as replacement for Fancybox module for admin images and image galleries (modified jQuery Chocolat plugin and made it more "wire" friendly with some optimizations). I'm opened to suggestions how to make it better (how could it be improved?) as always UPDATE: optimized JS (removed unnecessary stuff, made the file smaller, optimized effects, resizing etc.) optimized CSS properly unbinds Fancybox click hooks from DOM before loading made the module configurable (you can set all the options through the module configuration screen) Screenshot: Info and download: http://modules.processwire.com/modules/wirebox/ 3 Link to comment Share on other sites More sharing options...
apeisa Posted April 8, 2013 Share Posted April 8, 2013 Looks great and congratulations on your first child nikola! Can't wait to test this. Link to comment Share on other sites More sharing options...
nikola Posted April 8, 2013 Author Share Posted April 8, 2013 Thanks Antti, it's more like a newborn (cause it's not that so sophisticated ). If you find any bugs, let me know... Link to comment Share on other sites More sharing options...
apeisa Posted April 8, 2013 Share Posted April 8, 2013 Just looked the code from mobile: you should check that $page has admin template. Now it adds js code to public pages also. 1 Link to comment Share on other sites More sharing options...
nikola Posted April 8, 2013 Author Share Posted April 8, 2013 Thanks for the follow up, I've added admin template check, changes active on git. 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now