I created a modal window with the ext. Typo3 contentblocks. I have to access a typo link as a variable from the database.
Typo3 typolink](https://i.sstatic.net/BturXZzu.png)
This works only if the parameter (parameter = 169 ) directly indicates the UID pages. How can I do this a variable?
Html
<f:if condition="{data.url}">
<iframe id="modalIframe{data.uid}" src="{f:cObject(typoscriptObjectPath: 'lib.pageLink')}"></iframe>
</f:if>
setup.typoscript
lib.pageLink = TEXT
lib.pageLink {
typolink {
#parameter = 169
#parameter.data.override.cObject.field = modal_url
parameter.field = modal_url
if.isTrue.field = uid
returnLast = url
additionalParams = &type=100
}
}