Zum Inhalt springen

f:link generiert leeren Link

Erstellt am 1. September 2011 · 1 Antwort · letzte Antwort am 5. September 2011

Tags: ViewHelper, URLs & Routing, Frage

Jockel87 ·

Hallo,
ich habe folgendes Problem:
Unter der XAMPP-Installation werden die Links via f:link korrekt generiert. Lade ich es jedoch auf den Webspace, so sind die Links einfach leer.

Hier mal ein Codeauschnitt aus dem Template:

<f:if condition="{showFb}">
	<div><f:if condition="{settings.facebook.display}">
		<f:link.action additionalParams="{timestamp : ts}" action="facebook"
			controller="Sociallogin" noCache="true">
<f:image src="{f:uri.resource(path:'')}{f:translate(key:'label.facebook.imagefile')}" width="154" height="25" alt="Facebookbutton"/>
		</f:link.action>
		<br>
	</f:if></div>
</f:if>

Unter XAMPP sieht der generierte Link wie folgt aus:

<a href="sociallogin/?no_cache=1×tamp=1314870889&tx_sociallogin_pi_sociallogin%5Baction%5D=facebook&tx_sociallogin_pi_sociallogin%5Bcontroller%5D=Sociallogin">
<img width="154" height="22" src="typo3conf/ext/sociallogin/Resources/Public/facebook.png" alt="Facebookbutton">
</a>

Auf dem Webspace:

<a href="">
<img width="154" height="25" src="typo3temp/pics/1288f391b9.png" alt="Facebookbutton">
</a>

Hat jemand eine Idee woran das liegen kann? Wäre für nen Tipp sehr dankbar.
#angry#

Freshmeat ·

Sehe gerade keinen Fehler. Hast du RealUrl oder was Ähnliches aktiviert? Und passiert das gleiche auch, wenn die entsprechende Extension deaktiviert wird?