Contact Form

  • Kleszewski
  • Kleszewski's Avatar Offline Topic Author
  • Platinum Member
  • Platinum Member
  • I like playing chess.
  • Posts: 529
  • Thanks: 16

Replied by Kleszewski on topic Contact Form

Posted 4 years 7 months ago #53708

you can override the string "PLG_PAGEBUILDERCK_CONTACT_EMAIL_REQUEST" which is the prefix of the email ("New email request from")


Everything is understandable, I miss only one small thing in this translation :)
After this message, a word appears at its end "message"
"New email request from %s" | -> right here<- | ("message")
Where can I translate it?.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Contact Form

Posted 4 years 7 months ago #53709
the code in the plugin is like that
Code:
// Prepare email body $prefix = JText::sprintf('PLG_PAGEBUILDERCK_CONTACT_EMAIL_REQUEST', JUri::base()); $body = $prefix . "\n" . $name . ' <' . $email . '>' . "\r\n\r\n" . stripslashes($body);
you can look at the plugin source code in plugins/pagebuilderck/contact2

Joomlack Webmaster and Developer

by ced1870
The following user(s) said Thank You: Kleszewski

Please Log in or Create an account to join the conversation.

  • Kleszewski
  • Kleszewski's Avatar Offline Topic Author
  • Platinum Member
  • Platinum Member
  • I like playing chess.
  • Posts: 529
  • Thanks: 16

Replied by Kleszewski on topic Contact Form

Posted 4 years 7 months ago #53729
I'm sorry to trouble you again. :) . But I want to solve the problem

"message". Where does this word come from in the message received from the form? Nowhere does he add such a word when composing a message, Where can I translate it or delete it

Translation: "PLG_PAGEBUILDERCK_CONTACT_EMAIL_REQUEST"
does not include the word "message". Where is this word transmitted to the form?

This message contains confidential information

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Contact Form

Posted 4 years 7 months ago #53737
found it :)
I have to test but it seems that this is a problem of duplicated variable names
I will let you know

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

  • Kleszewski
  • Kleszewski's Avatar Offline Topic Author
  • Platinum Member
  • Platinum Member
  • I like playing chess.
  • Posts: 529
  • Thanks: 16

Replied by Kleszewski on topic Contact Form

Posted 4 years 7 months ago #53738
OK. thank you. :)

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Contact Form

Posted 4 years 7 months ago #53739

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 0.757 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 876 guests and one member online