[Typo3] USER_INT problems
Christian Lerrahn
typo3 at penpal4u.net
Tue Jul 12 17:19:29 CEST 2005
Hi,
sorry for spamming. Here's the solution in case anybody is wondering.
> # Add footnotes
> includeLibs.footnotes = media/scripts/footnote.php
> tt_content.text.20.parseFunc.allowTags =
> fn,b,i,u,a,img,br,div,center,pre,font,hr,sub,sup,p,strong,em,li,ul,ol,blockquote,strike,span,h1,h2,h3,h4,h5,h6
> tt_content.text.20.parseFunc.tags {
> fn = USER
> fn.current = 1
> fn.userFunc = user_footnote->add
> }
>
> # Create list of footnotes
> temp.footnotes = USER_INT
^^^^^^
You shouldn't cache the output of the
function that sets the counter and then don't cache the output of a
dependent function... ;-)
temp.footnotes = USER
works great.
Christian
--
Lass leuchten dein Antlitz über deinen Knecht. Hilf mir durch
deine Güte!
Psalm 31,17
More information about the TYPO3-english
mailing list