Topic: Contact
Contact
Simple contact plugin for Monstra CMS
Usage:
Shordcode for content
{contact recipient="admin@site.org"}
Code for templates
Download: contact.zip
GitHub: https://github.com/Awilum/monstra-cms-contact
Simple contact plugin for Monstra CMS
Usage:
Shordcode for content
{contact recipient="admin@site.org"}
Code for templates
Download: contact.zip
GitHub: https://github.com/Awilum/monstra-cms-contact
Thx for the contact plugin.
Possible to add more fields in administration for a futur update ?
Any preview?
stradfred
which fields you want in this form?
And can someone post a demo or screenshot?
ypow, why do you need a screenshot or a demo, a common form of feedback from the three fields (name, mail, message)
Hello everybody! First of all I want to thank you!
I wanted to make some change in the plugin.
1. I wanted to change the word "name" to "имя" in ru.lang.php 'Name' => 'Имя',
this is by default but script show another word "Название" see screenshot below
I tried to change but I did not change nothing.
Q. How to Change this word "Название" on "Имя"?
2. When I send a message, the recipient can not know from whom the message was received because there is a small mistake. I mean, that the subject of the message and the name looks the same. So I decided to make changes to the code
form.view.php Line: 9-10 added
contact.plugin.php Line: 43 added
$name = Request::post('contact_name'); $email = Request::post('contact_email'); $subject = Request::post('contact_subject'); $body = Request::post('contact_body');
Line: 63 added
$recipient = $recipient; $name = $name; $subject = $subject; $header = "From: ". $name . " \r\n";
Line: 79 added
->assign('name', $name) ->assign('email', $email) ->assign('subject', $subject) ->assign('body', $body) ->assign('errors', $errors) ->render();
Now I have additional field "Subject" , and Now, the recipient sees the correct Name and Subject!
And Thank You Very Much again! GREAT CMS EVER I SAW!
Possible to add more fields in administration for a futur update ?
Try this!
4script
Maybe this bug in Monstra or not..
Monstra use dictionary to translate And translation for word Name maybe Название And it maybe added with high priority plugin. e.g. Pages or System.
Hello, Awilum!
Think so too, but other words like Сообщение and Емейл it takes from the file ru.lang.php and replaces them with correctly. Very strange for me How to fix this?
Thank You!
I found a solution!
I looked in the file:
\plugins\box\users\languages\ru.lang.php
Found a word: 'Firstname' => 'Имя',
Then I replaced here:
\plugins\contact\languages\ru.lang.php
from 'Name' => 'Имя', to 'Firstname' => 'Имя',
and here:
\plugins\contact\views\frontend\form.view.php
Now is looks correctly and perfectly! Thank you very much for the advice!
Contact
Contact plugin for Monstra!
Usage:
Shordcode for content
{contact recipient="admin@site.org"}Code for templates
Download: contact.zip
First thanks for this plugin!:)
I don't know about you guys but wouldn't captcha be something that should be by default to avoid spammers mailbombing your inbox?
I am trying to add this feature with help with the captcha helper but I can not figure out how to
Third how can I add the SITE_URL(Domainname) to be present in the body or even better in the $subject?
Problem is that if you are running 10 sites with monstra and use this plugin there is no way telling from what site the message was posted.
Cheers to all!
Contact 1.0.4
+ Captcha added
+ Translates updated.
Good
Contact 1.0.4
+ Captcha added
+ Translates updated.
Excellent!
Btw I dont know if this is a bug or I am having problems locally but No matter what the words wont change for
Name
Email
Message
I have tried changing to russian language but still no translation. Using latest monstra with latest contact plugin.
Can someone verify this?
Past 2 hours I have pull may hair out trying to understand where things are wrong.
Edit
Think I found the problem in plugings/contact/views/form_view.php
Strange no body else has said something lol
Should be
'Name', 'contact'
and so on....i think
Strange no body else has said something lol
I talked about this, see above
How to make in contact form "Choose File" for send any file to admin email adress? please help.
Is it just me but I think the contact plugin is broken with Monstra version 2.1.3?
I made a New clean install of monstra 2.1.3.
Installed contact plugin and tried to post message...does not work. I always get "Letter was not send" even though all fields filled in
and correct captcha is provided.
Bug in captcha plugin?
RedStar i am using monstra 2.1.3 with the contact plugin and just tested it, and it works fine i am using the short code. You should try to delete the plugin and install a fresh copy but its probably something from your side ?
The problem on the server mailer.
Try using the monstra 2.2.0 beta.
RedStar i am using monstra 2.1.3 with the contact plugin and just tested it, and it works fine i am using the short code. You should try to delete the plugin and install a fresh copy but its probably something from your side ?
The problem on the server mailer.Try using the monstra 2.2.0 beta.
It was a local problem and I tested on remote host and it worked fine. Maybe it was an ubuntu update that broke things?
Thanks for the replies!
*I bow*
there is a bug in
monstra/plugins/contact/views/frontend/form.view.php
on line 14
Awilum... please change
to
also i translated contact to german
de.lang.php
array( 'Contact' => 'Contact', 'Contact plugin for Monstra' => 'Kontakt Plugin für Monstra', 'Name' => 'Name', 'Email' => 'Email', 'Message' => 'Nachricht', 'Send' => 'Senden', 'Empty required fields!' => 'Pflichtfelder angeben!', 'Email address is not valid!' => 'E-Mail-Adresse ist nicht gültig', 'A letter has been sent!' => 'Die Nachricht wurde gesendet!', 'A Letter was not sent!' => 'Die Nachricht wurde nicht gesendet!', 'Wrong captcha!' => 'Captcha falsch!', ), );
i added
monstra/plugins/contact/views/frontend/form.view.php
also tested it successfully
Contact 1.1.1
- PHPMailer used
- PSR coding fixes
Awilum its uninstallable.
there are missing files in folder "Install" i could not istall it via admin panel pls reload the plugin
only
contact.manifest.xml
exist