![]() Adding a Dynamically Generated Attachement ![]() ![]() So make sure the file is still available through a password authentication or similar. Note: This might also blog you from opening the file directly from the backend. If you don’t want your content to be downloaded directly by a user just typing in, just add an htaccess protection for this directory. Protect Attachement From direct Downloads If you have multiple forms on your website and you want to attach different files or none, just use extension templates on the according pages. Just upload the file (e.g., a PDF file) into your fileadmin area and add the following code to your template setup: In the past, this required to implement one of the hooks, but nowadays, this can be done via TypoScript. To add an attachement to the mail send to the user that filled out the form is a request people often posted in chats and forums. If the direct settings in the content element are not enough, one can either use TypoScript for some advanced or configuration or use one of the many hooks provided to implement new custom features in a non-intrusive way. Thanks to all the flexible configuration options it provides capabilities not only for simple contact forms but also for advanced features such as validation, database interaction or dynamic user input processing. Powermail is one of the major Typo3 extension if you need to implement a form on your website.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |