Felix
Felix

Reputation: 5619

TYPO3 f:link.action routing is wrong

I have the following link action:

<f:link.action controller="FrontendVideo"
               action="listSelectedPublic"
               arguments="{breadcrumb : currBreadcrumb.sortCode}">
    <p class="breadcrumb-custom-text" id="noFive">
        {currBreadcrumb.name}
    </p>
</f:link.action>

Link is rendered, but the link behind is wrong. Always the whole url is concat to the URL

Example

url.de/view/ and the the whole is added url.de/view/?tx_institutsvideoverwaltung_videoverwaltungfrontend[action]=listSelectedMember&tx_institutsvideoverwaltung_videoverwaltungfrontend[controller]=FrontendVideo

Result is:

url.de/view/url.de/view/?tx_institutsvideoverwaltung_videoverwaltungfrontend[action]=listSelectedMember&tx_institutsvideoverwaltung_videoverwaltungfrontend[controller]=FrontendVideo

Problem is present since migration from TYPO3 6.2.31 to 7.6.23

How can I solve this? Thanks in advance!

Upvotes: 0

Views: 432

Answers (1)

Thomas L&#246;ffler
Thomas L&#246;ffler

Reputation: 6164

In your TYPO3 configuration either config.baseUrl or config.absRefPrefix (preferred one) is missing.

In config.baseUrl you set your domain, in config.absRefPrefix you set the base folder of your installation related to the DocRoot, normally only /

Upvotes: 1

Related Questions