On Dec 28, 2007, at 7:53 AM, Ferruccio Zamuner wrote:
Hello Carl Franks, you wrote:
btw, with the code examples you gave in your original bug report
(http://code.google.com/p/html-formfu/issues/detail?id=16 ) setting
the INCLUDE_PATH isn't enough to make formfu use Template to render
the form anymore - you also have to set $form->render_method('tt') -
otherwise it'll use internal methods to generate the markup.
First I've tried to modify formfu/input creating formfu/myinput TT:
[% WRAPPER field %][% INCLUDE $self.field_filename %][% END %]
<span>
<img ...>
</span>
it works but I prefer to include my images in the content <span>,
then I've tried to create a 'myfield' TT
How can I tell to 'formfu/myinput' to include 'formfu/myfield' TT
instead of 'formfu/field' TT ?
Why can't you just name it 'field' instead of 'myfield', thats how
overriding is normally done...
--
Jason Kohles, RHCA RHCDS RHCE
[EMAIL PROTECTED] - http://www.jasonkohles.com/
"A witty saying proves nothing." -- Voltaire
_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu