Roundcube webmail change login form - webmail

I am trying to change the label "Username" to "Email Address" on the login form.
When I open /skins/default/templates/login.html it looks like I need to edit:
<roundcube:object name="loginform" form="form" />
Or is there a language file I need to change?

Found it as soon as I posted this: /program/localization/en_GB/label.inc

Related

Order confirm email translation issue Magento 2

Our Magento 2.1.5 site is ready to translate all email templates.
But, when a customer creates order, he got non-translated order confirm email immediately. To check this issue, when we click "send email" tab on order view page on admin, we get the correctly translated email.
Send order
What was wrong?
We found this email template which was just order_new.html on theme folder.
app\design\frontend\[vendor]\[theme]\Magento_Sales\email\order_new.html
Also, this template was assigned on vendor.
vendor\magento\module-sales\etc\email_templates.xml
<template id="sales_email_order_template" label="New Order" file="order_new.html" type="html" module="Magento_Sales" area="frontend"/>
Is there any solution?
I solved this issue successfully.
This is solution.
Original:
#subject Your {{var store.getFrontendName()}} order confirmation #
My Solution:
#subject {{trans "Your %store_name order confirmation" store_name=$store.getFrontendName() }}#

I use magento 2, when submit contact form then issue on mail

I use magento 2, when submit contact form then issue on mail, when receive successfully but problem is apostrophe character.
Suppose any Customer write comment like: Can't able to login then in mail
display like: Can &#039 ; t able to login
I use 4-5 latest version all version this common issue,
Please help to resolve if you know
Go to this path "/vendor/magento/module-contact/view/adminhtml/email" and open "submitted_form.html" and replace 19th line code with the below-mentioned code
{{trans "Comment: %comment" comment=$data.comment|raw}}
Adding to the comment of Abhinav Kumar Singh, there's another way for those who are working with copies of the default e-mail templates in admin backend: MARKETING > COMMUNICATIONS > E-MAIL TEMPLATES.
No need to override original Magento files.
After you have imported the Contact-Form Template, you will find the same syntax in the Template Content field. Just add the "|raw" tag there.
{{trans "Comment: %comment" comment=$data.comment|raw}}
or
{{var data.comment|raw}}

HTML form - check if email entered correctly?

I creating Contact us form and i want in email section that if email entered wrong way (not name#example.com), user wouldn't be able to submit form.
input:
<input name="email" type="text" value="" size="30"/>
With regexp using javascript/php (or whatever) you would be able to validate an email format : presence of "#", presence of ".dom", but you will have to hard code to avoid something like "example.com".
I would suggest to use a validation/activation mechanism : send an email with a link, when user click the link you receive a notification, that means that email is valid so you can take care of it !
You can check this topic : Validate email address in JavaScript?
But it does not take care about something like "name#example.com".
As Mike W said in comments, the only way to validate a valid email is to send an email.
Also, you could have fun trying to trap auto-response for invalid email by checking the sender mailbox ;)

Is it possible to hack mailto?

Sorry about the provocative subject but I could not think of a better word than "hack" to describe what I would like to do!
On my site, I provide links to other sites and on request by the user, display a page from the site in a frame or pop up window. Frequently these displayed pages have a mailto-tag.
I have found it extremely annoying that clicking the mailto link starts off my outlook which I no longer use but retain it as an installed program on my machine.
What I would like to do is:
1) Pick up the subject and email address part of the mailto tag.
2) Pop up an HTML form where the email address and the subject is prefilled.
3) Send the email message through my site's mailserver instead of through outlook or any other mail client.
Is there a way to do this?
Thank you in advance - and once again apologies for the provocative subject line!
Cheers!
Uttam
Try it using javascript.
With using a framework like jQuery its easy so find such tags inside a frame or popup window.
You can try it by something like this:
var allATags = $('myFrameId').find('a');
$(allATags).each(function(index, element){
var href = $(element).attr('href');
//here you shall try to find out if there a mailto Link or a normal link, e.g. using regular expression or indexOf()
[...]
if (isMailToLink){
//split the href String at the signs '&' with which the subject, mail, etc is splitted and removing the mailto, putting all in own variables
[...]
$(element).attr('href', 'javascript:void(0);');
$(element).click(function(){
showMyMailForm(toMail, mailSubject, mailBody);
});
}
});
On opening a document in a frame or a popup wait for the document being loaded and then run your code to replace all existing mailto-links on that document with your mailform-mailer.
The code is just a way trying to inspire, no working code.
Users can set their default email client, here are a couple of links that may be helpful:
Firefox
Chrome
Internet Explorer
Of course this is controlled by the user, so it will help you personally, but not force others to use a specific program.
You could easily pass url parameters onto your contact landing page/email form instead of a mailto link, something like a href="http://landingpage.com/index.php?email=you#you.com&subject=hello" could be used to pre-fill generic contact/email form fields.

TYPO3 + dmailsubscription: Get a confirmation message after email for editing profile

Im using dmailsubscription to register users to a newsletter. Theres an option where, once already registered and confirmed, you can get an email with the link to edit your profile.
The problem is, once you enter the email address, the page is reloaded and the plugin shows no message at all. Id like to get some sort of confirmation text, like:
"The email with the link to edit your profile was sent to xxx#xxx.com"
or at least:
"The email with the link to edit your profile was sent to your email address"
, but I dont know how.
Here's my template: http://pastebin.com/K5WVSgrY
Above
<!-- ###TEMPLATE_DELETE_SAVED### begin
But AFTER
###TEMPLATE_INFOMAIL### end-->
Try to add this:
<BR><BR><BR><BR>
<HR>
<BR><BR><BR><EM>This template is the response page when a users has requested
his password send to his email.</EM> <BR><BR><!-- ###TEMPLATE_INFOMAIL_SENT### begin
This template is the response page when a users has requested his password send to his email.
-->###GW1B###We have emailed your your details. Edit your message here.###GW1E###<BR><BR>###GW2B### <STRONG>Go back</STRONG><BR>###GW2E###
<!-- ###TEMPLATE_INFOMAIL_SENT### end--><BR><BR><BR><BR>
<HR>
I cannot find this part in your template-file.