# Template specific
file {
    # cat=basic/file; type=file[IMAGE_EXT]; label=Top image, left:  Image in the top of the content column. Page title may be printed on this image.
  left_bar = EXT:statictemplates/media/uploads/candidate/bar_left.gif
    # cat=basic/file; type=file[IMAGE_EXT]; label=Top image, right:  Image in the top of the right column.
  right_bar = EXT:statictemplates/media/uploads/candidate/bar_right.gif
    # cat=basic/typo; type=file[ttf]; label=Top image, Font file: TrueType (ttf) font for printing the page title on the top image (left).
  left_bar_fontFile = 
    # cat=basic/file; type=file[IMAGE_EXT]; label=Background image: Background image of the page.
  background = 
    # cat=basic/file; type=file[IMAGE_EXT]; label=Right column bar: If you enter an image here, it will substitute the 'titlefield' below the right column top image
  right_subbar = 
}

  # cat=basic/dims; type=offset; 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 width: This value defines the width in pixels of the table cell where the content is displayed
page.width = 400
  # cat=basic/dims; type=offset; label=Content offset: This value defines the margin in pixels from the left and top of main content table cell
page.contentOffset = 0,0

pagetitle {
    #cat=page/h; type=boolean; label=Page Title, enable: If you set this option, the page title (overruled by the subtitle if present) will be printed right after the menu
  enable = 0
    #cat=page/h; type=wrap; label=Page Title, wrap: Wrapping for the page title after menu
  wrap = <font face="arial,helvetica" size="4" color="#000099"><b>|</b></font><br />
    #cat=page/h; type=int+; label=Page Title, Space before:
  spaceBefore = 7
    #cat=page/h; type=int+; label=Page Title, Space after:
  spaceAfter = 20
}


leftBar {
    #cat=basic/typo; type=boolean; label=Enable title on Left Image: If you set this option, the page title (overruled by the subtitle if present) will be printed on the Left Image
  enable = 1
    #cat=basic/typo; type=int+; label=Top image, font size: 
  fontSize = 34
    #cat=basic/typo; type=color; label=Top image, font color: 
  fontColor = white
    #cat=basic/typo; type=offset; label=Top image, font offset:
  offset = 0,33
    # cat=basic/typo; type=options[left,right,center]; label=Top image, font alignment: 
  align = center
}

  # cat=page/d; type=string; label=Right column title: This is the text string shown in the field right below the top image in the right column
page.titleValue = Link to Typo3.com
  # cat=page/d; type=wrap; label=Right column title, wrap: This is the wrap around the right column title
page.titleWrap = <a href="http://www.typo3.com" target="_top"><font size="1" face="verdana,arial" color="white"><b> | </b></font></a>

  #cat=page/color; type=color; label=Background color, content frame: 
page.contentBgColor = 

  #cat=page/enable; type=boolean; label=Expand Left Image: If you set this option, the left image will expand all over the two columns and the right image will not appear
page.leftImageExpand = 0

  #cat=page/e; type=color; label=Gap, line color: 
gap.linecolor = #000033
gap.width {
    #cat=page/e; type=int+; label=Gap, line width: 
  line = 1
    #cat=page/e; type=int+; label=Gap, right space: 
  right = 18
    #cat=page/e; type=int+; label=Gap, left space: 
  left = 18
}


menu {
    #cat=menu/enable; type=boolean; label=Enable the menu: If you set this option, the menu will appear
  enable = 1
    #cat=menu/color; type=color; label=Background color:
  bgcolor = #000099
    #cat=menu/dims; type=int+; label=Gap between elements: The gap between the menu elements.
  gapwidth=9
    #cat=menu/dims; type=int+; label=Height of each item: The height in pixels of each menu item. This includes the header field in the right column so it follows the menu height!
  itemHeight=1
    #cat=menu/dims; type=int+; label=Space before menu:
  spaceBefore = 7
    #cat=menu/dims; type=int+; label=Space after menu:
  spaceAfter = 20
    #cat=menu/typo; type=wrap; label=Menu item wrap:
  wrap = <font size="1" face="verdana,arial" color="white"><b> | </b></font>
}


