[TYPO3-mvc] Typolink extbase fluid

Frank Gerards F.Gerards at esolut.de
Fri Nov 25 17:49:20 CET 2011


You could also build the link in the controller or model using the URIBuilder Object.

-----Ursprüngliche Nachricht-----
Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org [mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von Matt Janus
Gesendet: Freitag, 25. November 2011 11:41
An: typo3-project-typo3v4mvc at lists.typo3.org
Betreff: [TYPO3-mvc] Typolink extbase fluid

I am just starting out with extbase and fluid and thought I would try
rebuilding an old pibase extension in fluid and extbase and to get the
hang of it.

I have got a bit stuck with a particular issue - typolinks.

In the backend of the old extension, the user can complete a link
field - this can be an external URL, page within the site, file or
email address.

In my old pibase extension I simply passed this value to

$this->cObj->typolink

And it would generate the correct link type in the frontend.

Looking at fluid it seems that this has been separate into options for
each type of link:

<f:link.email

<f:link.external

<f:link.page

How could I accomplish the same goal of being able to use any type of
link within a fluid template? Can this be done by creating additional
viewHelpers? Does typolink still function the same way in extbase?

Any pointers you could give would be most welcome.

Kind regards

Matt
_______________________________________________
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