[TYPO3] how to make printlink in tt_news with realurl and TemplaVoila

Dmitry Dulepov typo3 at fm-world.ru
Tue Mar 7 11:54:52 CET 2006


Hi!

PaweЁ StanisЁawczuk wrote:

> I'm using templavoila, already made a printlink to normal content like in 
> doc_tut_ftb1, works great, but I have problems with extensions, like 
> tt_news. I've found some examples of printlink, but none when using 
> templavoila. My TS configuration:

Not really a good way. Better use stdWrap and typolink, it will work for
realurl. Something like:

	lib.drukuj = TEXT
	lib.drukuj.typolink {
		returnLast = url
		parameter.data = TSFE:id
		useCacheHash = 1
	}
	[globalVar = GP:print > 0]
	lib.drukuj.typolink.additionalParams = &print=1
	[global]

This is compatible with standard, simulateStatic, realurl or any other
possible link generation method. I removed no_cache but added
useCacheHash. This is much better from performance view.

This is useful with TemplaVoila too (btw, TemplaVoila has its own
mailing list).

Dmitry.
-- 
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-english mailing list