Jump to content

DV-JF

Members
  • Posts

    281
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by DV-JF

  1. 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?
  2. Short reply: On my Pixel 6a with latest Android the link is working as expected in Firefox as well as in Chrome browser. Maybe you could ask here: https://discord.com/invite/NEt4Pv7
  3. 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 โ˜•
  4. 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?
  5. 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.
  6. 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!
  7. 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 ๐Ÿ‘‹
  8. From my experience you have to remove type="text/javascript" or leave it empty.
  9. @thetuningspoon Thank you for sharing the link, I'll give a thumb up!
  10. What does your Select Options Fieldtype looks like in backend? Is it 1 2 3 or 1=1 2=2 3=3
  11. Just do it the same way, here i did bd($page) on line 31 in ready.php
  12. @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:
  13. 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
  14. I think only the hoster can (perhaps) help you.
  15. Had a similar situation some time ago, at least it turned out that the hoster had blocked the port ๐Ÿ˜ญ
  16. 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 ๐Ÿ˜‰
  17. but when they are it's nice, especially when you hide them initially and only have to click once to open the whole row.
  18. 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.
  19. 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
  20. Which PW version are you using? I'm on 3.0.200 with PHP 8.1.0 and everything seems to be fine.
  21. 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 ๐Ÿ™‚
  22. Have a look at the docs, here are two pages I find very helpful. https://processwire.com/api/ref/page/ https://processwire.com/docs/selectors/ Cheer's
  23. @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:
  24. 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?
ร—
ร—
  • Create New...