Layout templatesLayouts are typically stored in your extension template folder:
inc/template/<extensionKey>/
Examples:
inc/templates/th_myTheme/layout_default.tpl inc/templates/th_myTheme/layout_startpage.tpl inc/templates/th_myTheme/layout_default_without_subnavi.tpl
Good practice is to start the filename with layout_, so that other can detect layout files with the first sight.
In your layouts should be the HTML part between the <body> tags.
Kryn.cms use doctype XHTML 1.0 Transitional as default and build the <head> automatically. To manipulate the <head> part (add CSS or JS files) you can use the Kryn core methods in your extension class or in the template itself via the framework template functions. You have in your templates also access to all global template variables.
The doctype can be changed in version 0.9.
Example layout
|
What is Kryn.cms ?
Administrator
Developer
|
