MojoMojo::Controller::Jsrpc - Various JsRPC functions.
This is the Mojo powering our AJAX features.
This controller dispatches various data to ajax methods in mojomojo These methods will be called indirectly through javascript functions.
Edit uses this to get live preview. It gets some content in params->{content} and runs it through the formatter chain.
Returns a list of children for the page given by the page_id parameter, formatted for inclusion in a vertical tree navigation menu.
Loads diff on demand. takes an absolute revision number as arg, and diffs it against the previous version.
Add a tag through form submit
add a tag to a page. return list of yours and popular tags.
remove a tag to a page. return list of yours and popular tags.
Inline info on hover for gallery photos.
Backend which handles jQuery autocomplete requests for users.
Sets page permissions.
Clears this page permissions for a given role (making permissions inherited).
Validates if the user is able to edit permissions and if a role was supplied.
Marcus Ramberg <mramberg@cpan.org>, David Naughton <naughton@cpan.org>
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.