a_bertrand Posted January 18, 2013 Share Posted January 18, 2013 So, following the wishes here, that's what I will try to look into next week: - Be able to decide which columns will be displayed in the list - Have some limit of the number of rows displayed (is a paging really useful? Or we can simply display the 100 or 200 first rows?) - Be able to sort by any column (click on the title and sort, click again on it, reverse the sort) - Filter by any column (a filter per column will be available) - Browsing, filter, sort should be ajax driven, the edit, maybe not. I shall check. - Maybe improve the overall look of it? What else would you need or think? Quote Link to comment Share on other sites More sharing options...
gmoore Posted January 18, 2013 Share Posted January 18, 2013 YEAH! Undoing the mess I was making. (Pagenation can wait in my opinion because of all the filtering options). Thank you!!!! Greg Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted January 21, 2013 Author Share Posted January 21, 2013 And here is a small preview: [ATTACH]850[/ATTACH] Sort, and filter per column work, as well as added the option in the config.xml to define which column to display. I will look into the paging and then it should be ready. Only drawback is that I had to change the AJAX lib, was missing the Secure inside the Ajax output, and therefore any link produced via AJAX wasn't valid. So now we will have the choice to make a 1.1.6 release for that, or just wait till next release. Will be up to you guys. Quote Link to comment Share on other sites More sharing options...
Someone Posted January 21, 2013 Share Posted January 21, 2013 I vote wait, or whatever you other guys think EDit: Looks good :) Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted January 21, 2013 Author Share Posted January 21, 2013 Done, I managed to make it work with the current version of the Ajax lib, added some simple paging, sort and filters are in, as well as the option to choose which column to display (as demonstrated by the combat module which I upgraded to include it). The browsing of the data (filter, sort and paging) is done via ajax. Comments, feedback and further requests are welcome ;) Quote Link to comment Share on other sites More sharing options...
gmoore Posted January 21, 2013 Share Posted January 21, 2013 Is there a format for the config file in the modules to limit the fields that show up on the list? btw seems to operate just fine. Moving over my huge table to see the pagenation. :) Awesome addition. Greg Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted January 21, 2013 Author Share Posted January 21, 2013 yes there is, as said, check the config.xml in the combat module, and you shall see the limitation on npc_warriors Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted January 21, 2013 Author Share Posted January 21, 2013 BTW Don't know if I was clear but you may download it from the marketplace right now (don't remember if it's included in the free and dev yet), it should already work for you. Quote Link to comment Share on other sites More sharing options...
Someone Posted January 21, 2013 Share Posted January 21, 2013 The condition_code fields seems to been broken when editing/adding table rows Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted January 22, 2013 Author Share Posted January 22, 2013 Fixed, the .htaccess I modified basically blocked access to 2 important php files. Now it's fixed, and I also fixed the reset to the first page in case you change the sort order or you change a filter. Quote Link to comment Share on other sites More sharing options...
Someone Posted January 22, 2013 Share Posted January 22, 2013 Yup that solves it. Loving it :cool: Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted January 22, 2013 Author Share Posted January 22, 2013 Was really a stupid thing from me. I thought, why did I opened the full directory at first, so I decided to copy / paste another .htaccess and... I broke it ;) Quote Link to comment Share on other sites More sharing options...
Someone Posted January 22, 2013 Share Posted January 22, 2013 I just had to look, I do not see Greg raving here, but I still had to look, did Alain leave all php files visible in the .htaccess.... No he did not :) Quote Link to comment Share on other sites More sharing options...
gmoore Posted January 22, 2013 Share Posted January 22, 2013 Lol raving. I think this module is the best one in the system (at least the most useful to me). The features cut 12 edit programs I was writing. I am just going to use this. Thank you for saving me days and days of work. Greg Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted January 22, 2013 Author Share Posted January 22, 2013 No problem, it was anyhow something needed at some point, so saying you was wanting it now, just pushed the feature up in my todo list ;) And I think indeed it may well be one of the most complex mod of the engine ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.