[TYPO3-english] Typoscript variable test empty

Marieke Vandamme 3 marieke.vandamme at tvh.be
Tue Jan 17 14:10:40 CET 2012


Hello, 

I have the following typoscript code on a page. This page needs to forward
the parameters gotten from the current request to an iframe that will be
printed on the page:
5 = COA_INT
5.10 = TEXT
5.10 {
      dataWrap = | <iframe
src="http://www.mysite.com/?1=a&{getIndpEnv:QUERY_STRING}"></iframe>
}

When there are no requestparameters this will result in the following
incorrect link:
http://www.mysite.com/1=a&

How can I first test if the getIndpEnv:QUERY_STRING isn't empty, so I know
if I should add the extra '&'-sign to the URL. 

Thanks for any help !
Marieke Vandamme

-- 
View this message in context: http://old.nabble.com/Typoscript-variable-test-empty-tp33154027p33154027.html
Sent from the TYPO3 English mailing list archive at Nabble.com.



More information about the TYPO3-english mailing list