20 Nov
2003
20 Nov
'03
6:42 p.m.
Jaroslav Lukesh wrote at 2003-11-20 13:43 +0100:
I want to add parameter "cut=###" to <dtml-var> tag. It is opposite for "size" parameter, at Zope 2.5.1 you can find it around line 260 of DT_Var.py.
But after restart (*.pyc file successfully created) the modified tag ...
return val
# added 'cut', opposite derivate from 'size' if have_arg('cut'): cut=args['cut']
Your "cut" handling comes a bit late: Code after a "return" is ineffective.... -- Dieter