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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)