MSP01
Members-
Posts
93 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
MSP01's Achievements
Full Member (4/6)
20
Reputation
-
Well few hooks did the trick. Feels a little hacky but if it works, it works!
-
We have a need for enforcing the use of TFA TOTP on users. But neither Register Login Pro or Processwire in general seem to offer much help with this. Specifically TOTP needs to be turned on and then the QR code should be provided on first login attempt if TFA hasn't been added yet. Has anyone done anything of the sort?
-
I'm getting this error when trying to access the field, or any page that is using the field. "Expecting Hex color string (length 6 or 8 digits) with optional leading '#'" I believe it's because I first selected hex output and later changed it to rgba. The error is basically breaking every page where the field is used. Some more information. Temporarily editing out line #84 in FieldtypeColor.module allowed me to fix the defaul value that was crashing the module. It seems that if default value has an alpha value it will cause a crash. But now I'm running into an another issue. Allowing user to select alpha causes this error: "InputfieldColor: Submitted value: rgb(0, 0, 0) does not match required pattern: /#?[a-fA-F\d]{6}/."
-
Usability improvements for Setup > Fields in backend
MSP01 replied to MSP01's topic in Wishlist & Roadmap
You know what, I've never in my life tried the search. I'm not even sure what I thought it was for. It's a little slow, but still great improvement! -
Sometimes when you have a lot of fields, finding one you want to edit can be bit cumbersome. I like to organize things with tags, but I've lately noticed that they really just slow you down and using the browsers search is probably the quickest way to find the right field, as long as you know what it's called. But if your tagged field groups are closed browsers search wont be able to find the field until you open the group... So would it be possible to add one of these options? A) Ajax search field that would show you a list of fields that match the search criteria B) A simple checkbox or button that would open / collapse all the tagged field groups at once so you can use browsers search to find your field Of course if someone has made an extension to do this, do let me know. ?
-
Seems to be back to normal now, about 8 seconds this time. About 3 seconds of that is two .js files and one .json that are giving 404 though. I was a little shocked first time I opened the page, had a serious 14.4 Kb modem flashback. ?
-
Your pages homepage took more than 5 minutes to load. Inspector shows that almost every image with took more than minute. You might want to take a look at that pagespeed module, can't imagine it doing anything good.
-
Nice site. My only critique would be to remove the UIKIT transition from the thumbnails. It gets tiring very quickly and it's kinda gimmicky.
-
module PrivacyWire - Cookie Management & async external asset loading
MSP01 replied to joshua's topic in Modules/Plugins
Interesting module for GDPR. Is there records of consent storage or Google consent mode somehow available? -
Solution: Just added one folder between root and the site and it started to work. Probably could have fixed through .htaccess as well, but what ever works. -- I just did a local copy of a Processwire site and I run it on XAMP on windows. Admin and rest of the site work just fine, but whenever I try to go on homepage, the browser downloads the index.php at the root of PW instead of running it as PHP. Been trying to google about it, but after a day of poking around it I haven't been able to figure it out. PW version is 3.0.210, PHP is 8.2.4 running on XAMP.
-
Would it be possible to get all the finnish translations to one place and have an up to date links here and in the language module list? Currently it seems to take quite a bit of detective work to find the translations. Finnish language in the modules as an example has a link that leads to 404 page: https://processwire.com/modules/finnish/
-
Finnish translations seem to be currently located here: https://github.com/apeisa/Finnish-ProcessWire
-
Sending images using "$mail->AddEmbeddedImage" works well from frontend, but if I run the same code from backend the image will not appear in the email. First I thought content-type was the problem (for some reason it changes from multipart/alternative to text/html when sent from backend), but after I fixed it the problem persists. In this case I send an email based on data on a page. Email can be sent by filling a form on frontend, but also through backend by using checkbox and saving the page. Image in question is saved on another page.
-
I have a template file where I need to set $page->of(false) and then save a variable in a field. This seems to break the frontend, specifically combo fields. Settings the $page->of(true) after saving doesn't seem to do anything either. How to does one fix something like this, or is $page->of(false) something that shouldn't be used inside a template file? I'm pretty sure I've done this a lot in the past without running into issues with it. Edit: Some additional information. The saving is done inside a function where the page is passed to. $page->of(false) and $page->save() seem to work fine, but $page->of(true) does nothing. I've solved this temporarily by putting $page->of(true) right after the function call, but it seems like bit of a hack.
-
Is the code in a template file and does that template use pw-regions? I had a problem where a form was defined as variable at the top of a template file outside of the pw-regions, and then echoed inside a region later on on the same file. This caused it send mails twice each time someone used the form.