androbey
Members-
Posts
96 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
androbey's Achievements
Full Member (4/6)
37
Reputation
-
Both hard refresh of browser and modules refresh did not help. I'll try a fresh install and see if that fixes it. I tested it on two different setups, but both were on version 4.27.7 before the update.
-
I don't know if this a the right place, but with the latest version 5.0.12 and a recent ProcessWire version, I can't use the console anymore. On ProcessWire 2.0.255 when trying to exec a simple "bd('hi');" the exec takes forever and never finishes, on ProcessWire 2.0.259 I only get an error back ("403: Forbidden CSRF token validation failed"). Is there anything I miss or do I have to make any changes?
-
Hi @Sebi, thank you for your willingness to help, I appreciate it. It's pretty embarrassing now, but the mistake was obviously mine 🫥 - to debug another problem, I echoed data on my own and canceled further processing using die(). I never changed the code, as it returned the desired result. Your code does exactly what it should. Sorry for the inconvenience!
-
Hi @Sebi, I noticed a rather strange symptom after upgrading to 1.4.2 on my system. For some endpoints (GET) I got empty responses (HTTP status code 200). I had a look at it and could resolve it, when I uncommented this line https://github.com/Sebiworld/AppApi/blob/main/classes/Router.php#L473 and only called clearOutputBuffer if there actually is an last error. However I don't know if that has any side effects or if the intented purpose is destroyed with this change..
-
androbey started following change current pages template file at runtime? , WireMailGmail adaptation for Office365 , Page publish by multisite url and 3 others
-
WireMailGmail adaptation for Office365
androbey replied to David Karich's topic in Module/Plugin Development
Hi David, just to confirm, you want to send mails with an Exchange online mailbox? If yes, you may be able to use SMTP AUTH until September 2025 (using SMTP to send mails with ProcessWire). So this would at least give you some extra time. -
You mentioned you are using option 1 from here https://processwire.com/docs/more/multi-site-support/. But if you follow option 1 you would have a separate db for all four sites. What are you doing to have only one db, are you using any module?
-
Hi @nexuspolaris, with only option 1 you cannot simply edit data for different sites. See note at the disadvantages: But you still have two options (as far as I can tell): Setup a web service for each site (probably requires some effort) Using multi instance feature of ProcessWire (as I would prefer). Have a look at https://processwire.com/blog/posts/multi-instance-pw3/#using-multi-instance-in-pw3 With this feature you can indeed use the PW API.
-
Hi all, I have once again a probably unique request. For a project I am using a SlimPHP based approach, which is connected to a ProcessWire instance via bootstrapped API. In general this works very well - except when using custom page class methods. Method Page::getTest does not exist or is not callable in this context Am I missing something? Or is this not supported at all? I tested it with both version 3.0.228 and 3.0.227.
-
I'm not sure I understood your requirements correctly either. Nevertheless, here's a hint, although I'm pretty sure that's not what you meant. I think that currently only applies to CKE. In the editor field under input you have the possibility to select an image field that will be used for drag&drop (does also work for pasting an image from clipboard). (Screenshot only in German right now)
-
Can you maybe try to use filename property? Single file has as far as I know no path property. $mail->addAttachment($file->filename, $file->name);
-
change current pages template file at runtime?
androbey replied to applab's topic in General Support
@applab I actually encountered a similar problem some time ago. But there is actually a setting option so that the paths can also remain separated. Hopefully this works for you, too. $config->setLocation('templates', $config->path('site') . 'templates-dev/' . $user->name . '/'); -
change current pages template file at runtime?
androbey replied to applab's topic in General Support
Hi @applab, I'm sure some expert has a useful answer (I'm no expert unfortunantely). But have you tried/can you try solution described here? -
No, thank you for your help! Much appreciated!
-
Thank you for your suggestion. I have tried to use an or-group. This also does not work, as the ordering of the or condition in the selector has no effect. So if I use the or group, the selector would return the first page where either condition is met (even if type is not Type1). So there is no weighting (at least I did not find any).