page.file {
    # cat=basic/file; type=file[IMAGE_EXT]; label=Background image:  Background image of the page.
  bgImg = EXT:statictemplates/media/uploads/back1.png
    # cat=basic/file; type=file[IMAGE_EXT]; label=Logo Image:  Logo image in the top of the page.
  logoImg = EXT:statictemplates/media/uploads/testlogo.png
    # cat=basic/file; type=file[IMAGE_EXT]; label=Top image:  Image on top of the normal and right column. This image is the default image. The first media file found in the rootline will substitute this!
  topImg = EXT:statictemplates/media/uploads/topimage.png
    # cat=basic/file; type=file[IMAGE_EXT]; label=Margin Logo Image:  Logo image in the top of the margin column.
  marginLogoImg = EXT:statictemplates/media/uploads/testlogo2.png

    # cat=basic/file; type=file[IMAGE_EXT]; label=Menu column background image:  Background image of the menu column.
  menuBgImg = EXT:statictemplates/media/uploads/back2.png
    # cat=basic/file; type=file[IMAGE_EXT]; label=Normal column background image:  Background image of the normal column.
  normalBgImg = EXT:statictemplates/media/uploads/back3.png
    # cat=basic/file; type=file[IMAGE_EXT]; label=Right column background image:  Background image of the right column.
  rightBgImg = EXT:statictemplates/media/uploads/back4.png
    # cat=basic/file; type=file[IMAGE_EXT]; label=Whole table background image:  Background image of the whole main content table.
  wholeTableBgImg = EXT:statictemplates/media/uploads/back5.png
}
page.bgColors {
    #cat=basic/color; type=color; label=Menu column bgColor: This is the background color of the table cell where the menu and logo is displayed.
  menuBgColor = 
    #cat=basic/color; type=color; label=Content column bgColor: This is the background color of the table cell where the content is displayed. You would normally regard this as being the "page color".
  normalBgColor = 
    #cat=basic/color; type=color; label=Right column bgColor: This is the background color of the table cell where the right column content is displayed.
  rightBgColor = 
    #cat=basic/color; type=color; label=Whole table column bgColor: This is the background color of the whole table.
  wholeTableBgColor = 
}


// This excludes the constant "styles.content.imgtext.maxW" from being displayed in the constant editor. The reason why this is desirable is that the REGISTER is used to override this value in this template.
  # cat=
styles.content.imgtext.maxW =

pageCol {
    # cat=content,basic/cImage/a_maxw1; type=int+; label=Max Image Width: This indicates that maximum number of pixels (width) a block of images inserted as content is allowed to consume.
  maxImageWidth = 343
    # cat=basic/dims; type=int+; label=Content width: This value defines the width in pixels of the table cell where the content is displayed
  page.width = 343
    # cat=basic/dims; type=int+; label=Page table height: This is the minimum page height.
  page.height = 400
    # cat=basic/dims; type=offset[Left, Top, Right,,Width]; label=Content offset: This value defines the margin in pixels from the left and top of the main content table cell
  page.contentOffset = 10,8,10
}

  # cat=basic/dims; type=offset[Left, Top, Right, Bottom]; label=Page offset: This value defines the margin in pixels from the left and top of the browser window
page.offset = ,20
  # cat=basic; type=options[left,right,center]; label=Alignment of the page: Alignment of the page-table
page.align = center

  #cat=basic/dims; type=int+; label=Content margin, left: Set the number of pixels whitespace between the content column and the menu column.
page.contentMarginLeft = 10
  #cat=basic/dims; type=int+; label=Content margin, right: Set the number of pixels whitespace between the content column and the right column.
page.contentMarginRight = 10
  #cat=basic/dims; type=int+; label=Distance Top image to Content: Sets the distance in pixels between the top image and the content columns, normal and right.
page.topImgToContentDist = 10



rightCol {
    #cat=right,basic/enable; type=boolean; label=Enable right column: Click this option to enable the right column in the page table. This column can be used for "news" from a certain page, but inserted on all pages. You can also configure the column to hold "secondary" content specific for each page. Then content of the column-type "Border" is inserted. NOTE: This option is also found in the dedicated category "RIGHT" that configures the characteristics of this column.
  enable = 1
    #cat=right/enable; type=options[getNews,getBorder]; label=Column content: Choose "getNews" to select content from a specific page (defined below here) or "getBorder" to display the "Border"-content of the current page.
  borderContent = getBorder
    # cat=right/enable/zz; type=int+; label=News Content PID: If you selected "getNews" above, this is where you enter the page-id of the page from which to fetch the "news" content for the column.
  getNewsPid = 
    #cat=right/dims; type=int+; label=Max Image Width: This defines that maximum number of pixels (width) a block of images inserted as content is allowed to consume. NOTE: This is specific for the right column! The figure should approx. match the width of the image in the top of this column!
  maxImageWidth = 140
    #cat=right/dims; type=offset[Left, Top, Right,,Width]; label=Content offset: This is the offset of the content from the upper-left corner of the table cell.
  offset = 5,8,5
    #cat=right/typo; type=small; label=Bodytext font face
  textStyle_face =
    #cat=right/typo; type=int[1-5]; label=Bodytext font size
  textStyle_size =
    #cat=right/typo; type=color; label=Bodytext font color
  textStyle_color =
    #cat=right/typo; type=int[1-5]; label=Default Header type: Enter the number of the header layout to be used by default. 
  defaultHeaderType =
}


