Hi Jigal thanks for the help. I obvious did not yet try that. So I now did, but when I have the value like this:
29 - - “Some title” and have this as code I still get the title of the linked page and not the so much desired: Some title ? Am I overseeing something? <f:link.typolink parameter="{data.tx_mask_teaser_link}" /> or this <f:link.typolink parameter=“{data.tx_mask_teaser_link}” ></f:link.typolink> Regards, Wiechert Hooghwinkel > Op 11 jan. 2017, om 22:38 heeft Jigal van Hemert <jigal.van.hem...@typo3.org> > het volgende geschreven: > > Hi, > > On 11/01/2017 15:57, "HocomAdvies [ 🌷 Wiechert Hooghwinkel ]" wrote: >> Just a simple question. How to get the “title” text from a link displayed ? >> This code generates the title of the linked page but not the title which was >> inserted when selecting the link to the page in the BE form. >> >> <div class="button"><f:if condition="{data.tx_mask_teaser_link}"> >> <f:link.typolink >> parameter="{data.tx_mask_teaser_link}">{link.title}</f:link.typolink> >> </f:if></div> >> </div> > > If you have a link field with a value like: > 29 - - "Some title" > > you can simply leave out any children of the typolink viewhelper: > > <f:link.typolink parameter="{data.tx_mask_teaser_link}" /> > > If there is no title set in that field then it will use the title of the > linked page. > > > -- > Jigal van Hemert > TYPO3 CMS Active Contributor > > TYPO3 .... inspiring people to share! > Get involved: typo3.org > _______________________________________________ > TYPO3-english mailing list > TYPO3-english@lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english _______________________________________________ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english