Jump to content

szabesz

Members
  • Posts

    2,846
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by szabesz

  1. Ok, thanks, I get it. I'm with you This topic is bit too advanced for me anyway, I was just trying to figure out how to handle this... So a big praise to @tpr for the idea, and to you too, of course
  2. Variables in single quotes are not evaluated to their values, rather, they are treated as strings. You have to use double quotes to do that. However, @matjazp is right, you do not need any of them is this case, because the url is already a string.
  3. I have just looked up the forum to learn more about Advanced Mode, which is recommended to be turned off, so for folks like me this new panel is not really something I might ever use if one can easily run into unwanted situations (which might easily happen without a deeper understanding of ProcessWire, at least that is what I have gathered). Something like @tpr suggested above could be a lot more helpful, being a safer alternative to this current approach. I mean, I can see that this panel can be useful too sometimes, but for folks like me (who is not a hard core ProcessWire developer), it seems to be out of reach, so to speak. Thanks for the panel anyway! Even if it's not for me, I have at least learnt a few things about ProcessWire's Advanced Mode
  4. So you have updated the API docs, thanks! How about a cross link to the blog entry too?
  5. Thanks Adrian for the new panel! This one sounds "scary". At least, a real pita situation can emerge out of the blue, so I was wondering if we could be somehow warned about potential issues. At least a general note, but in case of known issues (such as this ProcessWireUpgradeCheck) it should be somehow marked, or even removed from the list if it is no use disabling it. One more thing I've been thinking of it recently but this new panel has reminded me to mention it: There are so many panels already that it would be nice to have some sort of short description of them in the module's Settings. Maybe the simple (asm)select is not the one that fits the bill anymore, but something else that supports accompanying labels/tooltips. This addition would be especially great for newcomers.
  6. I can prove that he does so: He even writes tutorials about the topic: http://soma.urlich.ch/posts/custom-js-in-processwire-admin/
  7. Don't we have a Moderator around? @horst is speaking alien language which is seriously off-topic
  8. In addition to @Martijn Geerts's piece of advice, you might also need something like this: https://www.yourhowto.net/strip-spaces-string-php/ It's not really about find, but about working with strings.
  9. This is the first time I've heard of this browser. Looks awesome and luckily based on Chromium! (I got used to its dev tools and I'm sort of lost when using other browsers' dev tools.) Thanks for the tip!
  10. Tell me about it - sometimes they try to simplify to the point of losing functionality! I have just turned this default behavior off. I do not know why I haven't done so earlier. As for the other issues: thanks for striving for perfection. We are in the same boat
  11. I have changed it, and it does not make a difference. I mean I always get 150 characters, even if I set it to something else. Another issue it the column content of the string. On this page it gets really wide (last colum can hardly be seen): And thanks to Apple's decision to hide scrollbars by default, I often do not even notice that a window's content can be scrolled. That is my own grief, however, I just wanted to mention that on a Mac it can be even more confusing when the table is cut off right before the last column.
  12. If you enable it by default, you might want to remove the the core version altogether, so there will be no confusion at all. We have something more advanced, no need for the plain version, I suppose.
  13. @adrian "Could you PM me the html from that panel": I can, however, how about installing https://github.com/NinjasCL/pw-ghost by @clsource ? This is what I'm refactoring to my needs currently. My version is still very similar to his, so you can use it for testing. "collapsed sections": fiddling with collapsing is slow, I think simple links are more efficient. "$authors" is never used (it is in the original profile too, I have not yet removed it) I do not know if the detection fails or not sometimes, I have not yet spent too much time checking the results of it. "collapse/expand all toggle": sorry for my confusing words. I was talking about one toggle button to collapse/expand all at once. Initially all of them are closed, right? I do not seem to remember... "You can set the length of the string in the config settings though (default is 150) - does that help?": more or less. It is informative to see 150. I will experiment with it. I'm just trying to save space somehow "...turning columns on/off - does the width of the panel matter that much...": the width. We have nearly reached the width of my Air's screen/viewport (1440px). By turning on/off I actually meant hide/unhide.
  14. Hi @adrian The Template Resources panel has started to grow fast, so I thought just before it outgrows my notebook's screen, I present a couple of suggestions: Returns and Class columns can be merged. After all, the info "Object" is redundant. Long string like a body's HTML code takes up a lot of space in the Value Column. Can you introduce AJAX only loading of such values? Or it can be made collapsable just like arrays/objects. That way initially the column would be narrow when arrays and objects are not expanded. It would be nice to have a "collapse/expand all toggle" for arrays/objects. What if columns can be turned on/off? At least the "Files/Lines" column. It could initially be in its closed state. This is what is used the least, I suppose. BTW, how about highlighting variables used in one template only and only once? It can help us spot variables no longer used or the developer might want to eliminate such variables by using expressions instead. How about jump links at the top to sections of the panel (to variables, constants, functions, included files)? The first two lines could be merged into one paragraph (These are all the... If you are looking...) to save some more space. "Panel generated in 183.67 ms Panel content size: 1.1 MB" could also be merged into one line and could be placed at the top, so no need to scroll down... Hope you find these suggestions useful. The following is just a screenshot to show what it currently looks like on my machine.
  15. It is worth mentioning that the developer ( @kongondo ) is away for a while, see: Also, note this quote: "A MarkupDynamicSelects for use in the frontend is planned if there is enough demand for it.". You can find it in the intro post. And people have already started demanding it
  16. Does anybody really like infinite scrolling? I mean it looks fancy, but from the usability point of view infinite scrolling is horrible. Just try to find an image on a looooong page of thumbnail listing after you passed it half a minute ago.
  17. @benbyf Thanks a lot! I really appreciate the work you put into your tutorials.
  18. Wow! If only all my wishes came true that quickly! Both issues are fixed, thanks a lot!
  19. @adrian I'm not saying I can keep up with the pace of the module's development, but trying to... I skipped a few versions, but now I'm checking out the latest (2.7.2 - in sync with PW master, eh? ) and have two issues with the Template Resources panel: #1 issue: when file compiling is on, I get: #2 issue: I have the following list of Included Files: As you can see, files are listed more than once, a lot of them 8 times, but at least 3 times if I'm not mistaken. I use wireRenderFile() to render partials of the page but simple include_once is used too.
  20. The checkerboard pattern creates a sort of interference effect but your slightly colorized noise has no chance of doing that, so no wonder it is a lot better choice. Lesson learnt? Sometimes it is not the best thing to follow the crowd...
  21. 100% true. @Hector Nguyen sorry for not paying attention to it.
  22. Hmmm. Hehe, sounds funny indeed! Seeing is believing, so let's give it a try
  23. https://www.wired.com/2015/08/researchers-hacked-model-s-teslas-already/ The more computer you stuff into a car, the more hackable it will be, especially if it is online. And they are doing the same for trains and airplanes too, to name a few... Frightening.
  24. Such features would be wlecome in AOS too
×
×
  • Create New...