Jump to content

adrian

PW-Moderators
  • Posts

    11,213
  • Joined

  • Last visited

  • Days Won

    373

Everything posted by adrian

  1. Sure, I'll add to the next version. Sounds like a good idea - thanks! I think this looks awesome actually. I was kinda looking for something along these lines, but never really figured out the best approach. I went with the ESC to close all panels, but then there was no way to restore. I was going to add a Tab key option to work like tool panels in Adobe products, but you can't really make use of the tab key like that because it's needed for so many other things. I think what you have here looks like a great option for quickly getting a panel out of the way without closing it. Would appreciate some code whenever you get around to it - thanks!
  2. @gmclelland - I think you're issues should be fixed in the latest version (thanks for PM help with this). @bernhard - I have modified the behavior of the large/small buttons in the Console panel to be fullscreen/halfscreen. Please take a look and let me know if you think that behavior suits your needs. I am ok with adding it to other panels as well if you think it works well, although obviously some panels would look pretty silly fullscreen As for the z-index issues - I think that's maybe an AOS conflict - @tpr was working on that yesterday. Please let me know if they persist with AOS disabled. Everyone else - while fixing the issue that @gmclelland was having, I make quite a few changes to the the Field List & Values section of the Request Info panel. It should now generally be even lighter and yet also show more depth of details. It also now shows unformatted and formatted values for each field. There is also a new Image Details column - displaying the thumbnails is optional (check config settings - you may want to disable if you have image fields with lots of images). Please let me know if you have any issues with the new version or ideas for improvements.
  3. insertBefore or prepend https://processwire.com/api/ref/wirearray/insert-before/ https://processwire.com/api/ref/wirearray/prepend/
  4. This will let you do what you want: http://modules.processwire.com/modules/fieldtype-runtime-markup/
  5. Yeah - I don't think init.php and ready.php existed when I wrote this. I guess the only advantage to admin.php is that it is only called in the backend, whereas init.php and ready.php are called in frontend as well. It won't make any significant impact on performance though, so whatever works for you.
  6. You could put it in your admin.php as I mentioned in that thread, or your ready.php if you prefer.
  7. Hi @gmclelland - sorry about that - I tried to cleanup that code a few versions ago - looks like you've come across something I haven't accounted for. I am trying to replicate here, but no luck so far. I feel like it might be related to the File/Image Details > Formatted Value setting, but no luck yet. Could you perhaps send me a json export of the field in question and let me know if there are any files/images uploaded to it, and anything else that might be relevant please?
  8. Thanks for trying - not sure about this actually. I actually set Tracy to 100 so that panel appear under PW dropdown menus because it's a pain when a panel is open and you want to navigate in the PW admin. If you don't know of another solution, I think I'd rather see the #tracy-debug z-index left alone because it is configurable in Tracy's settings for a reason. Is that ok?
  9. Cheers - check that issue that @thetuningspoon brought up a couple of posts below - might be something to change in my code - I don't think I ever looked into it.
  10. His next post was definitely spam - links to shady site - he's blocked as a spammer now!
  11. While we're on z-index issues, all the AOS config settings sections appear above Tracy panels as well - not a big deal since it's not a common scenario, but just wanted to let you know.
  12. Thanks @Juergen - I don't really understand why you are getting those results for $file - I can't reproduce, but maybe you could just test this for me: Replace this: foreach($repeater->{$rf->name} as $file) { $files[$file->name] = $repeater->id.'|'.$rf->id; // add filename with respective repeater pageid and fieldid to array } with: foreach($repeater->{$rf->name} as $file) { if(!$file) continue; $files[$file->name] = $repeater->id.'|'.$rf->id; // add filename with respective repeater pageid and fieldid to array } Check that the notice is gone and that everything still works as expected. Thanks!
  13. Hey @tpr - there is an issue with the z-index when using the fixed/sticky navbar option. Tracy's panels appear under the navbar even though their z-index is higher. Setting the z-index of the navbar to 0 is the only value that puts it behind the Tracy panels. I don't honestly know what the correct solution is, but position:fixed and z-index does seem to have some weird issues. Maybe this is useful? https://developers.google.com/web/updates/2012/09/Stacking-Changes-Coming-to-position-fixed-elements
  14. Hey @bernhard - totally OT, but any ideas why the full Tracy bar is showing twice in your screenshot?
  15. Just done - thanks.
  16. Just do a bd() call on each of those variables just before that line - one of them will likely return null.
  17. Sorry @flydev - I don't quite follow what you are saying there, but to clarify what I am seeing - once it hit's 10 packages for one site, none are deleted, so no more are uploaded unless I manually delete some.
  18. Thanks @Juergen - late here, so will look at better in the morning, but could you please check if it's $file, $repeater, or $rf that is triggering that? I am assuming you either have no files uploaded to that field, or no items in the repeater yet. Thanks!
  19. What about this solution. It adds the name field to the Content tab, but collapses it. That way it's still available to the user if they need it, but you can still control the renaming options (including manual editing) with PageRenameOptions. RestrictTabView.module
  20. @usualCommission - thanks for sharing, but I am curious did you see @netcarver's module: Was there something that didn't suit your needs?
  21. Yes of course - not sure why that didn't occur to me I have replaced those arrows with FA icons for now. I am loading FA for the PW Info panel anyway. FYI - I am a huge SVG fan, but I thought for simple icons like this UTF8 icons would be simpler. Maybe I'll revamp this at some point, but this will do for now.
  22. Great! One thing that's bugged me for a while now is how those back/forward history buttons look on Windows. This is what they look like on a Mac: Do you by chance now of a UTF8 arrow that looks ok on both OSes?
  23. Interesting - I had been testing on the frontend of my site and hadn't seen this. I just checked on the backend and could reproduce it. Can you please try the latest version and let me know.
  24. Thanks @Robin S - I have made lots of tweaks to the css for both the Console and SnippetRunner panels and I think they are both much improved and of course now support width resizing. I have also set the default widths to 1200px, rather than full width which I think will be much nicer in general. Anyway, please take a look and let me know what you think.
×
×
  • Create New...