This seems to be the canonical way of sending emails in TYPO3.
I have access to the back-end of a typo3 installation via my browser. I have written some HTML code that I want to incorporate into the website via the "plain HTML" widget. That HTML code lets the user input some data. I want to send that data via email. Now I read the above tutorial and I'm asking myself where they want me to put that code? I mean that $GLOBALS stuff and further down that $mail stuff.
The documentation is a developer guide, thus you'll need to implement a plugin or similar with a controller or handler which contains this code.
However, with TYPO3v8 you can easily create forms with the form extension which also allows you to send mails. This is a lot easier if you are not a developer. (The email finisher of the form extension also uses the TYPO3 mailing API of course.)
Related
I am trying to make custom app using the Moodle API.
How can I display and return courses of type lesson?
In my lesson, there is a choice type questions in between the lesson pages. The Moodle API (mod_lesson_get_page_data) returns the page content on two object properties viz, lesson_page_data->page->contents and lesson_page_data->pagecontent. The later contains HTML with buttons to submit the question, but when I click, the form is directed to the Moodle site and is asking to login. Instead I am looking for a solution to solve it in mobile itself without redirecting to site.
There are currently no (and probably never will be) methods to return whole offline lesson. You should use scorm for that task. However, why don't you replace all links in html with your own and write a small script that simply gets all parameters, creates and executes curl request and returns html?
I am little bit new to grails and I don't know the difference between form and uploadForm in grails, and if use upload form I can able send attachment file to grails controller. But not able to send attachment file when using form.Someone explain the difference of those form types.
One of the best places to look is the documentation for both of these (form and uploadForm).
As stated in the documentation regarding uploadForm:
Identical to the standard form tag except that it sets the enctype
attribute to "multipart/form-data" automatically.
I'm looking to create a customized contact form in a Joomla 3 site I have created. I know how to write the php code for the form, but I'm unsure of where to place the code.
Ok, the form is located at http://www.theoscorner.com/contact-us. What you see there is only the design, and there is currently no script for the form to submit to. If I wanted to create a new php page for the form to submit to, what is the best method of doing this? For example:
Should I create a completely new php file where the template's index.php file sits, and use a module (instead of an article) to hold the form.
Should I create a new article page, and place my php script in that article?
Should I hard-code my form into a module, and place a php function at the end of the index.php page which gets called when the page is refreshed and the POST values are set.
I'm just looking for any type of guidance I can get right now. I don't want to use a third-party plugin, because I want a little more control than they allow. Thank you for your time.
Just use RS Forms or Contact Enhanced, they are both Joomla extensions available on extensions.joomla.org
There is no need to create your own MVC component.
The Typo3 extension tt_news enables for example all created news by this extension to be shown in the newsletter but not content from a "not news" page of the website.
We are looking for a plugin which automatically finds new content on the website and let us create a newsletter from it.
What extension could be used here? Might direct mail be able to do so?
Taken from the Direct Mail manual: "Newsletter pages are just normal pages. Their rendering is configured by the TS template."
A very simple solution for what you want to do would be to write a simple extension where you get the newest content elements and output them. Direct Mail itself will not do that for you, but it will send out any content that you provide on the "Newsletter page".
I have a form built into a block on one of my content types, the content type has a file connected to the node.
I currently have a form the will send an email to the address you put in with a default message (ie if you put into the form, me#myemail.com, this email will receive a message saying "thank you for your interest.. ..please find your document attached" etc) However I'm struggling when it comes to attaching the file attachment of that node to the form, I have downloaded the mimemail module but there isn't a lot of documentation on how to do it.
(I apologise for repeating this question from the Drupal specific SO but this area seems to get more traffic)
Firstly, I would recommend you transition to webform rather than your own bespoke solution - as great and admirable as that is.
In looking around for a webform strategy to test and recommend, I found something that should do the job for you.
Have a look at this tutorial.