Jump to content

DV-JF

Members
  • Posts

    281
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by DV-JF

  1. DV-JF

    Right to know

    Hey @benbyf, just had a quick view on it. I'm not living in the UK and mistyped the postcode. Got an 500 error: See https://right-to-know.org/your-area/?postcode=SW1A+001 Apart from that I really like the site and the idea behind it. Well done!
  2. Wonderful! @cjx2240 Could you please change the title of this post to [SOLVED] ... , makes it easier for others to find this solution ?
  3. Hey @cjx2240 I recognized that this behaviour only occurs when I inspect the website with the dev tools and the "user agent" is changed. To prevent this I added the following entry in the site/config.php file: /** * Prevent from being frequently logged out while using Chrome DevTools * */ $config->sessionFingerprint = 2; Hope this helps you too. To make it save for production you could check if $config->debug is true and wrap this with an if query-.
  4. Hey @JohnRodgers have a look at this module: Maybe it's a little bit older but I think, it'll still do its job. Greets, DVJF alias Jens
  5. This looks great! I'll give it definitely a try in an upcoming project. Thank you!
  6. Did you update the module here: https://processwire.com/modules/german/
  7. Hey @hollyvalero You're almost right. All folders starting with a dot are backups which where automatic created, when you update the modules via the PW backend. So if you've tested everything carefully, there's no reason to not delete them ?
  8. Hey @Mantas, welcome to the forum and to ProcessWire ? To do so I just delete the following folders via FTP: /site/assets/cache/*/*.* /site/assets/sessions/*/*.* and truncate the table "caches" in the DB. After that you have to relogin and do a "module refresh" via "/processwire/module/?reset=1". That's the way I do it.
  9. Hey @MoritzLost, short question: Following scenario: I'm using FormBuilder with the option "Submit to another URL (bypassing Form Builder processing)" (with "Form Submit Method" POST) to process the input of the form on a dedicated page with a separate template. Is it possible to validate the hCaptcha field on this dedicated page to process only if hCaptcha field is valid. I'm trying to avoid a scenario where visitors (or rather bots) visit the "processing" URL and causing high traffic. Any thoughts are welcome... Many greets Jens alias DV-JF
  10. Hey @Guy Incognito, hey all I've struggled with the same error message, but found a solution: Make sure that you've enabled both API's the "Maps JavaScript API" & the "Geocoding API" . Also make sure to add the wildcards in the restriction settings like so: https://example.com/* https://www.example.com/* http://example.com/* http://www.example.com/* Hope this'll help a little bit. Greets!
  11. Hey all, I'm setting up a site with 3 languages: default = German en = English zh = Chinese simplified Is it possible to set all Chinese fields which are not translated yet to English instead of the default language German? In the settings of the fields I can only choose the default one? I was trying to edit / mess around the file wire/modules/LanguageSupport/LanguagesPageFieldValue.php but without any luck. Is there maybe any hook I could use to accomplish my purpose? Many greets, Jens alias DV-JF
  12. What I've found out, that if you have a Form builder form on your site, a cookie will be set even with the config setting mentioned above. To avoid this you have to disable the cross site scripting protection.
  13. Hey @joshua, I'm using your module in a "project master copy" of PW. Every time I start a new project I mirror this master copy. Most of the time I don't need a consent banner - so a deinstall it. The disadvantage of this procedure is that if I need the banner later or the customer wants to add a banner, I have to make all the settings again after installing it. Therefore it would be nice to have an option to disable the module. What do you think about this improvement? Greets Jens alias DV-JF
  14. @kongondo Just another short question. Is there a possibility to set an active class to the parent of an child element being active when using the $m->render() function? Found it, seconds later ? current_class_level' => 2 @kongondo Sorry for annoying you!
  15. There's of course a (simple) solution for your problem: Create a site with the name "Messages" (I use a template called "options" for this only with a title) Create a template for the messages e.g. with title and body field. Create a field "Choose messages" fieldtype "Page Reference" Setup this field - see: Add this field to your "development" template Code ? foreach($page->messages as $mes) { echo $mes->titel;} Hopefully this will you - if you have any questions, please don't hesitate to ask ? Greets!
  16. Hey all, hey @horst, I've strange behaviour and don't know where to debug: Following problem: The settings I'm using seems to be correct a test message is sent and I can receive it, but the Debug Log is orange and I can't submit any forms via FormBuilder. Unable to verify successful email delivery of this form submission. Any ideas? Many greets! EDIT: Found the problem, it was sitting right in front of the computer ? Forgot to edit the FormBuilder settings, therefore no mails where sent out. @horst and all others - sorry for being annoying!
  17. That's up to you... I prefer to use the external-media type for videos embedded by YouTube or Vimeo. The cookies themselves will not be labeled.
  18. You need to avoid loading the iframe just try: <iframe src="" data-src="https://player.vimeo.com/video/<?=$page->vimeoID;?>?color=5a90ff&portrait=0" data-category="marketing" style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" allow="autoplay; fullscreen" allowfullscreen> </iframe> This will block the whole iframe to be loaded until the user agree to us "marketing" cookies. With a little bit of css you can hide the empty iframes: iframe[src=""]{display:none};
  19. Stumble upon this.... After reading and reading again I don't get it... In German we say "Ich stehe auf dem Schlauch ? " Which ID do I have to add to which field in order to use the selection in this field as a condition of visibility for another field? Hints are welcome ? many greets!
  20. Hey Ryan... you're impressing me - now you can also timetravel ? Thank you for your update!
  21. Just a short question: Is it possible to use this with FormBuilder? Many greets!
  22. Hi @BitPoet , just a friendly reminder ? - Did you had a chance to look at this issue: https://github.com/BitPoet/FormBuilderMultiplier/issues/8 Perhaps you could give me some hints and I'll try to fix this problem. Many greets!
  23. @kongondo Thank you for the hint. Another short question: Is there a possibility to add a data attribute to the menu or/and the items, when using the render function?
  24. Hey @kongondo I've read the docs and tried to find some hints here in the forum, but couldn't find anything regarding to my problem: I need some menus only be displayed on the frontend when they are filled in the backend. When I try to render a menu <?=$menus->render('footer-3', $scnd_options);?> with no items in it I get an error: Even if i try to count the items before with <?php bd($menus->getMenuItems('footer-3'));?> I get this error. So how can I check, if a specific menu has some items, is not empty or is unpublished and render it only if these conditions match? Many greets.
×
×
  • Create New...