DV-JF
Members-
Posts
294 -
Joined
-
Last visited
-
Days Won
1
Everything posted by DV-JF
-
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?
-
Nope ?
-
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?
-
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?
-
PW 3.0.204 – Core updates + new FormBuilder version
DV-JF replied to ryan's topic in News & Announcements
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 ?- 1 reply
-
- 3
-
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!
-
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.
-
KIOSK, One-Page Checkout Module for ProcessWire
DV-JF replied to froot's topic in Module/Plugin Development
-
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.
-
$headers = 'From: info@selfdomain.com' . "\r\n" . 'Reply-To: '.$email . "\r\n" . 'X-Mailer: PHP/' . phpversion(); This should help ?
-
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.
-
Which method are you using to implement FormBuilder on your frontend?
-
Hey Philipp, have a look at this topic - seams to be nearly the same question you asked for: Many greets1
- 1 reply
-
- 2
-
- resize image
- images
-
(and 1 more)
Tagged with: