Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend the backend module #994

Open
peterschoene opened this issue Mar 17, 2024 · 0 comments
Open

Extend the backend module #994

peterschoene opened this issue Mar 17, 2024 · 0 comments

Comments

@peterschoene
Copy link

peterschoene commented Mar 17, 2024

Unfortunately, it's not possible to add additional columns in the backend module. This makes sense because it would require accessing the custom-defined columns. However, this functionality seems to already exist, as clicking on 'Show Mail Details' retrieves the mail data. There's also a list template available for the backend list action. Therefore, my question is: How can the backend list module be overridden in a custom extension? For example, at this point:

Thank you

PS:

I've done it myself by inserting the following code into the core file of Powermail:

<td nowrap="nowrap">
    <span title="{mail.senderName}">
        <f:for each="{mail.answers}" as="answer">
            <f:if condition="{answer.value}">
                <f:if condition="{answer.field.title} == 'My custom field'">
                    <f:if condition="{answer.valueType} == 0">
                        <f:format.nl2br>{answer.value}</f:format.nl2br>
                    </f:if>
                </f:if>
            </f:if>
        </f:for>
    </span>
</td>

It works, but it would be better in my own extension. I couldn't find anything about this in the TYPO3 documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant