Quote:
Originally Posted by chaley
The expression you are using won't work in the template language. I didn't add perl syntax. 
|
Ha. I knew it was the regex causing trouble.
Quote:
Originally Posted by chaley
Also, if I am understanding you correctly there can be multiple 'reco XX' tags attached to a book. In this case you must process the tags one at a time. This template does that, and your case 2.
Code:
program:
result = '';
for t in $tags:
if substr(t, 0, 5) == 'reco ' then
result = list_join(',', result, ',', t & ',' & 'recos amis', ',')
fi
rof;
result
|
Excellent. Works perfectly! Thank you!