betweenbrain / email-additional-fields Goto Github PK
View Code? Open in Web Editor NEWLeverages the mystical onSubmitContact Joomla! plugin event to email additional field data added by plugins.
Leverages the mystical onSubmitContact Joomla! plugin event to email additional field data added by plugins.
Hello,
Is it possible to incluce a document on how to use your plugin in Joomla?
I added $data in components/com_contact/controllers/contact.php at the end of the email.
// Prepare email body
$prefix = JText::sprintf('COM_CONTACT_ENQUIRY_TEXT', JUri::base());
$body = $prefix . "\n" . $name . ' <' . $email . '>' . "\r\n\r\n" . stripslashes($body) . $data;
the result is after the contact_message:
Array
I am not a developer, but it seems the entered data from form is not present in this file.
I've got my extra fields into the contact form and have installed and enabled this plugin but I'm still not getting the info through in the email.
Everything look slike it should still work. Are there any gotchas with the forms that would stop anything getting added? My email just contains the standard message
Hi,
it seems, the email sends the "field name" like hardcoded (with first letter as capital) and then the content filled in. I can live with that.
But the field name is not translated, not in english not in e.g. german.
So I have different things:
Do you know something about using the translated labels in the email?
Hi I installed your both plugins custom contact form and email additional fields.
I had others infos too, but did not get any additional fields in the email.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.