1

(45 replies, posted in Plugins)

RedStar wrote:

Strange no body else has said something lol

I talked about this, see above

2

(1 replies, posted in Projects)

Congratulations!

These fixes are related to the translation for the plugin - contact?
I need to make some changes or not?

Thank you very much!

3

(45 replies, posted in Plugins)

I found a solution! smile

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!

4

(45 replies, posted in Plugins)

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 smile How to fix this?
Thank You!

5

(5 replies, posted in General discussion)

Happy Easter to Everybody!

6

(45 replies, posted in Plugins)

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
http://s7.postimage.org/c8mb8fw7f/Untitled_1.jpg

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













0) { ?>

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!

http://s11.postimage.org/wyb5wvoep/Untitled_1b.jpg

And Thank You Very Much again! GREAT CMS EVER I SAW!


stradfred wrote:

Possible to add more fields in administration for a futur update ?

Try this!