Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by gmclelland

  1. Hi @spackmat, welcome to the forums. Some fields have basic validations that can be configured in the field's settings. In more advanced cases like you mentioned, it would be better to handle those with hooks to add your own validation.
  2. Thanks bernard, great writeup! In case it helps someone else, here's the guides I use(which are very similar) https://akrabat.com/the-beginners-guide-to-contributing-to-a-github-project/ https://akrabat.com/the-beginners-guide-to-rebasing-your-pr/ - the followup
  3. I wonder if adding this to your site's /site/config.php file will work? // I receive a warning when visiting the admin area // Warning: your server locale is undefined and may cause issues. Please add this // to /site/config.php file (adjust “en_US.UTF-8” as needed): setlocale(LC_ALL,'en_US.UTF-8'); setlocale(LC_ALL,'en_US.UTF-8');
  4. That fixed it. Thanks for the quick fix.
  5. Hi Adrian, just wanted to let you know that I just upgraded to latest TracyDebugger and received the following error on the API Explorer Panel: Error: Call to a member function convertNamesToUrls() on null in /Users/glenn/websites/pwmlec/wwwroot/site/assets/cache/FileCompiler/site/modules/TracyDebugger/panels/ApiExplorerPanel.php:205 Stack trace: #0 /Users/glenn/websites/pwmlec/wwwroot/site/assets/cache/FileCompiler/site/modules/TracyDebugger/panels/ApiExplorerPanel.php(108): ApiExplorerPanel->buildTable('adminTheme', Array) #1 /Users/glenn/websites/pwmlec/wwwroot/site/assets/cache/FileCompiler/site/modules/TracyDebugger/tracy-master/src/Tracy/Bar.php(161): ApiExplorerPanel->getPanel() #2 /Users/glenn/websites/pwmlec/wwwroot/site/assets/cache/FileCompiler/site/modules/TracyDebugger/tracy-master/src/Tracy/Bar.php(110): Tracy\Bar->renderPanels() #3 /Users/glenn/websites/pwmlec/wwwroot/site/assets/cache/FileCompiler/site/modules/TracyDebugger/tracy-master/src/Tracy/Debugger.php(294): Tracy\Bar->render() #4 [internal function]: Tracy\Debugger::shutdownHandler() #5 {main} Thanks for the all the improvements! They look really helpful.
  6. Not sure, I fully understand you. In your page field change the input to "Page List Select."
  7. @heldercervantes Bump. Any chance you could share the code for this? Still interested
  8. What version of Processwire are you running? You might consider upgrading to the dev version of Processwire on a local setup to see if the problem is already fixed.
  9. It is quite trippy. I find myself staring at the center of the screen getting hypnotized. 😵😵
  10. I have the following In my template's settings under Advanced > List of fields to display in the admin Page List {event_start_datetime} - {title} I believe it will show the date as the field is configured under the field's date and time output format code in the field's settings > Details. In my case the page tree shows: May 2, 2018 7:30 pm - Name of my event
  11. This has got to be the craziest website I have ever seen: http://zoomquilt2.com/ http://zoomquilt.org/ It's like infinite zooming. Contains some questionable content, may be NSFW.
  12. https://processwire.com/blog/posts/rebuilding-pw-website-part2/
  13. @bernhard I thought /vendor/autoload.php was already loaded by Processwire automatically if it exist? https://processwire.com/blog/posts/composer-google-calendars-and-processwire/ Maybe you don't need to require it in your modules?
  14. How about adding a full screen button to the API Explorer panel? Like it is with the Console panel.
  15. Thank you for building the API Explorer. I just checked it out and looks very helpful indeed. Clicking the line number even opens the file directly in my VSCode editor. Nice! This sounds good to me.
  16. See my document "Techniques for flexible page layouts in Processwire." There are many ways to accomplish this https://docs.google.com/document/d/1peY-FUpevKgy87cKOxIVz8jwcv2-3c61zbiJr3QKO6c/edit# The notes are rough, but I hope it helps someone.
  17. Try this PR and see if it works for you. It worked for me. https://github.com/benbyford/MarkInPageTree/pull/2 I don't think we need any special module permissions.
  18. I have a working version, I'll send you a PR on github.
  19. Looks like we can fix the caveat I described above by adding a similar role select field like File Rename module does: https://github.com/Toutouwai/FilesRenameReplace
  20. Hi Benbyf, I'm really enjoying this module. It really helps visualize how the page tree relates to the templates. I'm using "template" in Data. One request: It would be really helpful if you could add a permission so that only super users see the MarkInPageTree stuff in the Page Tree by default. If other roles need to see the MarkInPageTree stuff in the Page Tree, a site admin could add a MarkInPageTree permission to that role. The only caveat is that existing sites that have already installed this module will need to be updated to use the new permission.
  21. Ya, I initially thought it would show all the permissions. As for the colors: maybe a light green background with a dark green check mark and light red/pink background with a dark red "X" ?
  22. Another idea for you: Would it be possible on the Dumps and Dumps Recorder panels to auto expand the dump if there is only 1 dump? That way someone doesn't have to click the plus sign or arrow to open the dump every-time the page is refreshed? Currently by default it is always collapsed. No worries if you can't, just a suggestion. Appreciate all you do.
  • Create New...