[TYPO3-dev] config.linkVars cHash cache problem

JoH asenau info at cybercraft.de
Thu Mar 14 20:54:37 CET 2013


Am 14.03.2013 17:38, schrieb Christian Ludwig:
> Hi Joey,
>
> Well, this was only an example to demonstrate the switch between both of
> the "test values".
> But the Links in the HMENU should generate a cHash, shouldn't they?

Well - it depends ;-)

Taking a look at the code of 6.0 you can see there is a cHash for 
typolink as soon as you set "useCacheHash = 1"

HMENU on the one hand is using typolink but on the other hand it is 
called without any "useCacheHash" paramater at all. So IF you want to 
generate a cHash there, you have to provide your own TypoScript setting 
unless there will be a patch to implement this behaviour by default.

Something like

doNotLinkIt = 1
stdWrap.typolink {
	parameter.field = uid
	useCacheHash = 1
	# some other settings here
}

should do the job.

But IMHO you are right and the core should provide that out of the box.

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com



More information about the TYPO3-dev mailing list