I searched for a easy to integrate contact form and found this example from Bastian:
After copying it into my site 1:1 with changing the email address in the controller it didn’t worked. Seemed to be that the controller don’t get the submit value from the form. There are no errors or some in the console.
Is the post maybe outdated? Or is the problem coming from my localhost structure?
I used the one from Bastian mentioned in the post. So I copied those files into my file structure 1:1 and it didn’t worked out. So i thought it is might be outdated… I don’t want to use a third party plugin thats why I wanted to use this one.
Oh sorry both tabs where open and copied the wrong one. I was surprised that it wasn’t working. As mentioned the controller isn’t reacting to the submit of the form.
Currently running for development on my MAMP localhost. Postfix is active. All files are there. The contact.txt is in a subfolder /content/4-kontakt/contact.txt
Hm, the contact form works for me, looks like you probably did not copy everything 1:1 ? The alert variable is defined in the controller and passed to the template, so there should be no notice …
Alright… There is a controllers folder in the panel folder there was right file and in the new folder “controllers” in the site folder was an empty one… Sorry for confusing and thank you very much for the fast help.