From f48fca3b16f316d665284751714ecea354c717f6 Mon Sep 17 00:00:00 2001 From: Marcus Schwemer Date: Wed, 9 Oct 2024 09:58:11 +0200 Subject: [PATCH] [CLEANUP] Remove leftovers of fe export functionality Related: in2code-de/powermail#1109 --- Configuration/FlexForms/FlexformPi2.xml | 28 ------- .../Powermail_Frontend/setup.typoscript | 76 ------------------- .../ForAdministrators/PowermailFrontend.md | 9 +-- Documentation/Readme.md | 3 - Resources/Private/Language/locallang_db.xlf | 27 ------- Resources/Private/Language/locallang_mod.xlf | 4 +- 6 files changed, 4 insertions(+), 143 deletions(-) diff --git a/Configuration/FlexForms/FlexformPi2.xml b/Configuration/FlexForms/FlexformPi2.xml index 4ce3830a2..6575518a2 100644 --- a/Configuration/FlexForms/FlexformPi2.xml +++ b/Configuration/FlexForms/FlexformPi2.xml @@ -63,34 +63,6 @@ In2code\Powermail\Tca\FieldSelectorUserFunc->getFieldSelection - - - - select - selectMultipleSideBySide - - - LLL:EXT:powermail/Resources/Private/Language/locallang_db.xlf:flexform_pi2.list.export.0 - xls - - - LLL:EXT:powermail/Resources/Private/Language/locallang_db.xlf:flexform_pi2.list.export.1 - csv - - - LLL:EXT:powermail/Resources/Private/Language/locallang_db.xlf:flexform_pi2.list.export.2 - rss - - - 10 - 4 - 10 - 0 - width:350px - width:350px - 1 - - diff --git a/Configuration/TypoScript/Powermail_Frontend/setup.typoscript b/Configuration/TypoScript/Powermail_Frontend/setup.typoscript index 501ed8d1d..487255d85 100644 --- a/Configuration/TypoScript/Powermail_Frontend/setup.typoscript +++ b/Configuration/TypoScript/Powermail_Frontend/setup.typoscript @@ -17,16 +17,6 @@ plugin.tx_powermail { } } - rss { - title = Powermail RSS Feed - link = http://www.in2code.de - description = Powermail_Frontend RSS Feed - language = en - copyright = in2code.de - updatePeriod = hourly - updateFrequency = 1 - } - misc { file { folder = uploads/tx_powermail/ @@ -57,72 +47,6 @@ plugin.tx_powermail { } } - -############################ -# Export section -############################ - -powermail_frontend_xls = PAGE -powermail_frontend_xls { - typeNum = 31311 - - config { - disableAllHeaderCode = 1 - disablePrefixComment = 1 - xhtml_cleaning = 0 - admPanel = 0 - additionalHeaders { - 10.header = Content-type:application/xls - 20.header = Content-Disposition: inline; filename=export.xls - 30.header = Cache-control: - 40.header = Pragma: - } - } - - 10 < styles.content.get -} - -powermail_frontend_csv < powermail_frontend_xls -powermail_frontend_csv { - typeNum = 31312 - config { - additionalHeaders { - 10.header = Content-type:text/x-csv - 20.header = Content-Disposition: inline; filename=export.csv - } - } -} - - -############################ -# RSS section -############################ - -powermail_frontend_rss = PAGE -powermail_frontend_rss { - typeNum = 31319 - - config { - disableAllHeaderCode = 1 - disablePrefixComment = 1 - xhtml_cleaning = 0 - admPanel = 0 - additionalHeaders.10.header = Content-type:application/xml - } - - 10 < styles.content.get -} - -[traverse(getTSFE(), 'type') == 31311 || traverse(getTSFE(), 'type') == 31312 || traverse(getTSFE(), 'type') == 31319] -# overwrite the default content element layout, because we don't want the wrapper div in our export files -tt_content.list { - layoutRootPaths { - 99 = EXT:powermail/Resources/Private/Layouts/ContentElements/Export/ - } -} -[end] - - ############################ # JavaScript and CSS section ############################ diff --git a/Documentation/ForAdministrators/PowermailFrontend.md b/Documentation/ForAdministrators/PowermailFrontend.md index 41b5454b9..cb79ed599 100644 --- a/Documentation/ForAdministrators/PowermailFrontend.md +++ b/Documentation/ForAdministrators/PowermailFrontend.md @@ -3,9 +3,8 @@ ## Introduction powermail_frontend gives you the possibility to show the stored mails -again in the frontend. With this additional plugin (Pi2), it's possible to create -a small guestbook or database listing. In addition some export methods -are included (XLS, CSV, RSS) or logged in FE\_Users can change the +again in the frontend. With these additional plugins (Pi2, Pi3, Pi4), it's possible to create +a small guestbook or database listing. In addition logged in FE\_Users can change the values again. ![frontend_pi2](../Images/frontend_pi2.png) @@ -20,7 +19,6 @@ values again. | Choose a form | Choose an existing form | Select a Form and click save | Main Settings | | Select a page with mails | Select a page with mails (optionsl) | Only mails which are stored in the given page are shown in the frontend (optional setting). | Main Settings | | Choose Fields | Choose Fields (Empty: All Fields) | Let the selection empty if you want to see all form values. | Listview | -| Export Formats | Add links to different export methods by adding some. | XLS, CSV or RSS feed is possible in powermail_frontend. | Listview | | Show entries... | If you want to show only mails within a timeperiod, add some seconds. | If you want to show the mails of the last 24h add “86400”. Let this field empty to disable this function. | Listview | | Show max. X entries... | Limit for mail output. | Add a number if you want to show only X entries. | Listview | | Page with Plugin for list view... | Select the page with the list plugin. | This is needed if the plugin shows the edit or single view and it should link you back to the list view. Let this field empty means list view is on current page. | Listview | @@ -29,7 +27,4 @@ values again. | Page with Plugin for detail view | Select the page with the detail plugin. | This is needed if the plugin shows the list view and it should link you to the detail view. Let this field empty means detail view is on current page. | Detailview | | Add searchfield | Add some search fields above the list. | Select a single field or choose `[Fulltext Search]` for an overall search | Searchsettings | | Add ABC filter | Add ABC filter list in frontend. | Select a field with a leading letter to filter for it. Firstname means: When a user clicks on A, all mails with a beginning A in the firstname are shown (Alex, Andreas, Agnes, etc...) | Searchsettings | -| Choose Fields to edit | What fields should be editable? | Let the selector empty if you want to edit all fields. | Editview | -| Choose one or more Frontend-Users with permissions to change | Choose a frontend user who is able to edit a mail. | Value can be one or more static FE\_Users or the Creator of a mail `[Owner]`. You can select a group in addition (see next row). | Editview | -| Choose one or more Frontend-Groups with permissions to change | Choose frontend users of a group which are able to edit a mail. | Value can be one or more static FE\_User Groups or the Creator Group of a mail [Owner]. You can select some single FE_Users in addition (see row before). | Editview | | Page with Plugin for edit view | Select the page with the edit plugin. | This is needed if the plugin shows the list view and it should link you to the edit view. Let this field empty means edit view is on current page. | Editview | diff --git a/Documentation/Readme.md b/Documentation/Readme.md index 049655af9..3febe3ec2 100644 --- a/Documentation/Readme.md +++ b/Documentation/Readme.md @@ -69,9 +69,6 @@ Example Multistep Form with clientside validation Listing of stored mails with the possibility to see a Detail view or to re-edit the entries for a defined Frontend Usergroup Define your ABC- and Searchterm Filter -Define the export possibilities (RSS, CSV, XLS) -XLS export is only possible when the extension *jambagecom/base-excel* is installed - ### Backend: Mail Listing diff --git a/Resources/Private/Language/locallang_db.xlf b/Resources/Private/Language/locallang_db.xlf index 4d6941c77..8b69e7f26 100644 --- a/Resources/Private/Language/locallang_db.xlf +++ b/Resources/Private/Language/locallang_db.xlf @@ -519,21 +519,6 @@ Main Settings - - Choose your view - - - List or Detail View - - - Detail View - - - Edit View - - - All Views - Choose a form @@ -561,18 +546,6 @@ Show only entries from logged in Frontend-User - - Export Formats - - - XLS Export - - - CSV Export - - - RSS Feed - Detailview diff --git a/Resources/Private/Language/locallang_mod.xlf b/Resources/Private/Language/locallang_mod.xlf index 2b4ad1c3a..c7d7f660c 100644 --- a/Resources/Private/Language/locallang_mod.xlf +++ b/Resources/Private/Language/locallang_mod.xlf @@ -25,10 +25,10 @@ Powerful and easy mailform extension optimized for editors. - Powermail Frontend (List, Detail, Export) + Powermail Frontend (List, Detail) - Displays powermail mails in the frontend with export possibilities + Displays powermail mails in the frontend Powermail Frontend (Edit, Update, Delete)