NAME

Para::Frame::Template::Meta - Common TT html header

META parameters

title

Sets HTML title and a H1 with the value.

otitle

Only sets HTML title with the value.

level

Access level for viewing the page.

The user level is set by Para::Frame::User.

Example: [% META title="Hello" level=4 %]

Default value: 0

focus

Sets focus on form field with specified name.

onsubmit

Sets the onsubmit param of the form tag. Javascript stuff.

form_method

The method of the form. Default is POST.

form_enctype

The enctype of the form. Uses multipart/form-data if form_method is POST, in oprder to make file uploads possible. If GET, it will use the standard enctype.

form_extra

A string to put in the form tag.

next_template

Set default next page to view after form submit.

The value can be any sort of URL. Used to set form.f.action.

Default template determined by Para::Frame::Route/plan_backtrack in case of form submit with next_template being false.

Use Para::Frame::Template::Plugin::Meta::Interpolate for prepending $home or setting it to $me.

Example: [% META next_template = '~$home/' %]

next_template_target

Sets the target of the next template. It's the name of the browser window.

default_template

Set default next page to view after form submit.

The value can be any sort of URL. Used to set form.f.action.

This will be used if both /next_template and Para::Frame::Route/plan_backtrack returns undef.

Use Para::Frame::Template::Plugin::Meta::Interpolate for prepending $home or setting it to $me.

Example: [% META next_template = '~$home/' %]

next_action

Set default action to be taken after form submit, before viewing the next page.

Stored in form field 'run'.

Multiple actions can be taken by concatenating them with '&', or by having multiple run fields. An action can also append more actions to be taken.

The name of the action should be in all lower case. Paraframe will look for a Perl module with the samne name in the application appbase or any of the appfmly or in paraframe. If appbase is Rit::HG and teh action is named lookup it will first try with Rit::HG::Action::lookup and then Para::Frame::Action::lookup.

It will then call the handler() function with the $req as param.

The first action that fails (with an exception) will cauese the later actions to not be run.

css

The cascading stylesheet to use for this page. The header metadata is generated using Para::Frame::Widget/css_header.

Example: [% META css="/my_style.css" %]

favicon

The favicon to use for this page. Can also be given as a tt param in site config or globaly.

description

The description of the page (for search engines)

keywords

The keywords for the page. (Not used by most search engines)

This is given as a string

body_class

The class of the HTML body (for CSS). Can also be given as a tt param in site confog or blobaly.

SEE ALSO

Para::Frame