On Fri, May 08, 2009 at 03:33:52PM +0200, t...@dix.cz wrote:
Hello catalysters,
I'm trying to use Catalyst::Plugin::Captcha
Don't. Controller::reCAPTCHA is far saner.
This, as with many things, should never have been a plugin, and as such it's
kinda fragile, sorry.
--
Matt S
t...@dix.cz wrote:
I see!
img src=[% c.uri_for('captcha') -%] /
works for me. Thanx for good hint!
Please, please please supply a doc patch to the module, or _at least_
report a bug in the module's rt.cpan queue, so that hopefully this will
get fixed and nobody will struggle in future?
Hello catalysters,
I'm trying to use Catalyst::Plugin::Captcha (v 0.03). Code is
writen according the man page.
Calling in controller
$c-create_captcha();
imediatelly displays the image. How can be the image passed to TT view?
Many thanks in advance,
--th
On 8 May 2009, at 14:33, t...@dix.cz wrote:
Hello catalysters,
I'm trying to use Catalyst::Plugin::Captcha (v 0.03). Code is
writen according the man page.
Calling in controller
$c-create_captcha();
imediatelly displays the image. How can be the image passed to TT
view?
In your
Calling in controller
$c-create_captcha();
imediatelly displays the image. How can be the image passed to TT view?
In your TT template:
[% c.create_captcha %]
should work?
No. I'v tried it already. The output is mess..
looking to the module the create_captcha method ends:
...snip...
I'd recommend using Catalyst::Controller::reCAPTCHA instead to be
honest. Get the usage from the sample app in the t/ dir rather than
the actual documentaion, it may be inaccurate
On 09/05/2009, at 12:40 AM, t...@dix.cz wrote:
Calling in controller
$c-create_captcha();
imediatelly displays
Calling in controller
$c-create_captcha();
imediatelly displays the image. How can be the image passed to TT
view?
In your TT template:
[% c.create_captcha %]
Accoring to the code I guess it is meant as calling create_captcha()
in a controller that is accessed via an img tag:
img
img src=http://my.app/createcaptcha; /
...where createcaptcha is the controller calling the Plugin::Captcha
method.
I see!
img src=[% c.uri_for('captcha') -%] /
works for me. Thanx for good hint!
Tomas
___
List: Catalyst@lists.scsys.co.uk