Themedef.inc settings

From Achievo/ATK Wiki

Revision as of 19:36, 21 December 2007 by Hapstance (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

If working with themes it is a good idea to set $config_force_theme_recompile = true; so that the theme changes get populated.

$theme["basetheme"] = "outlook";
$theme['compatible_menus'] = array("[value]");
Possible values : any menu name. cook, modern, outlook, plain, etc.
$theme['dialog_theme_name'] = '[value]';
called in class.atkdialog.inc?
Default value : alphacube
$theme['dialog_theme_load'] = [value];
called in class.atkdialog.inc?
Default value : true
$theme['dispatcher']='index.php';
called in class.atkcontroller.inc? needed if $theme['useframes']=false ?
Default value : atkSelf() (but probably not setable to that as internal code)
$theme["doctype"] = '[value]';
Probably anything valid by ?w3c? called in class.atkpage.inc?
Possible values : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"'."\n".'"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
$theme['frame_menu_width']=210;
$theme['frame_top_height']=95;
Possible values : 95, 149, etc.
$theme["highlight"] = "";
Possible values : "", "#D6DFF7", "#c5d7ff", "#ccffcc", other colors etc.
$theme['menufile']='index.php';
needed if $theme['useframes']=false ?
$theme['menu_params']="class='menulink'";
needed if $theme['useframes']=false ?
$theme['modern_menu_compat']=true;
$theme['recordlist_icons']=true;
$theme["recordlist_orientation"]='right';
Possible values : right, left, ?
$theme["recordlist_vorientation"]='top';
$theme["select"] = "";
Possible values : "", "#D6DFF7", "#96a7ff", other colors etc.
$theme["tabtype"] = "dhtml";
apparently only dhtml is a possible value? called in class.atkui.inc?
Possible values : dhtml;
Default value : none?;
$theme['useframes']=false;
if set to false then dispatcher, menufile, and menu_params have to be set? defaults to true?

Outlook style menu

$theme["ol_menucolor"]="#ffffff";
$theme["ol_wincolor"]="#eeeee0";
$theme["ol_background"]="#677EB1";
Personal tools
Navigation