Re: [TYPO3-english] TS: is there a way to count() for elements GP-variable?

2014-11-30 Thread Loek Hilgersom
Hi Bert, Two solutions I can think of: 1. (complicated) doing something with split and adding 1 for each rendered instance 2. (easy) using a simple userFunc with just this: return count(explode(',', $inputValue)); Hth, Loek On 30-11-14 18:37, Bert Hiddink [BENDOO e-work solutions] wrote: He

[TYPO3-english] todo can be improved towards conflict mode naming

2014-11-30 Thread Jan Bednarik
Hi all, I'm struggling with one of my editors, who are uploading different images of the same filename and because ExtendedFileUtility doesn't support conflictMode "changeName", the old file gets reused. See this piece of code: // @todo can be improved towards conflict mode naming

Re: [TYPO3-english] TS: problem with wrap.override

2014-11-30 Thread Bert Hiddink [BENDOO e-work solutions]
Hello Joey, Indeed, the problem was caching here, if I change COA to COA_INT, the wrap.override works as expected! Thanks again! Regards, Bert On 28-11-14 13:58, Bert Hiddink [BENDOO e-work solutions] wrote: On 26-11-14 23:55, Jo Hasenau wrote: Am 26.11.2014 23:40, schrieb Jo Hasenau: the

[TYPO3-english] TS: is there a way to count() for elements GP-variable?

2014-11-30 Thread Bert Hiddink [BENDOO e-work solutions]
Hello, I have a variable like this: &setOfIds=23,56,234,5,77 I receive this Get-var within TS like: {GP:setOfIds} However, is there a way to count the amount of separated elements with this var, something like "count({GP:setOfIds})" ? The result should be "5" in this example... Thanks in a