This list of template tags (function plugins), while not exhaustive, documents some of the more commonly used template tags for theme. Many of the tags will take additional parameters to modify their default behaviour. See the full documentation on each plugin for full usage instructions.
The first list of tags will be used in creating the header of a page template i.e. the content between <head> and </head>. Each tag is placed with the the pnRender beginning and ending tags. e.g.
<!--[lang]-->lang - Returns the language code for the current language. e.g. ‘en-us’.charset - Returns the character set for the current langauge e.g. ‘ISO-8859-1’.title - Returns the text to display as the title for the current page e.g. ‘My title’.keywords - Returns the text to display as keywords for the current page e.g. ‘a, b, c, d’.slogan - Returns the text set as the site description in the base site settings. This is often used in creating the description meta tag. e.g. ‘Your site description’.additional_header - Returns a number of additional tags for the header as requested by modules and blocks.modulestylesheet - Creates a link to a stylesheet held by a module. The following creates a link to the stylesheet admin.css from the Admin module and displays it in xhtml form. <!--[modulestylesheet stylesheet=admin.css modname=admin xhtml=true]-->The second list of tags are likely to be used in the main body of the page template i.e. the content between <body> and </body>. Each tag is placed with the the pnRender beginning and ending tags. e.g.
<!--[pngetbaseurl]-->pngetbaseurl - The base base URL of your PostNuke site e.g. http://www.example.com/path/to/my/site/.pnmodurl - Creates a link to a module. The following becomes index.php?module=News.<!--[pnmodurl modname=News]-->blockposition - Displays all the blocks in a block position. The following displays all blocks assigned to the ‘left’ block position.<!--[blockposition name=left]-->footmsg - Displays the text assigned as the footer message in the base site settings.datetime - Displays the current time.displaygreeting - Displays a simple welcome message to your sites visitors.online - Displays the number of users currently online.pagerendertime - Displays the time taken to render the current page.pncountnewmessages - Displays the number of new private messages the current user has.search - Displays a site search box.sitename - Displays the site name as defined in the base settings.slogan - Displays the site description as defined in the base settings.themeinfo - Displays a comment tag showing the details of the author of the current theme.typetoolv8 - Displays the javascript required for the typetool visual editor.user - Displays the current user name (or Guest).userlinks - Displays either a login or logout link and a create account or your account link.userlogin - Displays a user login form.userwelcome - Displays a simple welcome message.