in2code-de / luxletter

Newsletter system for TYPO3
https://www.in2code.de/agentur/typo3-extensions/luxletter/
23 stars 25 forks source link

[Feature] metric for grouped links by newsletter #127

Closed rr-it closed 2 years ago

rr-it commented 2 years ago

This implements https://github.com/in2code-de/luxletter/issues/126

einpraegsam commented 2 years ago

We don't know were you are going to change something? Can you please explain more or provide before/after screenshots?

rr-it commented 2 years ago

Example code for "Top 10 links per newsletter" in Fluid:

<f:for each="{newsletters}" as="newsletter">
    <h3>Top 10 links for {newsletter.title}</h3>
    <ul>
        <f:for each="{newsletter.groupedLinksByHref}" as="groupedLink">
            <li>Link: {groupedLink.target} / Clicks: {groupedLink.count}</li>
        </f:for>
    </ul>
</f:for>
einpraegsam commented 2 years ago

Note to myself: This PR is needed for this https://github.com/in2code-de/luxletter/pull/128

einpraegsam commented 2 years ago

As talked before, we like the idea behind the PR but would be happy to improve UX a bit in the future. For now, we're going to close this issue.