Reference > Layout Tags > tag parentLayout.php

List of basic <% .. %> tags applicable in layout follows. In layout class, there is a method defined to generate content for every tag except special ones (which are pre-generated by system core and passed to layout class).

The naming convention for those methods is as follows:

Appearance of <% anyTag %> in template will lead to search for a createAnyTag method in layout class, and to the replace of <% anyTag %> with createAnyTag method return value. This method should be defined in following sense:

protected function createAnyTag($params, $subParams = false) {
  // method code
return $s; // string
}
If applicable, inserts a form for comments adding commentsAdd
Renders certain article's comments commentsList
Renders a language switch langSwitch
Renders arbitrary content based on current URL mainContent
Renders default main menu presentation menu1
Renders default side menu presentation menu2
Renders context-based side menu menu2Context
Inserts breadcrumb navigation navigate
Inserts breadcrumb navigation with tags stripped off navigateTxt
Inserts URL pointing to certain node's detail nodeLink
Renders specified node's content nodeView
Renders certain node's content with respect to hierarchy nodeViewH
Inserts a default tag cloud navigation for current section tagCloud
Inserts default title for current section title
Translates given expression to active language translate
Inserts Google Analytics code gaReference
Inserts a base for jQuery+FaceBox and an async renderer provider jQueryBase
Inserts a floatbox includes & support floatboxBase
Inserts URL pointing to certain article's detail articleLink
Inserts certain article's title articleLinkTtl
Inserts certain node's title nodeLinkTtl
Renders articles bound to certain article bindsList