Jump to content

tpr

Members
  • Posts

    2,321
  • Joined

  • Last visited

  • Days Won

    44

Everything posted by tpr

  1. Could the modules list in the Versions List be in alphabetical order? It's hard to find a given module if it's not.
  2. I haven't tried this but come across with it a few times. Perhaps I could use it for a few things in my modules, I think there could be some cool usage of this
  3. Nice! What did you use for copy? As I know some browsers doesn't allow interacting with the clipboard.
  4. Server referer should work fine in most cases for the previous URL.
  5. Thanks, though I feel that some testing wouldn't hurt first
  6. Just uploaded v068 which adds template edit link tooltips to the main pagelist items plus has some CSS improvements to a few CKE plugins (some seem to be written at least 10 yrs ago :)). And also see the ProcessPageList.js attached that was modified to enable opening collapsed pagelist items when hovering over them during drag-and-drop. It's still not perfect but it's still much better than the original imo - please feel free to modify the code (see line 1035, "change" property of "sortOptions"). The file's location is "/wire/modules/Process/ProcessPageList/". The main problem is that I check the next item after the placeholder (.PageListSortPlaceholder) so expand-collapse occurs only when moving the placholder above on item and not directly on it. I think this could be improved somehow. The reason I uploaded this here is because AOS v068 contains a few lines of CSS that modifies the appearance of dragging. Of course it works without AOS too. Here is what it looks now: ProcessPageList.js
  7. Just to clarify: the pagelist dnd won't be in AOS but a PR. I don't think such mod could be applied from the outside.
  8. There are some things to polish but it starts to take shape:
  9. There is a loadChildren function which works, so in theory everything is ready to be put together
  10. @bernhard I think it's a good idea, I also often have hard times when moving pages though I don't do that too often. I have minimal experience with drag-and-drop but I could modify ProcessPageList.js up to the point where only a "click" is needed, but unfortunately I couldn't make this last step work so far.
  11. Well it's the same functionality that is already present in image fields, of course a help text could be added to make things clearer. There could be also a Replace button. I use dnd from time to time, and it's especially handy when replacing images. Just dnd a new image over the old and save. I also maximize windows but it's easy to dnd - move the "loaded" cursor over the taskbar item, wait and drag to the destination.
  12. Are you sure? I believe they should work.
  13. Sure In fact I have missed the fact that he needs this for editors at first read.
  14. Yes, using fields is a better option to him. Not to mention that in AOS only SuperUsers can see these tooltips.
  15. FYI, just added an "Edit template" tooltip to pagelist items in my module AdminOnSteroids (not yet committed). It's kind of a dirty hack because there's a link inside a link but with a few lines of jQuery it works
  16. I agree that it should be optional. I found similar issue with input type text where "type" was removed so my CSS rules targeting input[type="text"] failed. But most cases there's a setting where you can fix such things, but of course that means you need some experience in ProCache. As a workaround if you add a class to the body it should be kept (untested).
  17. I haven't noticed this, perhaps only 1 or 2 times so far. I just edited my post that I made a few seconds earlier and there was no forced wait at all.
  18. v131 is uploaded with a fix for a bug prevented the default edit link text to be saved (spotted by @matjazp).
  19. I've updated the previous post and added a gif to illustrate my idea.
  20. Thanks! Image fields already have such feature as you might know, and something similar would be fine for file fields too, eg prepending an icon to serve as a draganddrop area. If the purpose of your request is on consistency, this would be perhaps better. Edit: here's what I thought:
  21. Good idea, but the first round should be a feature request to Ryan.
  22. Here are a few things you could check: $("#inquire").submit(function(e) { Do you fire a submit event right on start? Is this by purpose? If not, it should be rather $("#inquire").on('submit', function(e) { Maybe you should change it to full url instead: $.ajax({ type: "POST", url: "./inquiries/", Here you might save the page first, set msg and save again: $p->save(); $p->message = $msg; $p->save();
  23. You should also visit the module page and edit it to force updating it in the directory (you don't have to edit anything, just enter email/pw and Save): http://modules.processwire.com/edit/process-general-settings
  24. v067 is up, containing the image titles for the image select dialog and other fixes/updates: new option to FileFieldTweaks: show image titles in image select dialog custom paths for admin.css, admin.js and CKEaddons assets AdminTweaks: remove max-width constraint from modals AdminTweaks & RenoTweaks: added tweak "Highlight pagelist rows on hover" fix for templateEditLink not showing up (default theme) removed ScrollFix submodule
  25. I think I've fixed the issue, try v1.3.0. The error was present only if there were no parameters passed to feel(). Unfortunately on a site where I tried to reproduce I have already fixed this months before but haven't committed. The new version also uses the non-minified MagnificPopup that is available in earlier PW installs too (<2.7 I think).
×
×
  • Create New...