gmclelland
Members-
Posts
577 -
Joined
-
Last visited
-
Days Won
7
Everything posted by gmclelland
-
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
-
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.
-
How to setup Composer and use external libraries in ProcessWire
gmclelland replied to MoritzLost's topic in Tutorials
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 -
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?
-
@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?
-
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.
-
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.
-
How to submit Pull Requests to the ProcessWire Core
gmclelland replied to bernhard's topic in Tutorials
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 -
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');
-
That fixed it. Thanks for the quick fix.
-
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.
-
-
@heldercervantes Bump. Any chance you could share the code for this? Still interested
-
image descriptions can't be changed in my repeaters
gmclelland replied to rushy's topic in General Support
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. -
It is quite trippy. I find myself staring at the center of the screen getting hypnotized. ??
-
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
- 5 replies
-
- page tree
- page label
-
(and 1 more)
Tagged with:
-
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.
-
Thanks for clarifying.
- 10 replies
-
- beginners
- helper function
-
(and 1 more)
Tagged with:
-
bug after updating, ProcessWire dev 3.0.116 -> 3.0.117
gmclelland replied to slave's topic in General Support
https://processwire.com/blog/posts/rebuilding-pw-website-part2/ -
@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?
- 10 replies
-
- beginners
- helper function
-
(and 1 more)
Tagged with:
-
How about adding a full screen button to the API Explorer panel? Like it is with the Console panel.
-
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.
-
Strange Problem with CKEditor and mystyles.js
gmclelland replied to felted's topic in General Support
See if this helps: -
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.
- 31 replies
-
- module
- appearance
-
(and 2 more)
Tagged with: