.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ================= EXT: My Extension ================= :Author: Kasper Skårhøj :Created: 2002-11-01T00:32:00 :Changed: 2009-07-24T12:42:50 :Author: Author Name :Email: your@email.com :Info 3: :Info 4: .. _EXT-saveDocEmail: EXT: saveDocEmail ================= Extension Key: **marit\_saveDocEmail** Copyright 2000-2009, Marit AG, Marco Huber, < `typo3-extension@marit.ag `_ >, www.marit.ag This document is published under the Open Content License available from http://www.opencontent.org/opl.shtml The content of this document is related to TYPO3 \- a GNU/GPL CMS/Framework available from www.typo3.com .. _Table-of-Contents: Table of Contents ----------------- **EXT: saveDocEmail 1** **Introduction 2** What does it do? 2 Screenshots 2 Installation 2 **Configuration 2** UserTSconfig 2 **Known problems 3** **To-Do list 3** **Changelog 3** .. _Introduction: Introduction ------------ .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ XCLASSing alt\_doc.php and hooking class.t3lib\_tcemain.php to get a Button "Save doc and send email to FE-Groups which have access to this Element" in the Backend. Similar to the button "Save and new". Email text, sender and subject are configurable by userTSconfig. .. _Screenshots: Screenshots ^^^^^^^^^^^ |img-1| *Abbildung 1: New Button* |img-2| *Abbildung 2: send Mail to this groups' users* |img-3| *Abbildung 3: Edit the email's text and subject* .. _Installation: Installation ^^^^^^^^^^^^ Install the extension with the Extension Manager. Configure it with userTSconfig. .. _Configuration: Configuration ------------- .. _UserTSconfig: UserTSconfig ^^^^^^^^^^^^ .. ### BEGIN~OF~TABLE ### .. _options-saveDocEmail: options.saveDocEmail """""""""""""""""""" .. container:: table-row a options.saveDocEmail options.saveDocEmail.[table] b 0 or 1 c Activate the button .. _options-saveDocEmail-sender-email: options.saveDocEmail.sender\_email """""""""""""""""""""""""""""""""" .. container:: table-row a options.saveDocEmail.sender\_email options.saveDocEmail.[table].sender\_email b `email@example.com `_ c Sender's email address .. _options-saveDocEmail-sender-name: options.saveDocEmail.sender\_name """"""""""""""""""""""""""""""""" .. container:: table-row a options.saveDocEmail.sender\_name options.saveDocEmail.[table].sender\_name b String c Sender's name .. _options-saveDocEmail-subject: options.saveDocEmail.subject """""""""""""""""""""""""""" .. container:: table-row a options.saveDocEmail.subject options.saveDocEmail.[table].subject b String c This string can have some placeholders: - %1$s = Recipient's firstname - %2$s = Recipient's lastname - %3$s = Recipient's title - %4$s = Recipient's email address - %5$s = Recipient's company Example: “options.saveDocEmail.subject = %1$s %2$s, %5$s: There are new News!” .. _options-saveDocEmail-text: options.saveDocEmail.text """"""""""""""""""""""""" .. container:: table-row a options.saveDocEmail.text options.saveDocEmail.[table].text b String c This string can have some placeholders: - %1$s = Recipient's firstname - %2$s = Recipient's lastname - %3$s = Recipient's title - %4$s = Recipient's email address - %5$s = Recipient's company Example: “options.saveDocEmail.tx\_dam.text ( Dear %3$s %1$s %2$s, There are new dokuments which you can download. Kind regards, Your team )” .. _options-saveDocEmail-utf8: options.saveDocEmail.utf8 """"""""""""""""""""""""" .. container:: table-row a options.saveDocEmail.utf8 options.saveDocEmail.[table].utf8 b 2 or 1 or 0 c - 2 sends database values through utf8\_encode() - 1 sends database values through utf8\_decode() - 0 sends the database values through nothing .. _options-saveDocEmail-modifySubjectAndText: options.saveDocEmail.modifySubjectAndText """"""""""""""""""""""""""""""""""""""""" .. container:: table-row a options.saveDocEmail.modifySubjectAndText options.saveDocEmail.[table].modifySubjectAndText b 0 or 1 c If set to 0 then the BE-User is not able to edit the email's subject and text .. ###### END~OF~TABLE ###### If [table] is set, the option is only for this table. So if you say options.saveDocEmail.tt\_new = 1 and options.saveDocEmail = 0 then you have the button only when you edit news. .. _Known-problems: Known problems -------------- .. _To-Do-list: To-Do list ---------- .. _Changelog: Changelog --------- |img-4| EXT: marit\_csvimport - 4 .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. :border: 0 .. :id: Grafik1 .. :name: Grafik1 .. :width: 100% .. |img-2| image:: img-2.png .. :align: left .. :border: 0 .. :id: Grafik2 .. :name: Grafik2 .. :width: 100% .. |img-3| image:: img-3.png .. :align: left .. :border: 0 .. :id: Grafik3 .. :name: Grafik3 .. :width: 100% .. |img-4| image:: img-4.png .. :align: left .. :border: 0 .. :height: 32 .. :id: Graphic1 .. :name: Graphic1 .. :width: 102