menuCol {
    #cat=menucolumn,basic/enable; type=boolean; label=Enable menu column: Click this option to enable the menu column in the page table. This column can be used for "news" from a certain page, but inserted on all pages. You can also configure the column to hold "secondary" content specific for each page. Then content of the column-type "Left" is inserted. 
  enable = 1
    #cat=menucolumn/enable; type=options[getNews,getLeft]; label=Column content: Choose "getNews" to select content from a specific page (defined below here) or "getLeft" to display the "Left"-content of the current page.
  borderContent = getNews
    #cat=menucolumn/dims; type=int+; label=Max Image Width: This indicates that maximum number of pixels (width) a block of images inserted as content is allowed to consume. NOTE: This is specific for the menu column! The figure should approx. match the width of the image in the top of this column!
  maxImageWidth = 140
    #cat=menucolumn/dims; type=offset[Left, Top, Right,,Width]; label=Content offset: This is the offset of the content from the upper-left corner of the table cell.
  offset = 5,8,5
    #cat=menucolumn/typo; type=small; label=Bodytext font face
  textStyle_face =
    #cat=menucolumn/typo; type=int[1-5]; label=Bodytext font size
  textStyle_size =
    #cat=menucolumn/typo; type=color; label=Bodytext font color
  textStyle_color =
    #cat=menucolumn/typo; type=int[1-5]; label=Default Header type: Enter the number of the header layout to be used by default. 
  defaultHeaderType =
}
  # cat=menucolumn/enable/zz; type=int+; label=News Content PID: If you selected "getNews" above, this is where you enter the page-id of the page from which to fetch the "news" content for the column.
styles.content.getNews.newsPid = 0



menu1 {
    # cat=menu/file; type=file[IMAGE_EXT]; label=Left Bullet image
  file.bullet_left = EXT:statictemplates/media/bullets/bullet1_n.gif
    # cat=menu/file; type=file[IMAGE_EXT]; label=Left Bullet image, Rollover
  file.bullet_left_RO = EXT:statictemplates/media/bullets/bullet1_h.gif
    # cat=menu/file; type=file[IMAGE_EXT]; label=Right Bullet image
  file.bullet_right = EXT:statictemplates/media/bullets/bullet2_n.gif
    # cat=menu/file; type=file[IMAGE_EXT]; label=Right Bullet image, Rollover
  file.bullet_right_RO = EXT:statictemplates/media/bullets/bullet2_h.gif

    # cat=menu; type=options[,left,right,center]; label=Alignment of the menu item text
  align =

    #cat=menu/dims; type=int+; label=Separator Line Thickness: Thickness in pixels of the separator line. 0 (zero) disables.
  lineThickness = 2
    #cat=menu/color; type=color; label=Separator Line Color: Color of the separator lines between menu items.
  lineColor = black
    #cat=menu/enable; type=boolean; label=Bottom Separator Line: If set, the separator line will appear in the bottom of the menu as well.
  bottomLine = 1
    #cat=menu/enable; type=boolean; label=Top Separator Line: If set, the separator line will appear in the top of the menu as well.
  topLine = 1
    #cat=menu/color; type=color; label=Item Background Color: Background color of the menu item table rows.
  bgColor = #eeeeff

    #cat=menu/dims; type=offset[Left, Top, Right,,Width]; label=Menu offset: This is the offset of the menu. 
  offset = 5,8,5
    #cat=menu/dims; type=int+; label=Menu item height
  itemHeight = 20

    #cat=menu/typo; type=string; label=Menu item style
  NO.itemStyle =   font-family: verdana,arial,sans-serif;  font-size: 11px;  font-weight: ;  font-style: italic;
    #cat=menu/color; type=color; label=Normal Link Color
  NO.itemLinkColor = olive
    #cat=menu/color; type=color; label=Normal Link Color, Roll over
  NO.itemLinkColorRO = red

    #cat=menu/enable; type=boolean; label=Enable Active: If set, the active configuration is enabled. Active menu items are "the page you're at".
  ACT = 1
    #cat=menu/typo; type=string; label=Active Menu item style
  ACT.itemStyle =   font-family: verdana,arial,sans-serif;  font-size: 11px;  font-weight: bold;  font-style: italic;
    #cat=menu/color; type=color; label=Active Link Color
  ACT.itemLinkColor = navy
    #cat=menu/color; type=color; label=Active Link Color, Roll over
  ACT.itemLinkColorRO = #cc6600
    #cat=menu/color; type=color; label=Active Item Background Color: Background color of the active menu item table rows.
  ACT.bgColor = #ffeeee

    # cat=menu/file; type=file[IMAGE_EXT]; label=Active, Left Bullet image
  ACT.file.bullet_left = EXT:statictemplates/media/bullets/bullet1_h.gif
    # cat=menu/file; type=file[IMAGE_EXT]; label=Active, Right Bullet image
  ACT.file.bullet_right = EXT:statictemplates/media/bullets/bullet2_h.gif

    #cat=menu/enable; type=options[underline,none]; label=Normal Underline: If set, the menu links will be underlined.
  textDecor = none
    #cat=menu/enable; type=options[underline,none]; label=Roll Over Underline: If set, the menu links will be underlined on roll over.
  hoverTextDecor = underline
}



