Jump to content

DV-JF

Members
  • Posts

    194
  • Joined

  • Last visited

Everything posted by DV-JF

  1. This looks great! I'll give it definitely a try in an upcoming project. Thank you!
  2. Did you update the module here: https://processwire.com/modules/german/
  3. 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 πŸ˜‰
  4. 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.
  5. 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
  6. 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!
  7. @Zeka Thank you, this is exactly what I was searching for!
  8. 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
  9. 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.
  10. 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
  11. @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!
  12. 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!
  13. 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!
  14. 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.
  15. 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};
  16. 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!
  17. Hey Ryan... you're impressing me - now you can also timetravel πŸ˜‰ Thank you for your update!
  18. Just a short question: Is it possible to use this with FormBuilder? Many greets!
  19. 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!
  20. @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?
  21. 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.
  22. Hey @kongondo I've found a PHP warning, i guess, when there a no items assigned to a menu, have a look at the screenshot: Latest Version of PW 3.0.167 / Menu Builder 0.2.5 / PHP 7.2.34
  23. That's a good point. Right now there isn't a detection for this but I'll think about a way to implement this. Hey @joshua any news or ideas on this?
  24. Thank you for your answer - I'll think I'll have a look at https://processwire.com/api/ref/session/force-login/ Maybe I'll use a unique hash field which changes automaticly after the user is logged in.
  25. Hey all, short question: I've setup a multi-language site using different domains for the different languages in site/ready.php I'm using following code: <?php if($config->httpHost == "www.example.de") $user->language = $languages->get('default'); elseif ($config->httpHost == "www.example.si") $user->language = $languages->get('si'); elseif ($config->httpHost == "www.example.com") $user->language = $languages->get('en');?> All domains are mapped into the same directory - this is working superfine πŸ™‚ Now I have to take care about following use case: If a user is logged in and wants to change the language, the session have to be automatically transferred to the refering domain, so that the user having not to log in again. IS this possible? Can you give me some hints on how to do this best with the current PW version?
Γ—
Γ—
  • Create New...