Jump to content

gmclelland

Members
  • Posts

    577
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by gmclelland

  1. 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
  2. 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.
  3. 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
  4. 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?
  5. @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?
  6. 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.
  7. 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.
  8. 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
  9. 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');
  10. That fixed it. Thanks for the quick fix.
  11. 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.
  12. Not sure, I fully understand you. In your page field change the input to "Page List Select."
  13. @heldercervantes Bump. Any chance you could share the code for this? Still interested
  14. 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.
  15. It is quite trippy. I find myself staring at the center of the screen getting hypnotized. ??
  16. 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
  17. 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.
  18. https://processwire.com/blog/posts/rebuilding-pw-website-part2/
  19. @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?
  20. How about adding a full screen button to the API Explorer panel? Like it is with the Console panel.
  21. 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.
  22. 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.
  23. See if this helps:
  24. 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.
×
×
  • Create New...