DV-JF
Members-
Posts
281 -
Joined
-
Last visited
-
Days Won
1
Everything posted by DV-JF
-
Hey @teppo perhaps you could give me hint, I'm facing an really annoying bug and don't know how to debug further: I've installed your module first on a dev-server then tried to migrate the settings to the live server. On the dev server everything is running as expected, and you're module is working fine, but on the live server i get the message: You don't have permission to view this branch of the page tree. When I disable your Module the (first and then only) selected branch is shown as it should be via module "Admin Restrict Branch" . Same settings on both websites: ProcessWire 3.0.210 ยฉ 2023 @ PHP 8.1.9 What I've noticed so far: When I do db($event); in .../AdminRestrictBranchSelect/AdminRestrictBranchSelect.module.php:114 the $event->return; is false on live website but true on dev server: Any ideas on how to debug further?
-
WOW, thanks for your detailed answer and the code example @nbcommunication That's why I like the PW community so much !!! Is there any way I can support you, would like to spend you a ๐ป or โ
-
Can you tell me why it happens? Would it be possible to send an email to the admin, if the authentication process fails - any ideas?
-
Indeed - didn't thought about this place to look for errors ๐คฆโโ๏ธ vor 8 Minuten 2023-02-03 09:29:01 guest / Could not process user media: {"error":{"message":"Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.","type":"OAuthException","code":190,"fbtrace_id":"A8JC4GfQtIPWPBs_P8YONKd"}} vor 8 Minuten 2023-02-03 09:29:01 guest / Could not refresh long-lived access token I expected the access token to be renewed automatically - the passwords of the corresponding pages were not changed.
-
Hey @nbcommunication, hey all... since a few day's (don't know exactly when it startet) I've a problem getting the feed. I'm using this plugin on different sites with various accounts - so far had no problems with it. On 3 of these websites the feed doesn't load any more - on the other websites I suspect that the cache is not expired, yet. There are no items in the $instagram->getMedia() array any more - no errors are shown. When I review the modules settings this so what I got: There is currently 1 cached request. Clearing the cache doesn't help. Anyone else facing this problem, any ideas how I could debug further? Cheers and many greet!
-
Hey @ryan, hey all, I've to update some websites in order to make them work with PHP 8.1. While doing so I've noticed, that ProcessWire is not on all sites in the listed updates. I'd expected to be on top of the list like this: But on some websites ProcessWire doesn't appear and I see no logic behind ๐ Any hints or an explanation? Cheers ๐
-
module PrivacyWire - Cookie Management & async external asset loading
DV-JF replied to joshua's topic in Modules/Plugins
From my experience you have to remove type="text/javascript" or leave it empty. -
@thetuningspoon Thank you for sharing the link, I'll give a thumb up!
-
What does your Select Options Fieldtype looks like in backend? Is it 1 2 3 or 1=1 2=2 3=3
-
-
@Flashmaster82 use TracyDebugger and check your variables where ever you want by doing <?php bd($test); // variable or object you want to test ?> See example screenshot:
-
If you echo $item->option a string will be echoed and you can't calculate with a string. In order to do the math you have to echo $item->option->value to get the value of the selected field which is in your case an integer. To be precise you could do $w1=intval($item->colwidth->value); See: https://www.php.net/manual/de/function.intval.php
-
Something block response form POST and GET call
DV-JF replied to Marco Ro's topic in Getting Started
I think only the hoster can (perhaps) help you. -
Something block response form POST and GET call
DV-JF replied to Marco Ro's topic in Getting Started
Had a similar situation some time ago, at least it turned out that the hoster had blocked the port ๐ญ -
Because in it's an overhead and it needs extra time to configure. In some situations I just like some fields beneath each other, hidden initially, especially when I'm already in a fieldset ๐
-
but when they are it's nice, especially when you hide them initially and only have to click once to open the whole row.
-
I recognized this behaviour, too, but i like it ๐ Perhaps there could be an option, where you can choose whether to toggle the whole row or just the field itself.
-
module PrivacyWire - Cookie Management & async external asset loading
DV-JF replied to joshua's topic in Modules/Plugins
Hey @joshua, I'm wondering if it would be possible to load a poster image in a <video> tag only when the user accepts the category: In my example I'm loading an external video and it would be nice to do something like this: <video src="" data-src="http://example.com/video.mp4" data-category="external-media" data-poster="http://example.com/video_preview_image.jpg"></video> Any ideas or plans? Greets Jens alias DV_JF -
Which PW version are you using? I'm on 3.0.200 with PHP 8.1.0 and everything seems to be fine.
-
Really nice site, I like it, thanks for showing. Short notice: There seems to be a little glitch on mobile. Something is causing a minimal horizontal overflow. Can't investigate further cause I'm on mobile ๐
-
Cannot get Lazy cron to work, no logs, no message, no cache file, nothing
DV-JF replied to joe_g's topic in General Support
I feel you, could have been me ๐ -
@regesh Have a look at https://processwire.com/modules/custom-inputfield-dependencies/ You'll have multiple options to configure the visibility of fields and even the possibility to mark them as required if your selector is matching. It adds following options to the fields:
-
Thx @bernhard for your suggestion, I've changed my code to File: site/classes/RepeaterHeroRepeaterPage.php <?php namespace ProcessWire; class RepeaterHeroRepeaterPage extends RepeaterPage { public function test() { return 'Test'; } }; but no success ? Are there any other ways to set a custom page class to a repeater page?