Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Elxis documentation
for users and developers.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
contact form plugin and alternate text
« previous
next »
Print
Pages: [
1
]
Author
Topic: contact form plugin and alternate text (Read 3490 times)
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
contact form plugin and alternate text
«
on:
May 24, 2016, 19:09:22 »
Hello all,
I just noticed that the message area in Greek Μήνυμα* displays the alternate text "This is a required field" in English rather than Greek.
How can I correct this?
Also, I am using a custom select element and also noticed that the alternate text displays "Χώρα".
Can the alternate text be set to the label or option titles?
Logged
Bournias.net
datahell
Elxis Team
Hero Member
Posts: 10356
Re: contact form plugin and alternate text
«
Reply #1 on:
May 24, 2016, 21:55:56 »
Elxis uses a combination of javascript and HTML5 form validation. The message you get about empty required fields when submitting a form is by your browser, not by Elxis. Elxis only focuses the field.
The title text in custom select element is wrong, sorry about that. I fixed it in Elxis.
Here is how to fix it:
Open this file:
components/com_content/plugins/contact/contact.plugin.php
Go to line
370
Change this:
$out .= '<select name="field'.$i.'" id="'.$pfx.'field'.$i.'" title="'.$eLang->get('COUNTRY').'" class="selectbox" dir="'.$dir.'">'."\n";
to this:
$out .= '<select name="field'.$i.'" id="'.$pfx.'field'.$i.'" title="'.$cfg[$idx].'" class="selectbox" dir="'.$dir.'">'."\n";
«
Last Edit: May 24, 2016, 22:04:58 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: contact form plugin and alternate text
«
Reply #2 on:
May 25, 2016, 14:52:41 »
Thanks datahell
Logged
Bournias.net
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
contact form plugin and alternate text