menu2 {
    # cat=menu2/file; type=file[IMAGE_EXT]; label=Left Bullet image
  file.bullet_left = EXT:statictemplates/media/bullets/bullet1_n.gif
    # cat=menu2/file; type=file[IMAGE_EXT]; label=Left Bullet image, Rollover
  file.bullet_left_RO = EXT:statictemplates/media/bullets/bullet1_h.gif
    # cat=menu2/file; type=file[IMAGE_EXT]; label=Right Bullet image
  file.bullet_right = EXT:statictemplates/media/bullets/bullet2_n.gif
    # cat=menu2/file; type=file[IMAGE_EXT]; label=Right Bullet image, Rollover
  file.bullet_right_RO = EXT:statictemplates/media/bullets/bullet2_h.gif

    # cat=menu2; type=options[,left,right,center]; label=Alignment of the menu item text
  align =

    #cat=menu2/dims; type=int+; label=Separator Line Thickness: Thickness in pixels of the separator line. 0 (zero) disables.
  lineThickness = 2
    #cat=menu2/color; type=color; label=Separator Line Color: Color of the separator lines between menu items.
  lineColor = black
    #cat=menu2/enable; type=boolean; label=Bottom Separator Line: If set, the separator line will appear in the bottom of the menu as well.
  bottomLine = 1
    #cat=menu2/enable; type=boolean; label=Top Separator Line: If set, the separator line will appear in the top of the menu as well.
  topLine = 1
    #cat=menu2/color; type=color; label=Item Background Color: Background color of the menu item table rows.
  bgColor = #ee99ff

    #cat=menu2/dims; type=offset[Left, Top, Right,,Width]; label=Menu offset: This is the offset of the menu. 
  offset = 5,8,5
    #cat=menu2/dims; type=int+; label=Menu item height
  itemHeight = 20

    #cat=menu2/typo; type=string; label=Menu item style
  NO.itemStyle =   font-family: verdana,arial,sans-serif;  font-size: 10px;  font-weight: ;  font-style: ;
    #cat=menu2/color; type=color; label=Normal Link Color
  NO.itemLinkColor = maroon
    #cat=menu2/color; type=color; label=Normal Link Color, Roll over
  NO.itemLinkColorRO = black

    #cat=menu2/enable; type=boolean; label=Enable Active: If set, the active configuration is enabled. Active menu items are "the page you're at".
  ACT = 1
    #cat=menu2/typo; type=string; label=Active Menu item style
  ACT.itemStyle =   font-family: verdana,arial,sans-serif;  font-size: 10px;  font-weight: bold;  font-style: ;
    #cat=menu2/color; type=color; label=Active Link Color
  ACT.itemLinkColor = #006600
    #cat=menu2/color; type=color; label=Active Link Color, Roll over
  ACT.itemLinkColorRO = #00cc00
    #cat=menu2/color; type=color; label=Active Item Background Color: Background color of the active menu item table rows.
  ACT.bgColor = #ffeeee

    # cat=menu2/file; type=file[IMAGE_EXT]; label=Active, Left Bullet image
  ACT.file.bullet_left = EXT:statictemplates/media/bullets/bullet1_h.gif
    # cat=menu2/file; type=file[IMAGE_EXT]; label=Active, Right Bullet image
  ACT.file.bullet_right = EXT:statictemplates/media/bullets/bullet2_h.gif

    #cat=menu2/enable; type=options[underline,none]; label=Normal Underline: If set, the menu links will be underlined.
  textDecor = none
    #cat=menu2/enable; type=options[underline,none]; label=Roll Over Underline: If set, the menu links will be underlined on roll over.
  hoverTextDecor = underline
}







styles.content.imgtext.maxW = 400


