Jump to content

MSP01

Members
  • Posts

    90
  • 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

Full Member (4/6)

19

Reputation

  1. 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!
  2. 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. 😅
  3. 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. 😅
  4. 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.
  5. 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.
  6. Interesting module for GDPR. Is there records of consent storage or Google consent mode somehow available?
  7. 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.
  8. 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/
  9. Finnish translations seem to be currently located here: https://github.com/apeisa/Finnish-ProcessWire
  10. 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.
  11. 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.
  12. 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.
  13. Now a questions, is it possible to hook language strings in the same manner?
  14. I recently ran into the same problem. I tried to auto-activate the other languages in a saveReady hook, but it didn't work even though changing the hidden status inside the same hook works fine. Anyone got any advice on this?
  15. @horst This could work, but I'd rather keep things very literal. A check box that says "don't show this page to certain people" is more clear than setting them hidden. @Robin S I could of course do that, but I'd really rather not. There are a lot of these pages, and there's a lot going on under the hood. I'd have to change code all over the place and it's what I'm trying to avoid in the first place. Sorry if it seems I'm trying to find the most difficult way to do a simple thing. If there's no easy fix via hook, I'll just do it manually in the code. ? It's also possible there will be need to hide pages from more than one group while showing it to other groups in the future and Horst's suggestion wouldn't work in that case. Neither would the template. Or at least I wouldn't want to create a new template every single time something like that came up. It seems like a very heavy way of doing something that should be handled within a page itself.
×
×
  • Create New...