Jump to content

gmclelland

Members
  • Posts

    582
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by gmclelland

  1. @ryan - In case you missed it, there’s a thread about how people are using AI with ProcessWire here if you’re interested?
  2. It was kinda hard to read from the formatting, but it looks good to me.
  3. @wbmnfktr - Thanks for sharing this! I'm learning from your skills documentation. You may also want to note on https://github.com/webmanufaktur/pwaiworkflow/blob/master/.agents/skills/processwire/templates/SKILL.md#markup-regions that <region id="something"> tags </region> are also supported. Here's some more info about it https://processwire.com/blog/posts/processwire-3.0.62-and-more-on-markup-regions/#defining-regions
  4. I came across this and thought it was cool. https://deepwiki.com/processwire/processwire
  5. Great video by the DDEV creator that shows how to troubleshoot problems in your codebase by using DDEV with xdebug and breakpoints in his PHP editor. Then he shows how to go deeper by using DDEV and git bisect with a known good git point in the past when everything was working correctly and the current git commit where everything is broken. Then he shows how to take it further and automate all the manual steps he took and instead use a bash script that does the same thing but much faster.
  6. I had just upgraded to the latest dev version.
  7. Hi @benbyf, just wanted to let you know that it looks like a newer version of Processwire might have broken this module a little. It still outputs the names of the templates in the page tree, but they aren't floated to the right anymore. I think it just needs the following added to the module's css: .align_right{ float: right; margin: 0 0 0.5em 1em; } since it looks like this css was removed from Processwire: .pw-align-right, .align_right, .align-right { float: right; margin: 0 0 0.5em 1em; } Though it might be safer to include a css class just for this module instead of just using a generic class of .align_right? Also the comments at the top of the .module still show DeferredPublish Kind regards
  8. Ah yes, that tool is probably only useful when using the online services like Google’s Gemini
  9. Interesting topic…have you seen https://gitingest.com to pull in specific code from a repo to give your chat more context?
  10. Thanks @erikvanberkum! How were the mega menus modeled in the backend of ProcessWire?
  11. Great write up gebeer! Very nice looking pdfs. I would also be interested to see how the mega menu was created on that site.
  12. There is https://processwire.com/modules/repeater-images/, but that only works for images.
  13. How about this? https://processwire.com/modules/process-media-lister/
  14. @ryan while reading through https://processwire.com/blog/posts/text-blocks, I noticed the examples aren’t being shown: Example of using Text Block template files Here are processwire.com we use a Text Block template file for our ProcessWire download links. Below we've typed show_download and this in turn loads the file /site/templates/text-blocks/download.php. That file connects to GitHub, grabs the latest version information, and then generates these buttons you see below: reveal_download I think the reveal_download text should show the download buttons. I also noticed that the Requirements listing isn’t showing. Anyways, just thought you would like to know. Have a great weekend!
  15. Here's one place this was talked about in the past: https://github.com/processwire/processwire-requests/issues/142
  16. @kaz I posted a link to a tutorial in my post above. The difference is in that tutorial the templates exists in a “fields” directory and not in a views directory. Rendering fields template files are also described here https://processwire.com/blog/posts/processwire-3.0.7-expands-field-rendering-page-path-history-and-more/#field-rendering-with-template-files
  17. This tutorial might help? https://processwire.com/talk/topic/27499-something-like-gutenbergdrupal-paragraphs/#comment-226306
  18. Thanks for sharing BitPoet! I did notice a couple of typos as well: * echo "<div class='year'><h2>$year</h3>" . PHP_EOL; and <div class='year'><h2>2016</h3> Notice the h2 and h3 don't match up?
  19. Here's an article that talks about hot-reloading in Craft CMS using Alpine.js: https://aaronmbushnell.com/hot-reloading-content-in-craft-cms-live-preview/ It also references an article about Statamic's live preview as well: https://jacksleight.dev/posts/hot-reloading-statamic-s-live-preview-in-a-traditonal-mpa Just thought I would share in case it is relevant?
  20. Found this recently. Thought I would share. It provides a GUI in VSCode for DDEV. https://marketplace.visualstudio.com/items?itemName=biati.ddev-manager
  21. In case anyone runs into the same issue... After I upgraded Docker Desktop for Mac to the latest version, I started getting errors in DDEV on all of my DDEV projects. @rfay from DDEV - pointed me to the fix at https://github.com/docker/for-mac/issues/6677 Error response from daemon: Ports are not available: exposing port TCP 127.0.0.1:443 -> 0.0.0.0:0: failed to connect to /var/run/com.docker.vmnetd.sock: is vmnetd running? The fix for me was to run these two commands: /Applications/Docker.app/Contents/MacOS/install remove-vmnetd sudo /Applications/Docker.app/Contents/MacOS/install vmnetd
  22. Haven’t tried it yet, but it looks like there is a new fork of selectize at https://tom-select.js.org I just saw this and thought I would report it here in case it is relevant?
  23. Sorry, I just realized https://processwire.com/modules/files-rename-replace/ is only for file fields, not image fields.
  24. I'm not sure if it will work with MM, but I like to use https://processwire.com/modules/files-rename-replace/ for that type of functionality.
×
×
  • Create New...