Skip to content
skoh-fley edited this page Mar 13, 2011 · 2 revisions

Hook list

All non-admin pages

$rack['kure']['head'] // In the <head> tags
$rack['kure']['top'] // Before the main table begins
$rack['kure']['title_before']
$rack['kure']['title_after']
$rack['kure']['navtitle_before'] // Before the word "navigation"
$rack['kure']['navtitle_after']
$rack['kure']['navposts_after'] // After the posts link
$rack['kure']['navdocs_after']
$rack['kure']['navadmin_after']
$rack['kure']['page_top'] // The top of the main column
$rack['kure']['page_bottom']
$rack['kure']['bottom'] // After the main table ends

Homepage

$rack['posts']['top'] // The top of the content area
$rack['posts']['bottom']

The following group of hooks is dynamic.

$rack['posts']['post-top'] // The top of every post displayed
$rack['posts']['post-title_after'] // After the title of every post displayed
$rack['posts']['post-date_after'] // After the date of every post displayed
$rack['posts']['post-body_after'] // After the body of every post displayed

Viewing an individual post

$rack['post']['top'] // The top of the content area
$rack['post']['title_after']
$rack['post']['date_after']
$rack['post']['body_after']

Viewing doc listing

$rack['docs']['top'] // The top of the content area
$rack['docs']['bottom']

The following group of hooks is dynamic.

$rack['docs']['doc-title_after'] // After the title of every doc displayed
$rack['docs']['doc-date_after'] // After the date of every doc displayed

Viewing an individual doc

$rack['doc']['top'] // The top of the content area
$rack['doc']['title_after']
$rack['doc']['date_after']
$rack['doc']['body_after']

All admin pages

$rack['adm']['head'] // In the <head> tags
$rack['adm']['top'] // Only if logged in

Creating a post (administration)

$rack['admcreate']['top'] // The top of the content area
$rack['admcreate']['title_after']
$rack['admcreate']['content_after']
$rack['admcreate']['type_after']
$rack['admcreate']['button_after'] // After the submit button

Modifying a post (administration)

$rack['admmodify']['top'] // The top of the content area
$rack['admmodify']['title_after']
$rack['admmodify']['content_after']
$rack['admmodify']['type_after']
$rack['admmodify']['button_after'] // After the submit button

Plugins page (administration)

$rack['admplugins']['listing'] // The plugins page accessible from the administration interface
$rack['admplugins']['page'] // An administration page with a blank content area