Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Catalyst Help once again (MANIFEST)

by Anonymous Monk
on Apr 29, 2013 at 09:02 UTC ( #1031188=note: print w/replies, xml ) Need Help??

in reply to Catalyst Help once again

I tried using Catalyst::Plugin::Static::Simple but I can't seem to figure it out. :/ :(.

What did you try?

Will any monk be kind enough to present me a step-by-step crash course on how to use C::P::S::S? Or a better question is, since I learn faster by examples, can any monk point me to a complete example that uses C::P::S::S? I did google about it, but it still is unclear.

:) All the best code has examples ready to run in MANIFEST, speaking of "best code", "better best" code even has them in examples directory with short/meaningful/clear to understand variable/subnames, and "super best" code even has complete example in SYNOPSIS

So, it seem you should use

MyApp->config( static => { ## include_path => [ ## MyApp->config->{root}.'/static', ## ], ## or dirs => [ ## qr{^static}, 'static', ], }, );

Then you save your files in MyApp->config->{root}.'/static/temp/fileXXX.jpg'

and you generate links /yourapp/static/temp/fileXXX.jpg so C'P'S'S will search MyApp->config->{root}.'/static/ for temp/fileXXX.jpg

All that is left to turn on debug , test it, and tweak ignore*/mime....

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031188]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2018-03-24 20:35 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (299 votes). Check out past polls.