DV-JF
-
Posts
294 -
Joined
-
Last visited
-
Days Won
1
Posts posted by DV-JF
-
-
Had a similar situation some time ago, at least it turned out that the hoster had blocked the port ?
- 1
-
15 hours ago, MarkE said:
But then why not use a fieldset, in which case it doesn’t depend on the screen layout?
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 ?
- 1
-
37 minutes ago, MarkE said:
... as the inputfields are not necessarily related ...
but when they are it's nice, especially when you hide them initially and only have to click once to open the whole row.
- 1
-
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.
-
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 ?
- 1
-
I feel you, could have been me ?
- 1
-
4 hours ago, protro said:
I find the documentation here a bit confusing. For example I wish I had a list of the system fields belonging to a page. I have trouble locating what the available selectors are.
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
- 2
-
@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:
- 2
- 1
-
39 minutes ago, bernhard said:
Template "repeater_hero_repeater" --> "RepeaterHeroRepeaterPage"
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?
-
4 minutes ago, gebeer said:
But one more thing you could try is to extend Page and not RepeaterPage. Just a wild guess but maybe it helps.
Nope ?
-
-
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?
-
10 minutes ago, ryan said:
The new FormBuilder version includes various improvements but the biggest is a new version of the included InputfieldFormBuilderFile module that supports file/image uploads in forms. It has been improved with a preview option (for images), the ability to collect a description for each file, improved multi-file inputs, and more.
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 ?
- 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!
- 1
-
7 hours ago, Pip said:
It occurs when I go to the website http://localhost/folder/
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.
- 1
-
-
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.- 1
-
$headers = 'From: info@selfdomain.com' . "\r\n" . 'Reply-To: '.$email . "\r\n" . 'X-Mailer: PHP/' . phpversion();
This should help ?
-
1 hour ago, johnners said:
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
- 2
-
Something block response form POST and GET call
in Getting Started
Posted
I think only the hoster can (perhaps) help you.