Home Blog Documentation Download Features Forum Users Contact
Documentation

Action

Template action functions

a_cut

Stores current node's ID into the SESSION's clipboard variable

a_delete

Deletes current node and all subnodes and files associated

a_download

Downloads (outputs) current node's associated filesystem file content (or avatar for user type node). Respects HTTP_RANGE headers, and XSendFile config setting. (Uses XSendFile optionally)

a_edit

Edits current node/user in the database using values available trough POST. If no allowed values are available, no action is done.

a_gen_password

Generates automatically a new password and injects it into $_POST

a_goto

Redirects current page into specified action (view action by default) or specified path and stops execution

a_lang

Loads given language pack into current CMS context

a_login

Logs in the user using login and password from POST

a_logout

Logs out currently logged user

a_new

Adds new node/user to the database using values available trough POST. If no allowed values are available, no action is done.

a_password

Checks if the POST password and POST password2 match and generate md5 of them.

a_paste

Moves all nodes from SESSION's clipboard into current node (Making the subnodes of current node)

a_referer

Redirects to the current page's referrer, or current URL w/o action if no referrer and stops execution

a_remove_avatar

Removes avatar from specified node

a_render

Renders current page's type action template with given action (404 by default)

a_reset

Resets current user password and sends a new generated one trough mail.

a_send_login

Sends login information of the current user node.

a_tag

Tags current node with tags specified as comma separated string of items Automaticaly creates names (slugs) for the tags

a_take

Make currently logged user take ownership of the current node

a_uncut

Removes all or current node's ID from the SESSION's clipboard variable

a_upload

Uploads a file or avatar into current node Current node should be either user $cms_user_type or node of type $cms_file_type