[TYPO3-english] Display typolink only if not empty

Dmitry Dulepov dmitry.dulepov at gmail.com
Mon Jan 27 12:28:34 CET 2014


Hi!

sai chandra wrote:
> So, can someone help me how to hide the typolink if its empty?What is
> the condition to display the typolink only if it is NOT empty?

10 = COA
10 {

	10 = LOAD_REGISTER
	10.your_typolink = ....

	20 = TEXT
	20 {
		data = register:your_typolink
		required = 1
		wrap = <a href="|">Your button</a>
	}

}


Something like that.

-- 
Dmitry Dulepov

Today is a good day to have a good day.


More information about the TYPO3-english mailing list