[TYPO3-english] no caching of stdWrap.filelist / stdWrap.filelink ?

bernd wilke t3ng at bernd-wilke.net
Fri Aug 16 15:50:31 CEST 2013


Am 16.08.13 13:30, schrieb Viktor Livakivskyi:
> Hi, Bernd.
>
> I'm trying to understand your code, but some parts are not clear for me.
>
> Are you trying to build cache key, that consists of all filenames?

yes, and so the files are in folders 'a' to 'z' I have to concat the 
filenames from 26 dirs.


> Will this piece of code work in cache key context:
>> filelist.cObject = TEXT
>> filelist.cObject {
>> current = 1
>> wrap = {$katalogpfad}#/|pdf|name||0
>> wrap.splitChar = #
>
> Your "current" value ebery time will be a letter, so where will you take
> '|pdf|name||0' ?

the default return value from filelist is a comma separaed list of all 
the filenames (no further computing /split this time)

bernd
-- 
http://www.pi-phi.de/cheatsheet.html


More information about the TYPO3-english mailing list