typo ifEmpty title // subtitle

language: TypoScript
license: Other

Code for Snippet:

                
10 = TEXT 
10 { 
    wrap = <h2>|</h2>
    data = page:subtitle 
    ifEmpty.data = leveltitle:-2
    insertData = 1
}
comments powered by Disqus

Info

Link to this snippet:


Download to Code Collector

To use the direct link to your snippet on CodeCollector.net either copy the html from the above section or drag the Download to Code Collector to where you would like to use it.

More Info:

Times Viewed: 162
Date Added: 2011-11-28 15:37:01
Last Modified: 0000-00-00 00:00:00

Web Analytics