← Extensions
TYPO3 13 EXT:newsFrontendAccess ControlPaywall

EXT:news_fegroup_preview

Shows restricted news articles as teasers even for non-logged-in visitors — with configurable FE groups and ViewHelper support for differentiated preview layouts.


What Does the Extension Do?

By default, news records with FE group restrictions are completely hidden from non-logged-in visitors. EXT:news_fegroup_preview changes this: defined groups are ignored during rendering — the news item still appears, but can be shown as a teaser or full article.

Ideal for paywall scenarios or members-only areas where a preview teaser should be visible to anonymous visitors.

Configuration

In the news list plugin in the backend, select the frontend groups that should be ignored during rendering. News items with these groups will still be rendered.

ViewHelper for Differentiated Display

The bundled ViewHelper allows templates to distinguish whether an article should be shown in full or as a teaser:

<html xmlns:n="http://typo3.org/ns/GeorgRinger/News/ViewHelpers"
      xmlns:preview="http://typo3.org/ns/GeorgRinger/NewsFegroupPreview/ViewHelpers"
      data-namespace-typo3-fluid="true">

<preview:security.defaultVisible groups="{newsItem.feGroup}">
    <f:then>
        <!-- Full view for logged-in users -->
        <n:link newsItem="{newsItem}" settings="{settings}" title="{newsItem.title}">
            {newsItem.title}
        </n:link>
    </f:then>
    <f:else>
        <!-- Teaser for non-logged-in visitors -->
        {newsItem.title}
        <f:link.page pageUid="123"
            additionalParams="{redirect_url: '{n:link(newsItem:newsItem,settings:settings,uriOnly:1)}'}">
            Login to read more
        </f:link.page>
    </f:else>
</preview:security.defaultVisible>
</html>

Requirements

PackageVersion
TYPO3 CMS13
EXT:news12