MojoMojo::Controller::Attachment - Attachment controller
MojoMojo supports attaching files to nodes. This controller handles administration and serving of these assets.
Permission control for mojomojo pages.
main attachment screen. Handles uploading of new attachments.
This action dispatches to the other private actions in this controller based on the second argument. The first argument is expected to be an attachment id.
Force the attachment to be downloaded, through the use of content-disposition. No caching.
thumb action for attachments. makes 100x100px thumbs
Show 800x600 inline versions of photo attachments.
Delete the attachment from this node. Will leave the original file on the file system but delete its thumbnail and inline versions.
Insert a link to this attachment in the main text of the node. Will show a thumb for images. TODO: Write templates for more mime types.
Insert a plugin File link to this attachment in the main text of the node.
Marcus Ramberg marcus@nordaaker.com
marcus@nordaaker.com
This library is free software. You can redistribute it and/or modify it under the same terms as perl itself.
To install MojoMojo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MojoMojo
CPAN shell
perl -MCPAN -e shell install MojoMojo
For more information on module installation, please visit the detailed CPAN module installation guide.