Contact Form
Plugin Contact form with notification in Telegram Bot
Contact Form
Plugin Contact form with notification in Telegram Bot
Contact Form plugin
This plugin for October CMS allows you to implement a contact form with the ability to send notifications to the Telegram bot.
Installation via Command Line
php artisan plugin:install Timen.Contactform
This plugin for October CMS allows you to implement a contact form with the ability to send notifications to the Telegram bot.
Form component written including Bootstrap styles.
Warning
For the bot to work, the site must have a secure https connection.
Preparation
- For the plugin to work, you need to create a bot with BotFather in Telegram.
- Next, go to the plugin settings and set the token
- To register a WebHook, you need to enter the site address with https:// and check the "Registration WebHook if checked" box.
- Click save settings. If the notification says "Webhook is already set", then the script is active.
- After that uncheck "Registration WebHook if checked" and click save settings.
- After that, the feedback form will fully work.
Use with third party plugins
Just create Telegram Bot and pass post data:
use Timen\ContactForm\Classes\TelegramBot; ... $bot = new TelegramBot(); $bot->Notify($data);
-
This plugin has not been reviewed yet.
-
| 1.0.3 |
Adding mask parameter for contactform Feb 25, 2023 |
|---|---|
| 1.0.2 |
Adding localization Feb 25, 2023 |
| 1.0.1 |
First version of contactform Feb 25, 2023 |