Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by gmclelland

  1. @Robin S - haven't tried these, but maybe https://sitemod.io/ or https://userstyles.org/ or https://www.styleurl.app/ or https://www.canvasflip.com/visual-inspector/?
  2. Looking good Ryan. One thing I noticed is the last dropdown menu "Docs" should open the same direction/way as the "Download" menu item but it doesn't. It opens off screen causing horizontal scrollbars. When viewing on Chrome. Edit: it looks like jmartsch beat me to it. Please consider giving the light grey and other muted text more contrast for accessibility. See https://contrastrebellion.com/ for humor. #666 for body copy gives AA, but #565656 gives AAA for example. Chrome's inspector now includes a contrast accessibility checker when you click on the color swatch/square. The curved line represents what passes the AA or AAA rating. After reading the API examples, I want to know more about it. I think we need a link or outlined button below the examples "Get started with the API" or "Learn more" so they can continue reading. Now that I look at it more, maybe each homepage section needs it own call to action button below. At first it wasn't entirely obvious that the headers on the homepage were links. Ex. Blog posts - might need a button below that say's "View all" or something similar. Same for the Processwire Showcase and Shop. - This might actually motivate new users to join the forums as well. Those are just a few of the first things that come to mind when viewing the site. Hope that helps
  3. Do you have a "Portfolio" page with "Project" pages below it? What does you setup look like? Maybe you describe what your template is trying to do?
  4. Perhaps it should be: $portfolio_pages = $pages->get('/portfolio/')->projects;
  5. $pages->get->projects; That looks strange to me. Maybe you can look at the examples on https://processwire.com/api/variables/pages/ ? I'm not sure why it worked before?
  6. See this post. It has some good code comments: and Also check the module's source code. That helped me. https://github.com/processwire/processwire/blob/dev/wire/modules/Markup/MarkupAdminDataTable/MarkupAdminDataTable.module Hope that helps you
  7. It looks like you might have already considered and built this type of functionality https://github.com/mtwebit/DataSet/wiki/Import-rules#data-conversion-during-import
  8. Thanks for sharing your modules @mtwebit! This looks like it could be really useful. Is there any way you could include a place to add a url to the file instead of an upload? For example, I store staff's contact information in a Google Spreadsheet. This spreadsheets gets updated all the time. It would be cool to just add the url to csv file instead of having to download the file and upload it into Processwire. The input could also remember it's previous value so I can run the import over and over again as needed. Maybe it also could be somehow automated to run the same import everyday? If not, no worries. Thanks again.
  9. For those who wonder how they can have a module with the third party PHP library managed by Composer, see https://processwire.com/blog/posts/composer-google-calendars-and-processwire/ Also, here is the issue that talks about making Composer's vendor directory location configurable and possibly blocking the vendor/ folder via .htaccess: https://github.com/processwire/processwire-requests/issues/191
  10. I also just tested on another fresh site. If I try to install fieldtype-leaflet-map-marker via Modules > Install > Add New, it installs 2.8.1 instead of 3.0.3 on my Processwire 3.0.120 site. I'm not sure why?
  11. @Mats - something strange is happening when I upgrade the module from 3.0.2 to 3.0.3 using Processwire's Upgrade module. When I try to upgrade the module, it goes from 3.0.2 to 2.8.1 instead of 3.03. I wonder if you need to update the module's version or branch on processwire.com modules directory? If I manually download the github version on the PW3 branch, I get 3.0.3 which is the correct version. @houseofdeadleg - Maybe you could try geocoding that same address on the site that is working to make sure it isn't something wrong with the address itself? I would recommend upgrading those sites that are on 3.0.61 and 62. There has been many changes and bugs fixed since then. Using the Processwire Upgrade module makes it easy to upgrade. Sorry, I'm not sure what else the problem could be?
  12. For the PW 3.0.61 site, make sure you use the PW3 branch on github. Maybe that is why it isn't working properly? I believe the console error you are getting about the source map missing has been fixed in Processwire. Upgrade Processwire to the latest dev release and that error should go away.
  13. 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.
  14. 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
  15. 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');
  16. That fixed it. Thanks for the quick fix.
  17. 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.
  18. Not sure, I fully understand you. In your page field change the input to "Page List Select."
  19. @heldercervantes Bump. Any chance you could share the code for this? Still interested
  20. 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.
  21. It is quite trippy. I find myself staring at the center of the screen getting hypnotized. 😵😵
  22. 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
  23. gmclelland

    Craziest website

    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.
  24. https://processwire.com/blog/posts/rebuilding-pw-website-part2/
  • Create New...