rightCol {
    #cat=right; type=boolean; label=Enable Right Column: Check this option to enable the right column
  enable = 1
    #cat=right/color; type=color; label=Right column bgColor: This is the background color of content in the right column.
  bgColor = 
    #cat=right/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 right column! The figure should approx. match the width of the image in the top of this column!
  maxImageWidth = 200
    #cat=right/typo; type=small; label=Bodytext font face
  textStyle_face = Verdana
    #cat=right/typo; type=int[1-5]; label=Bodytext font size
  textStyle_size = 1
    #cat=right/typo; type=color; label=Bodytext font color
  textStyle_color = black
    #cat=right/typo; type=int[1-5]; label=Default Header type: Enter the number of the header layout to be used by default. 
  defaultHeaderType = 2
    # cat=right; type=comment; label= Left instead of right?: Click this option, if you want the right column to appear to the left instead.
  leftComment = #
    # cat=right; type=int+; label=Content width: This value defines the width in pixels of the table cell where the content is displayed
  width = 200
}

# General:

content.wrap.header1 = <div align="center"><font face="verdana" size="4" color="#000099"><b> | </b></font></div>
content.wrap.header2 = <font face="verdana" size="4" color="#000099"><b> | </b></font>
content.wrap.header3 = <div align="center"><font face="verdana" size="5" color="#000099"><b> | </b></font></div>
styles.content.imgtext {
  borderColor = #000099
  borderThick = 4
}
content.bulletImages.default = <img src="EXT:statictemplates/media/uploads/candidate/dot_round.gif" alt="" />
styles.content.links.wrap = <b> | </b>


# THIS IS NORMALLY SET IN STANDARD TEMLATES:

# Image widths (remember contentwidth!)
styles.content.imgtext.maxW = 400


# Targets
PAGE_TARGET =
content.pageFrameObj = 

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










## TSConstantsEditor Config
TSConstantEditor.basic {
  header = Standard Template "CANDIDATE"
  description = CANDIDATE is a single-page template with two content columns and a text-based level 1 menu below the top image in the main column.
  bulletlist = Right column: You can disable this column or choose to display it on the left instead. // Right column bar: Text or image. The height is depending on the menu height in the main column. (6) // Top image: The page title (or subtitle if present) is printed on this image. You can disable that. Also you can choose to let the top image expand over both the right column and the main column. In addition the image may vary from section to section on the site as the first image attached to a page on the first menulevel will be used instead. (4,7)// Gap between columns: You can disable it, control the widths and color used. // Right column top image: You can define an image to be shown in the top of the right column. (5) // Text menu: You can disable it and choose to display the page title below it. 
  image = gfx/CANDIDATE_basic.gif
  1=page.offset
  2=page.contentOffset
  3=page.width,styles.content.imgtext.maxW
  4=file.left_bar
  5=file.right_bar
  6=file.right_subbar
  7=file.left_bar_fontFile,leftBar.enable,leftBar.fontSize,leftBar.fontColor,leftBar.offset,leftBar.align
  8=file.background,bgCol
}
TSConstantEditor.page {
  header = Standard Template "CANDIDATE"
  image = gfx/CANDIDATE_page.gif
  1=page.leftImageExpand
  2=page.contentBgColor
  3=page.titleValue,page.titleWrap
  4=pagetitle.enable,pagetitle.wrap,pagetitle.spaceBefore,pagetitle.spaceAfter
  5=gap.linecolor,gap.width.line,gap.width.right,gap.width.left
}
TSConstantEditor.menu {
  header = Standard Template "CANDIDATE"
  description = Text based, horizontal menu
  bulletlist = 
  image = gfx/CANDIDATE_menu.gif
  1=menu.gapwidth
  2=menu.itemHeight
  3=menu.spaceBefore
  4=menu.spaceAfter
}
