Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by DV-JF

  1. 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 😉
  2. but when they are it's nice, especially when you hide them initially and only have to click once to open the whole row.
  3. 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.
  4. 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
  5. Which PW version are you using? I'm on 3.0.200 with PHP 8.1.0 and everything seems to be fine.
  6. 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 🙂
  7. 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
  8. @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:
  9. 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?
  10. Hey @gebeer thx for your hints. I corrected my code and tried it again but it doesn't seam to work - only "normal" pages are working: ProcessWire 3.0.200 © 2022 Can you @gebeer or someone else ( perhaps @ryan) confirm that you can implement custom page classes for repeater pages in this way?
  11. Short question: Is it possible to add custom page classes to repeaters? I'm trying to do this with method but without any luck: Repeater Field Name: my-repeater File: /site/classes/RepaterMyRepeaterfield.php <?php namespace ProcessWire; class OwnRepeaterPage extends RepeaterPage { public function test() { return 'Test'; } }; Any ideas or hints?
  12. A dream comes true !!! There's a german saying: "Was lange währt wird endlich gut." (What lasts long finally becomes good.) Actually, I wanted to get off work and start the weekend, so I guess it will be nothing for the time being ?
  13. Check also if mod_rewrite is enabled in your XAMPP settings (and if all other requirement are given). To proof you can create a simple info.php file in your root folder containing <?php phpinfo();?> Greets!
  14. This behaviour indicates that something is wrong with the .htaccess file in the root folder. Please check if the file is present in the root folder of the site, if not, you can get a copy here: https://github.com/processwire/processwire/blob/master/htaccess.txt - download this file and then rename it to .htaccess.
  15. I'm wondering about this errors on the test page: That would be nice!
  16. 404 seems strange to me ? normally you would get a 500 if something is wrong with your PW installation. I would try if XAMPP and your setup is working properly by just creating a simple index.html file in your folder and open it in the browser. Personally I've switched from XAMPP to Laragon, which is much more easier to setup.
  17. $headers = 'From: info@selfdomain.com' . "\r\n" . 'Reply-To: '.$email . "\r\n" . 'X-Mailer: PHP/' . phpversion(); This should help ?
  18. Your link isn't working, but regardless, I suspect the following code is missing in the template file: <?php echo $form->styles; ?> <?php echo $form->scripts; ?> Have a look, here: I mostly use "Option B" to implement my forms when I don't need any fancy customization, so I don't have to worry about styles & scripts.
  19. Which method are you using to implement FormBuilder on your frontend?
  20. Hey Philipp, have a look at this topic - seams to be nearly the same question you asked for: Many greets1
  21. Hey Mats, try following: This should avoid setting cookies.
  22. I don't get what you mean with this sentence. Could you explain? You can put the language switcher wherever you want to. If you have e.g. a site spanning header or footer you could put the code in there.
  23. Have a look at the docs ? Implementing a language switcher https://processwire.com/docs/multi-language-support/multi-language-urls/#language-switcher
  • Create New...