fl3pp / picomailforms Goto Github PK
View Code? Open in Web Editor NEWAn extension for Pico which allows you to define forms in markdown and send mails
License: The Unlicense
An extension for Pico which allows you to define forms in markdown and send mails
License: The Unlicense
I have setup two PicoCMS environments, both I setup via composer via command-line.
With the standalone version of PicoCMS, I was able to get the plugin to work and send email successfully.
The version installed into 'PicoCMS for Nextcloud' would create the labels for the form objects, but no input text or text area and no submit button would be displayed. This happened for both plain and bootstrap forms.
I found an Nextcloud Forum around 'HTML Forms' https://help.nextcloud.com/t/html-form-in-pico-cms-wont-show-autoescape-issue/73939 .. but I am unsure if this is the issue.
Hello,
I tried to use PicoMailForms but I've got HTTP ERROR 500 after installed your plugin on every Pico page ;-)
The Apache Error Log shows:
[Thu Apr 18 13:06:34.151545 2019] [:error] [pid 32417] [client 82.X.X.X:yyyyy] PHP Fatal error: Declaration of PicoMailFormsPlugin::__construct($pico) must be compatible with PicoPluginInterface::__construct(Pico $pico) in /<PICO_ROOT>/plugins/PicoMailFormsPlugin/PicoMailFormsPlugin.php on line 3
My System:
Ubuntu 16.04.6 LTS
Apache/2.4.18 (Ubuntu)
PHP 7.0.33-0ubuntu0.16.04.3 (cli)
Pico 2.0.4
I've installed PicoCMS and PicoMailForm with composer (after installing composer):
$ curl -sSL https://getcomposer.org/installer | php
$ sudo -su www-data
$ cd /var/www/html/
$ php ~/composer.phar create-project picocms/pico-composer pico
$ cd pico
$ php ~/composer.phar require jflepp/picomailformsplugin
Did I make any mistakes during the installation or is there any issue in PicoMailForm?
Kind regards.
Hello,
I will trying your plugin, but can't figured out how install.
[form]
[text mail]E-Mail[/text]
[text]some other information[/text]
[/form]
Mail:
SenderName: test.ch
Host: server.test.ch
UserName: [email protected]
Password: test
Port: 587
OperatorMail: [email protected]
After that my test-website shows a blank page with an 500 error.
I used Picocms a week now, but for me as beginner it is not so easy installing without a good step-by-step guide and i'm not familiar with composer at the moment.
Hope you can adding more detailed steps how can implement your plugin in picocms? Where adding the config and content snippets?
Hey i hope you still around.
I always get
Registration failed. The site administrator has already been informed.
but i wouldnt know where to find an error code
nor do i get an email
Hello,
Thx for the help how installing your plugin with composer, however i asked if it config/config.yml is the right place for the mail-settings (i think yes!), without answer:
Mail:
SenderName: Christophe
Host: smtp.gmail.com
UserName: ***@gmail.com
Password: ***
Port: 465
OperatorMail: c.***@gmail.com
Here you can see and test my test-form if you want.
Trying with the gmail settings and also with the settings of my hosting company, and playing with some settings but nothing works, both outgoing-mail settings shows an error, so the mail don't send the form.
An error occured while sending your message. Please contact the site administrator.
Sorry about my beginners questions, i hope you can help me further how solve this problem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.