Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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

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

NAME
MojoMojo::Controller::Gallery - Page gallery. SYNOPSIS
See MojoMojo DESCRIPTION
Controller for page photo galleries. METHODS
default Private action to return a 404 not found page. gallery ( .gallery ) Show a gallery page for the current node. by_tag ( .gallery/by_tag ) Show a gallery by a given tag. Will also show photos in the descendants of the page with the given tag. photo ( .photo/<id> ) Show a gallery photo page. ( /photo_by_tag/<id> ) Show a picture in tag gallery. submittag ( /gallery/submittag ) Add a tag through form submit. tag ( /.jsrpc/tag ) Add a tag to a page. Forwards to inline_tags. untag ( .gallery/untag ) Remove a tag from a page. Forwards to inline_tags. inline_tags ( .gallery/tags ) Make a list of the user's tags and popular tags, or just popular tags if no user is logged in. description ( .gallery/description ) AJAX method for updating picture descriptions inline. title ( .gallery/title ) AJAX method for updating picture titles inline. 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-07-20 MojoMojo::Controller::Gallery(3pm)

Check Out this Related Man Page

MojoMojo::Schema::Result::Page(3pm)			User Contributed Perl Documentation		       MojoMojo::Schema::Result::Page(3pm)

NAME
MojoMojo::Schema::Result::Page - store pages METHODS
update_content <%args> Create a new content version for this page. %args is each column of MojoMojo::Schema::Result::Content. add_version my $page_version_new = $page->add_version( creator => $user_id, name_orig => $page_new_name, ); Arguments: %replacementdata Returns: The new PageVersion object. Creates a new page version by cloning the latest version (hence pointing to the same content), and replacing its values with data in the replacement hash. Used for renaming pages. tagged_descendants($tag) Return descendants with the given tag, ordered by name. tagged_descendants_by_date Return descendants with the given tag, ordered by creation time, most recent first. descendants @descendants = $page->descendants( [$resultset_page] ); In list context, returns all descendants of this page (no paging), including the page itself. In scalar context, returns the resultset object. If the optional $resultset_page is passed, returns that page from the resultset. descendants_by_date @descendants = $page->descendants_by_date; Like "descendants", but returns pages sorted by the dates of their last content release dates and pages results (20 per page). user_tags($user) Return popular tags for this page used $user. others_tags($user) Return popular tags for this page used by other people than $user. tags_with_counts($user) Return an array of {id, tag, refcount} for the $user's tags. path( [$path] ) TODO Accessor? has_photos Return the number of photos attached to this page. Use for galleries. 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-01-12 MojoMojo::Schema::Result::Page(3pm)
Man Page

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

tar help

I am semi newb to the unix world. I have an ever changing photo gallery that I have complete backups of but the complete backups are getting too big. Is there a way to just tar up the new files? So that way I can do a backup once every two weeks and just backup the files that had been changed... (2 Replies)
Discussion started by: elDeuce
2 Replies

2. UNIX Desktop Questions & Answers

I nedd some help

Heh..Where is here some web gallery about site creators?I'm need it.For example, as here - Google, I'm really have seen ithere.Good luck! (0 Replies)
Discussion started by: AlexCoppas
0 Replies

3. Shell Programming and Scripting

Distributing a perl script

Hi all, I'm new to the world of Perl so may have gone about this in the wrong way (my background is mainly Java and Bash). I have a Perl script (gallery.pl) which takes in various arguments (the only mandatory arguments is a directory full of images) and creates an HTML, standards compliant... (1 Reply)
Discussion started by: forquare
1 Replies

4. Post Here to Contact Site Administrators and Moderators

inline code tags

How to add inline tags in the posts? Like in this thread post #4. Thanks. (5 Replies)
Discussion started by: clx
5 Replies

5. Emergency UNIX and Linux Support

Shell scripting

The given file consists of two tags i.e., <free-energy> and <position> tag. I want the output like this. The tag <length> is not required to consider. (General format of output) free-energy no. first position no – second position no third position no – fourth position no ------ ... (8 Replies)
Discussion started by: hravisankar
8 Replies

6. Shell Programming and Scripting

Logging in and running an update file from command

I am trying to upgrade many installations of a gallery script called coppermine through the commandline. I've copied the latest files of the script to each account. Then, I need to run a file gallery/update.php which requires I log in I can create an admin user for myself for each... (2 Replies)
Discussion started by: vanessafan99
2 Replies

7. UNIX for Dummies Questions & Answers

Help with incomplete Code

Hello, Since i am new in shell scripting, i need some help from you guys. :rolleyes: I am trying to implement an automata that reflects the attached photo.. The main idea behind is to take an array of (0 & 1)s from the user and terminate it by "end". Then, the string is send to the function... (1 Reply)
Discussion started by: Geekie
1 Replies

8. Shell Programming and Scripting

Downloading jpgs from a gallery type website

Can someone explain what this does step by step? I found this script on stackoverflow and want to customize it for personal use in downloading jpg images from a website. # get all pages curl 'http://domain.com/id/' -o '#1.html' # get all images grep -oh... (3 Replies)
Discussion started by: workisnotfun
3 Replies

9. Shell Programming and Scripting

sed - delete content inside tags multiline

I need that a certain part of the content below excluded ==Image Gallery== followed by <gallery> and the content until </gallery> test SED1 ==Image Gallery== <gallery> Image:car1.jpg| Car 1<sup>1</sup> Imagem: car2.jpg| Car2<sup>2</sup> </gallery> test SED2 ==Image... (5 Replies)
Discussion started by: dperboni
5 Replies

10. What is on Your Mind?

New Responsive 404 Page for UNIX.com

Just created (actually, only modified... it was created by ShoutOut) a new responsive 404 "not found" page with the help of ShoutOut free templates. https://www.unix.com/status/404.html Same for 401 and 403 errors. Picture sans animation: ... (2 Replies)
Discussion started by: Neo
2 Replies