[TYPO3-mvc] How to use realurl in an extbase extension?

Christian Essl essl at incert.at
Tue Jun 7 12:27:39 CEST 2011


I must have shot myself in the foot. I checked my Typoscript-Setup and somehow there really was a " config.tx_realurl_enable = 0" set, maybe from previous testing. :) Interesting, that, in the end, this setting only affected the link generation in my project. 

Thanks for the help!

-----Ursprüngliche Nachricht-----
Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org [mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von Franz Koch
Gesendet: Dienstag, 07. Juni 2011 12:19
An: typo3-project-typo3v4mvc at lists.typo3.org
Betreff: Re: [TYPO3-mvc] How to use realurl in an extbase extension?

Hey,

> For example this:
...
> So I am already able to open the pages with a speakable url in the 
> browser like "profile/new/" but that alone is useless as long as the 
> internally generated urls (f.link etc.)do not get rewritten in this 
> way. :(

Extbase is internally calling typolink, so there is no need to configure anything in order to make realUrl/coolUri etc work with Extbase generated links. If the links in your extension don't get rewritten nicely even if you have the according realURL configuration applied, your installation seems to have a different issue. Please check if the realUrl configuration really applies and also make sure that config.tx_realurl_enable = 1 is set in TypoScript on the page displaying your plugin.

--
kind regards,
Franz Koch
_______________________________________________
TYPO3-project-typo3v4mvc mailing list
TYPO3-project-typo3v4mvc at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc


More information about the TYPO3-project-typo3v4mvc mailing list