Skip to content

Author's title is missing in several places #342

@h-e-l-l-o-w-o-r-l-d

Description

@h-e-l-l-o-w-o-r-l-d

Hi,

the author's title is missing in several places, f.e. in the following files, thus missing in the FE (and also BE). Just search for {author.name} to get more occurrences like RSS, comment added...

$linkText = $this->renderChildren() ?? $author->getName();

$linkText = $this->renderChildren() ?? $author->getName();

<span class="postmetagroup__listtext" data-prefix="{f:translate(key:'meta.authors.author')}"><f:render section="ProfileLink" arguments="{author: author}" contentAs="content">{author.name}</f:render></span>

The last two are best fixed with

{f:if(condition: author.title, then: '{author.title} ')}{author.name}

BTW, the author's title is however considered here:

<f:if condition="{author.title} || {author.location}">

Versions

TYPO3 13.4.24
EXT:blog 13.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions