Jump to content

ATK Theme Templates: Difference between revisions

From NusaATK
Kucerar (talk | contribs)
No edit summary
Kucerar (talk | contribs)
No edit summary
Line 19: Line 19:
;login.tpl:
;login.tpl:
;menu.tpl:the template for the menu
;menu.tpl:the template for the menu
;page.tpl:$atkpage->m_content,  having already been assigned within the render function,  will be wrapped in page.tpl if it exists ''(e.g. $this->m_content= $ui->render('page.tpl',array('content'=>$this->m_content)))''  This is for stuff on the outermost edges of a page,  but still within the body tags.
;page.tpl:$atkpage->m_content,  having already been assigned within the render function,  will be wrapped in page.tpl if it exists ''(e.g. $this->m_content= $ui->render('page.tpl',array('content'=>$this->m_content)))''  This is for stuff on the outermost edges of a page,  but still within the body tags.  This means usually intranet templates,  or overall  site templates within which the application is supposed to fit.
;panetabs.tpl:
;panetabs.tpl:
;recordlist.tpl:
;recordlist.tpl:

Revision as of 21:27, 27 February 2008

Below is a list of default templates and their explanation.

This will be a list of all styles that can be overidden on a page

actionpage.tpl
Render a generic action. Renders actionpage.tpl for the desired action. This includes the given block(s) and a pagetrial, but not a box.
action_$action.tpl
action.tpl
body.tpl
body_pda.tpl
box.tpl
debug.tpl
dialog.tpl
dispatch.tpl
editform.tpl
This template renders the form in edit pages.
extendableshuttle.tpl
field.tpl
integratededitform.tpl
list.tpl
login.tpl
menu.tpl
the template for the menu
page.tpl
$atkpage->m_content, having already been assigned within the render function, will be wrapped in page.tpl if it exists (e.g. $this->m_content= $ui->render('page.tpl',array('content'=>$this->m_content))) This is for stuff on the outermost edges of a page, but still within the body tags. This means usually intranet templates, or overall site templates within which the application is supposed to fit.
panetabs.tpl
recordlist.tpl
searchform.tpl
simplesearch.tpl
smartcriterium.tpl
smartsearchform.tpl
statusbar.tpl
tabbededitform.tpl
tabs.tpl
top.tpl
viewform.tpl