Help for Free Nodelet Settings
Use Free Nodelet Settings
This is a free-form "scratchpad" box in nodelet form.
You can put any HTML in it you want
(including PerlMonks-specific markup, of course!).
You can also put CSS style information in it.
The place to manage the content of this node is Free Nodelet Settings.
in order to enhance your experience of the site, this is where you'd
One of the clever uses some monks have found for it is to automate
specialized PerlMonks tasks. To see some of these tricks, search for
nodes with Free Nodelet Hack in the title.
When your Free Nodelet content is rendered, it is scanned for
certain magical strings, and any found are replaced with
information from the current node context.
(You can think of these as variables, or macros.)
They all have the form `name`.
The following table shows what information is substituted into your
Free Nodelet content for each special string:
|`type_id`||the node type's node ID|
|`type_title`||the node type's title|
|`author_id`||the author's homenode ID|
|`author_title`||the author's username|
|`createtime`||the time at which the node was created|
|`nodeupdated`||the time at which the node was last updated in the database (may be null)|
|`lastedit`||the time at which the node was last edited by a user (may be null. will always be null for non-document node types)|
|`lastupdate`||for user homenodes, the time at which the node was last "significantly" changed|
|`lasthere`||for user homenodes, the time at which the user was last actively logged in|
|`group`||for "group" node types (e.g. user groups, faq lists), a list of linkified node IDs for all the members of the group|
|The following are only meaningful in sections in which users can post root nodes and replies, i.e. Meditations, Seekers of Perl Wisdom, etc.:|
|`parent_id`||the parent's node ID|
|`parent_title`||the parent's title|
|`root_id`||the thread root's node ID|
|`root_title`||the thread root's title|
|`root_type_title`||the name of the nodetype of thread's root node - e.g. 'perlmeditation'|
|`root_type_id`||the node ID of the nodetype of thread's root node|
|`root_ss_type`||the Super Search abbreviation of the nodetype of thread's root node|
|The following are not set by the current node context, but by the current user context (i.e. you):|
|`user_id`||your user ID (that is, your homenode's node ID)|
|`url`||the URL of the current page, including all the CGI parameters (both GET and POST). The URL is relative, i.e. it begins with index.pl/?. It DWIMs if you put it in <a href="`url`">.|
More details can be found in Free Nodelet gets templating features.
Additional threads related to the introduction of Free Nodelet Templating:
- Free Nodelet freed
- Free nodelet templates make scratchpads _freer
Back to the PerlMonks FAQ.