bernhard Posted December 27, 2016 Share Posted December 27, 2016 one thing i'm missing sometimes on the template editor is a shortcut for editing field widths. a slider from 10 - 100% instantly changing the fields width would be a great addition in my opinion often changing one field's width makes it necessary to change the other field's width as well (eg adding a field to a row of 4 fields with 25% makes it necessary to change all fields to 20% it would be great to add the field and drag all field's width from 25 to 20 without the need to open each fields settings, clicking on the display tab, changing value, saving field, closing modal... all other settings are fine being available behind one click. 1 Link to comment Share on other sites More sharing options...
Juergen Posted December 27, 2016 Share Posted December 27, 2016 Forget the drag and drop idea , a link, fe next to the page title, that opens the template editor in a modal window to show all the fields of the template, would fit the requirements. Link to comment Share on other sites More sharing options...
bernhard Posted December 27, 2016 Share Posted December 27, 2016 already there see the "rockcontact" edit link 2 Link to comment Share on other sites More sharing options...
Juergen Posted December 27, 2016 Share Posted December 27, 2016 OK sorry! How can I miss that? Thanks 1 Link to comment Share on other sites More sharing options...
tpr Posted December 27, 2016 Author Share Posted December 27, 2016 By not reading the manual? Field width changing would be great, provided that a good and simple GUI could be found. My first idea was to change the asm fields width according to the field widths, that would allow instant visual feedback, and allow field width change by dragging their right side. I haven't used such Js library so I don't know how hard that would be to implement. Link to comment Share on other sites More sharing options...
bernhard Posted December 27, 2016 Share Posted December 27, 2016 i think the most simple solution would be to make the status text on the right edge of asm select clickable and link directly to the second tab: <span class="asmListItemStatus">Text 33%</span> --> editurl#inputfieldConfig would that work? it would save 1 click per field and would still need 1 click to save. maybe 1 inputfield per field directly inside the asm select would be even better? then it would be really easy to change multiple fields in a very short time... btw: has anyone ever kind of a "newline"-field? for example if you have different number of fields in one line depending on field dependencies. if you have 2 lines with columns < 100% that can lead to wrong field orders. workaround is to put those fields inside a fieldset, but i think there could be a better solution... Link to comment Share on other sites More sharing options...
tpr Posted December 29, 2016 Author Share Posted December 29, 2016 v117 contains @bernhard's idea (see above). I've also managed to add the "100%" text on full-width fields because this makes percentages align nicer. 3 Link to comment Share on other sites More sharing options...
Juergen Posted December 30, 2016 Share Posted December 30, 2016 Works great! Thanks 2 Link to comment Share on other sites More sharing options...
tpr Posted December 30, 2016 Author Share Posted December 30, 2016 On 27/12/2016 at 2:24 PM, bernhard said: btw: has anyone ever kind of a "newline"-field? for example if you have different number of fields in one line depending on field dependencies. if you have 2 lines with columns < 100% that can lead to wrong field orders. workaround is to put those fields inside a fieldset, but i think there could be a better solution... I dont think there is such field, I would perhaps add some CSS to fix (clear or before-after pseudos). 1 Link to comment Share on other sites More sharing options...
bernhard Posted January 2, 2017 Share Posted January 2, 2017 thank you tpr for the new update also thank you for the css fix. didn't think about that! what do you think of adding often used widths as a clickable shortcut to the form? clicking it could also save + close the modal shortcuts could be 20 25 33 34 40 50 60 75 80 100 1 Link to comment Share on other sites More sharing options...
tpr Posted January 3, 2017 Author Share Posted January 3, 2017 Not sure about this, it wouldn't save too much time imo. Auto save would be also an issue because users could have edited other fields and perhaps they wouldn't like to save. 2 Link to comment Share on other sites More sharing options...
tpr Posted January 3, 2017 Author Share Posted January 3, 2017 I've added simple svg backgrounds to show values as guidelines. It's not 100% perfect but close 3 Link to comment Share on other sites More sharing options...
bernhard Posted January 3, 2017 Share Posted January 3, 2017 nice idea 1 Link to comment Share on other sites More sharing options...
Speed Posted January 6, 2017 Share Posted January 6, 2017 On 12/21/2016 at 3:29 PM, tpr said: I tried it on two servers (livehost), in a subdir and in the root. You could try to uncomment the series of bd() calls in line 913 and further down in 961 to see what paths/urls AOS tries to use (requires Tracy Debugger). You can update the module from the directory as it contains these fixes. Sorry for delay in respond, Just returned home from out of town during holiday. Pardon for my ignorance, Tracy Debugger? Is that PW modules? Plugin? I have looked into this https://processwire.com/blog/posts/introducing-tracy-debugger/ and still not yet sure understand how or where I can preform debugging. Can you explain? Link to comment Share on other sites More sharing options...
tpr Posted January 6, 2017 Author Share Posted January 6, 2017 Yes, Tracy Debugger is a module which can help you find problems with your code or in others code as in this case too. Once you install it and see the "Debugger bar" (refer to the introduction post you linked above) then if you uncomment those lines I mentioned you should see the values if you click on the bar. This way you can see why the path/url differs. 1 Link to comment Share on other sites More sharing options...
Speed Posted January 6, 2017 Share Posted January 6, 2017 Okay, Tracy Debugger module is installed, I 've uncomment line :913 bd($ckeCSS); and :961 bd($adminCSS); on AdminOnSteroids.module inside .AdminOnSteroids directory.I have read and followed carefully, I understand am supposed to look for debug bar once debugger is installed. Apparently, its not show any bar. I use chrome browser with firelogger installed. Yes, I've confirmed debugger is enabled, The bar to display at front and back is checked, the uncommented, line 913 and 961 and cleared cache after Tracy debugger module is installed. Now I am getting confused... what am I missing? Link to comment Share on other sites More sharing options...
adrian Posted January 6, 2017 Share Posted January 6, 2017 @Speed - if this is on a non local server, you will either need to force to "Development" mode (change from Detect), or check the "Force superuser development mode" button. Tracy must be in development mode to show the debug bar. If it's a remote server, DETECT will determine that it should be in PRODUCTION mode. 1 Link to comment Share on other sites More sharing options...
Speed Posted January 6, 2017 Share Posted January 6, 2017 9 minutes ago, adrian said: if this is on a non local server, you will either need to force to "Development" mode (change from Detect), or check the "Force superuser development mode" button. @adrian - Enabling 'Development' mode got debugger bar to show up. (PW in livehost) Thank you. @tpr - let me guess, is that what I should look for?? Link to comment Share on other sites More sharing options...
adrian Posted January 6, 2017 Share Posted January 6, 2017 Just now, Speed said: let me guess, is that what I should look for?? You want to look at the Dumps Recorder panel - the icon looks like a dump truck Link to comment Share on other sites More sharing options...
Speed Posted January 6, 2017 Share Posted January 6, 2017 There... Hope that helps. Link to comment Share on other sites More sharing options...
adrian Posted January 6, 2017 Share Posted January 6, 2017 So it contains no dumps? Did you uncomment those bd() calls that @tpr pointed out? Link to comment Share on other sites More sharing options...
Speed Posted January 6, 2017 Share Posted January 6, 2017 yes...Confirmed, I have commented it out. (This line was commented out in live server with editor.) Link to comment Share on other sites More sharing options...
tpr Posted January 11, 2017 Author Share Posted January 11, 2017 v119 comes with a new "Apply to all" button to update all dropdowns with the selected option on the "Add field to templates" page (see the screen capture below), requested by @gmclelland. I've also updated the "Remove all" button on the field deletion confirmation page. Now it reads "Check all" and the default submit button can be used for deletion instead. The same "Check all" button is added to the other field deletion confirmation page (accessed from the Field edit page, Actions tab). All these are under the "Misc" submodule. Please re-check the checkbox "Add helper buttons to batch field add/remove confirmation pages" because it was renamed. 5 Link to comment Share on other sites More sharing options...
tpr Posted January 12, 2017 Author Share Posted January 12, 2017 Just committed a small update to GitHub which expands the select box if there's only one of it (field add confirmation page): 2 Link to comment Share on other sites More sharing options...
tpr Posted January 20, 2017 Author Share Posted January 20, 2017 v123 is up, and here are the latest additions: 1.2.3 - Hotkeys: focus filterbox on alt+s 1.2.2 - title change case button improvements 1.2.1 - Misc: option to move empty trash confirmation checkbox above trash items 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