PAGE_TARGET = 
content.pageFrameObj = 

  # cat=basic/color/a; type=color; label=Background color: This is the <body>-tag background color of the page.
bgCol = #D6D3CE
  # cat=basic/color/l; type=color; label=Link-color: Link color defined in <body>-tag
link = #006699
  # cat=basic/color/l; type=color; label=Active Link-color: Active link color defined in <body>-tag
alink = #00659C
  # cat=basic/color/l; type=color; label=Visited Link-color: Visited link color defined in <body>-tag
vlink = #00659C






## TSConstantsEditor Config
TSConstantEditor.basic {
  header = Standard Template "GLￜCK"
  description = Standard template based on three columns in a table. There are first and second level textbased menus, one menu in each column. You can insert logos and content in each column and add background images to the various table cells. The template is fully programmed in TypoScript.
  bulletlist =  Three columns of content each with separate background images or colors (1+14+2) // Menu column (left) and right column are optional (1+2)// 1+2 level text based menu, 1. level in menu column (left)(1) and 2. level in the right column (2) // Optional logos in the top of columns (11+13) // Optional top image (12) // Detailed adjustment of margins, widths and alignment (4+5+6+9+3+16) // Background image and color of page (10)
  image = gfx/GLCK_basic.gif
  1=rightCol.enable,page.file.menuBgImg,page.bgColors.menuBgColor
  2=menuCol.enable,page.file.rightBgImg,page.bgColors.rightBgColor
  3=page.offset
  4=page.contentMarginLeft
  5=page.contentMarginRight
  6=page.topImgToContentDist
  7=pageCol.page.width,pageCol.maxImageWidth
  8=pageCol.page.height
  9=pageCol.page.contentOffset
  10=page.file.bgImg,bgCol
  11=page.file.logoImg
  12=page.file.topImg
  13=page.file.marginLogoImg
  14=page.file.normalBgImg,page.bgColors.normalBgColor
  15=page.bgColors.wholeTableBgColor,page.file.wholeTableBgImg
  16=page.align
}
TSConstantEditor.menu {
  header = MENU, "GLￜCK"
  description = Text based menu with stylesheet hover color and definition of active state
  image = gfx/GLCK_menu.gif
  1=menu1.bottomLine,menu1.lineColor
  2=menu1.topLine,menu1.lineColor
  3=menu1.ACT,menu1.ACT.itemStyle,menu1.ACT.itemLinkColor,menu1.ACT.itemLinkColorRO,menu1.ACT.bgColor,menu1.align
  4=menu1.textDecor,menu1.NO.itemStyle,menu1.bgColor,menu1.NO.itemLinkColor,menu1.align
  5=menu1.hoverTextDecor,menu1.NO.itemLinkColorRO
  6=menu1.itemHeight
  7=menu1.lineThickness,menu1.lineColor
  8=menu1.offset
  9=menu1.file.bullet_left,menu1.file.bullet_left_RO,menu1.ACT.file.bullet_left
  10=menu1.file.bullet_right,menu1.file.bullet_right_RO,menu1.ACT.file.bullet_right
}
TSConstantEditor.menu2 {
  header = MENU2, "GLￜCK"
  description = Text based menu with stylesheet hover color and definition of active state
  image = gfx/GLCK_menu.gif
  1=menu2.bottomLine,menu2.lineColor
  2=menu2.topLine,menu2.lineColor
  3=menu2.ACT,menu2.ACT.itemStyle,menu2.ACT.itemLinkColor,menu2.ACT.itemLinkColorRO,menu2.ACT.bgColor,menu2.align
  4=menu2.textDecor,menu2.NO.itemStyle,menu2.bgColor,menu2.NO.itemLinkColor,menu2.align
  5=menu2.hoverTextDecor,menu2.NO.itemLinkColorRO
  6=menu2.itemHeight
  7=menu2.lineThickness,menu2.lineColor
  8=menu2.offset
  9=menu2.file.bullet_left,menu2.file.bullet_left_RO,menu2.ACT.file.bullet_left
  10=menu2.file.bullet_right,menu2.file.bullet_right_RO,menu2.ACT.file.bullet_right
}
TSConstantEditor.right {
  header = RIGHT COLUMN, "GLￜCK"
  description = Right column content. 
  bulletlist = Choose between actual page content marked "border" column (getBorder) or define a PID from where to get the content (getNews).
  image = gfx/GLCK_columns.gif
  1=rightCol.maxImageWidth
  2=rightCol.offset
}
TSConstantEditor.menucolumn {
  header = MENU COLUMN, "GLￜCK"
  description = Menu column content
  bulletlist = Choose between actual page content marked "left" column (getLeft) or define a PID from where to get the content (getNews).
  image = gfx/GLCK_columns.gif
  1=menuCol.maxImageWidth
  2=menuCol.offset
}


