adamspruijt Posted December 22, 2012 Share Posted December 22, 2012 The Modules page can get a little unruly, and though Soma's ModulesSectionCollapse helps to mitigate this I felt the need for more....So I put together "Modules Quick Filter". Which has two main components. A "search as you type" field that filters by module name and a "refine by category" select box, which narrows the display of Modules by category.(The functionality is accomplished with javascript, as is the layout itself, if there are some hooks I could've used to do this, someone let me know )UPDATE 1.1 - Added Multilingual Support and some minor bug fixes/improvmtentsUPDATE 1.2 - Added configuration setting to choose whether or not field is collapsed by default.DOWNLOAD 9 Link to comment Share on other sites More sharing options...
ryan Posted December 22, 2012 Share Posted December 22, 2012 This looks great! I can't to try it. Only problem is that it asks me for a login/password to download? Is this something we need to sign up for an account for, or is that an error? Link to comment Share on other sites More sharing options...
adamspruijt Posted December 22, 2012 Author Share Posted December 22, 2012 Sorry bout that Ryan. All fixed. Link to comment Share on other sites More sharing options...
ryan Posted December 22, 2012 Share Posted December 22, 2012 Thanks, tested out and it works great! Very useful for sure--I like it! A few comments: Your init can hook "ProcessModule::execute" rather than "Process::execute". That would be a little more efficient. Having all the markup generated in javascript rather than your PHP (.module) file means that the text isn't translatable. Not an issue for me, but might be for some people that are using other languages. I'd suggest changing your <span class='notes'> to <p class='notes'>, just for consistency with the rest of PW. Looks good in your admin theme as-is, but in other admin themes the <span> runs up against the bottom border, whereas the <p> doesn't. Thanks for making this great module! Link to comment Share on other sites More sharing options...
adamspruijt Posted December 22, 2012 Author Share Posted December 22, 2012 Awesome. Will do when I get home. Thanks Ryan. Is there a simple hook I can use to add content to the top of the modules page? Link to comment Share on other sites More sharing options...
Soma Posted December 22, 2012 Share Posted December 22, 2012 That would be after ProcessModule::execute. The $event->return would be the markup rendered. You could then wite $event->return = $yourmarkup . $event->return; 1 Link to comment Share on other sites More sharing options...
adamspruijt Posted December 23, 2012 Author Share Posted December 23, 2012 Thanks Soma, I'll take a look at that and see what I can come up with. Link to comment Share on other sites More sharing options...
adamspruijt Posted December 23, 2012 Author Share Posted December 23, 2012 Great, updated with Multilingual support and the tweaks you mentioned Ryan. 1 Link to comment Share on other sites More sharing options...
adamspruijt Posted January 8, 2013 Author Share Posted January 8, 2013 Just pushed an update to maintain event bind in the "type to search" result. Didn't realize these were needed for installing module. Link to comment Share on other sites More sharing options...
Luis Posted January 8, 2013 Share Posted January 8, 2013 Voted to make this a core module. 1 Link to comment Share on other sites More sharing options...
Adam Kiss Posted January 8, 2013 Share Posted January 8, 2013 Voted to make this a core module. Where? Link to comment Share on other sites More sharing options...
Luis Posted January 8, 2013 Share Posted January 8, 2013 You, ryan, apeisa and 4 others like this 1 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