Kevin uittenbosch

Results 39 comments of Kevin uittenbosch
trafficstars

@sha256 can you maybe point us in the right direction here??

Thanks for the reply! I'm trying to test addMessages now, but same result: Pristine.addMessages is not a function. Both examples below are not working :( ``` import Pristine from 'pristinejs';...

Yes, checked my output and it says: "./node_modules/pristinejs/dist/pristine.js"

I installed the plugin with NPM, it seems the code isn't on there. I crosschecked it with the files on github and addMessages is no where to be found. Does...

Yes, I referenced this issue here #40 @sha256 could you please update NPM

Here's a "fix" ` "pristinejs": "git+https://github.com/sha256/Pristine.git"` Use this in your package.json and rerun `npm install` @sha256 you left this repo for dead?

@brandonkelly > Hah, I don't even remember posting this FR, but worth mentioning that a plugin can take over the message rendering using the [beforeMessageCompile event](https://github.com/craftcms/contact-form/tree/v1#the-contactformbeforemessagecompile-event) (v1) or [beforeSend event](https://github.com/craftcms/contact-form/tree/v2#the-beforesend-event)...

N.V.M. i made a stupid assumption/mistake. Here is the code for people who want to achieve the same. ```php Event::on(Mailer::class, Mailer::EVENT_BEFORE_SEND, function(SendEvent $e) { // Change whatever you want in...

> This should be fixed in an update here. Can you show us which classes/files are causing the messages? All of them: Class modules\custommodule\migrations Class modules\custommodule\records Class modules\custommodule\models Class modules\custommodule\variables...

Okay found the issue: in the composer.json you need these lines ``` "autoload": { "psr-4": { "modules\\custommodule\\": "modules/custommodule/src" } }, ``` **beware of the trailing \\**, i overlooked them and...