[TYPO3] is the print (type=98) view incompatible with templavoila?

Christopher Torgalson bedlamhotel at gmail.com
Sat Aug 25 01:11:07 CEST 2007


Hi Dmitry,

On 8/24/07, Dmitry Dulepov [typo3] <dmitry at typo3.org> wrote:

<snip>

> In any case if you use TemplaVoila, you should use its own print
> feature, not type 98.


Unfortunately, the FTB manual shows a pretty primitive way to do this
with TS. I'd like to propose that the doc be altered to use the
following TS instead (Dmitry--are you also the FTB maintainer? If so,
I can add this as a feature request to the bugtracker):

lib.print_url = TEXT
lib.print_url {
	typolink {
		parameter {
			field = uid
		}
		addQueryString = 1
		addQueryString {
			method = GET
		}
		additionalParams = &print=1
		no_cache = 1
	}
}
[globalVar = GP:print > 0]
	lib.print_url {
		typolink {
			additionalParams >
			addQueryString.exclude  = no_cache,print
			no_cache = 0
		}
	}
[global]


-- 
Christopher Torgalson
http://www.typo3apprentice.com/


More information about the TYPO3-english mailing list