Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mojomojo::controller::attachment(3pm) [debian man page]

MojoMojo::Controller::Attachment(3pm)			User Contributed Perl Documentation		     MojoMojo::Controller::Attachment(3pm)

NAME
MojoMojo::Controller::Attachment - Attachment controller DESCRIPTION
MojoMojo supports attaching files to nodes. This controller handles administration and serving of these assets. ACTIONS
auth Return whether the current user has attachment manipulation rights (upload/delete). unauthorized Private action to return a 403 with an explanatory template. default Private action to return a 404 not found page. attachments Main attachment screen. Handles uploading of new attachments. list Display the list of attachments if the user has view permissions. template: attachments/list.tt plain_upload Upload feature that uses the traditional upload technique. check_file Check if the file(s) uploaded could be added to the Attachment table. flash_upload Upload feature that uses flash attachment Find and stash an attachment. defaultaction Set the default action for an attachment which is forwarding to a view. view Render the attachment in the browser ("Content-Disposition: inline"), with caching for 1 day. download Forwards to "view" then forces the attachment to be downloaded ("Content-Disposition: attachment") and disables caching. thumb Thumb action for attachments. Makes 100x100px thumbnails. inline Show 800x600 inline versions of photo attachments. delete Delete the attachment from this node. Will leave the original file on the file system but delete its thumbnail and inline versions. AUTHOR
Marcus Ramberg "marcus@nordaaker.com" LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2010-05-23 MojoMojo::Controller::Attachment(3pm)

Check Out this Related Man Page

MojoMojo::Controller::Admin(3pm)			User Contributed Perl Documentation			  MojoMojo::Controller::Admin(3pm)

NAME
MojoMojo::Controller::Admin - Site Administration DESCRIPTION
Action to handle management of MojoMojo. Click the admin link at the bottom of the page while logged in as admin to access these functions. METHODS
auto Access control. Only administrators should access functions in this controller. settings ( /.admin ) Show settings screen. user ( .admin/user ) User listing with pager, for enabling/disabling users. role ( .admin/role ) Role listing, creation and assignment. create_role ( .admin/create_role ) Role creation page. edit_role ( .admin/role/ ) Role edit page. handle_role_form Handle role form processing. Returns true when a submitted form was actually processed. update_user ( *private*) Update user based on user listing. precompile_pages Make a formatted version of content body and store it in content.precompiled. This makes MojoMojo go zing, when loading content for page requests. Depending on the number of pages, and versions of them, this could take some minutes. For 2000 page versions on a 2.4 GHz desktop this script took about 3 minutes to run. delete Delete a page and its descendants. This is in MojoMojo::Controller::Admin because we are restricting page deletion to admins only for the time being. TODO: this method should reside in the Model, not in a Controller (issue #87). AUTHOR
Marcus Ramberg <mramberg@cpan.org> LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2011-09-02 MojoMojo::Controller::Admin(3pm)
Man Page

13 More Discussions You Might Find Interesting

1. How do I send email?

sending files as attachments

How do I send a file as an attachment on a Unix system (9 Replies)
Discussion started by: SmartJuniorUnix
9 Replies

2. UNIX for Dummies Questions & Answers

sending files as attachments

How do I send a file as an attachment on a Unix system (9 Replies)
Discussion started by: SmartJuniorUnix
9 Replies

3. UNIX for Dummies Questions & Answers

Blocking email attachments

Dear Friends, Is there any way to block incoming emails with attachments or move them in specified directory on. Can anybody help? Yours kam (10 Replies)
Discussion started by: kamlakar
10 Replies

4. Shell Programming and Scripting

Email Attachment Script

Hello, I created the following script but i'm trying to figure out why i keep getting an error. #!/usr/bin/perl -w use strict; use warnings; my $baseDir = '/export/home/omcadmin/bin'; my $attachment = "$baseDir/message.txt"; my $from = 'xxx@xxx.com'; my $to = 'xxx@xxx.com'; my... (10 Replies)
Discussion started by: xmaverick
10 Replies

5. Shell Programming and Scripting

Sending Attachment using MIME in UNIX

Hi, I am using the below code for sending attachment in UNIX but only blank attachment is coming in email even the content is not coming. Please help!!! export CONTENT="${DIR}/${RUN_DATE}_mailbody.txt" export SUBJECT="Search Result for Pattern - ${1}" export ATTACH=${2} ( echo... (9 Replies)
Discussion started by: rajesshh
9 Replies

6. Shell Programming and Scripting

Sending zip file as attachments in perl

Hi All, i have a code, where that script is sending mail to the users, but i want to enhance it, i.e i need to add attachment(zip file) to that, i dont want to use MIME:LITE module or any other module, with this simple code, i need to enhance. below is my code my %mail_params = (HTML ... (13 Replies)
Discussion started by: asak
13 Replies

7. Shell Programming and Scripting

unix email attachments in web mail

Hi, Request you to please help on my issue. My issue is: We are able to send the log files as an email attachment. We are able to get the attachment in our inbox. But when we try to see in web mail, instead of the attachment, junk characters are displaying. Appreciate your help. Regards,... (10 Replies)
Discussion started by: gi.srinivas
10 Replies

8. Shell Programming and Scripting

How to send mail with attachment in Unix

Hi All, Is it possible to send mail in Unix with attachment. If yes, then how?? (8 Replies)
Discussion started by: parthmittal2007
8 Replies

9. Shell Programming and Scripting

Data extraction from .txt file

Hey all, i´ve got the following problem: i´m aquiring data with an instrument and i get data in a .txt file. This is how the txt file looks like: Report of AU program poptau F1P=-49.986ppm F2P=-110.014ppm Target directory for serfile: D:/data/Spect500/nmr/Thoma/882 Linear... (17 Replies)
Discussion started by: expikx
17 Replies

10. Shell Programming and Scripting

Email with .dat file as attachment

Hi, I am trying to email a .dat file as an attachment from unix MS-outlook. I tried uuencode but it is not attaching the file, rather it is placing some junk data in the body of mail. Below is my code (cat Message.txt; uuencode Attach_File.DAT Attch_File.DAT) | mailx -s "SUBJECT"... (12 Replies)
Discussion started by: sampoorna
12 Replies

11. Shell Programming and Scripting

Shell to display portion of a line

Thanks a lot for the code and the explanation. Now my final requirement. I have uploaded 3 files as attachment. Please open the files in Editplus or any other text editor which keeps the formatting. GMDCOM.27936.log.txt------I want to pick only Process request from this file.(Please check... (9 Replies)
Discussion started by: ghosh_tanmoy
9 Replies

12. Shell Programming and Scripting

Attachment readablity using mailx command

Team, Presently i have the below script which sends the attachment but in a .bat method, i want it more of readable method.i.e(abc.log) for which i am doing the cat cat abc.log | mailx -s "Todays logs $(date)" <my_email_id.com> Regards Whizkid Please use code tags next time for... (14 Replies)
Discussion started by: whizkidash
14 Replies

13. Shell Programming and Scripting

Sending a mail with different attachment in AIX

How to Send a mail with multiple attachment also differenet extension using uuencode in AIX. Can you please help me. --------------------------------------------------------- I have below code. But attachment not been attached. (cat /aceapp/QATD011R4/ace.ofac/testofac/results/;uuencode... (9 Replies)
Discussion started by: Swapnil Mawle
9 Replies