Constants¶
Note
Not all constants described here can be edited with the Constant Editors. Just define those in the “Constants” field of your TypoScript templates.
PAGE_TARGET¶
Property
PAGE_TARGET
Data type
string
Description
Target for internal links: Should match the name of the content PAGE- object in TypoScript when used with frames. Most cases: set to “” (empty). If you have frames in the template set to “page”.
content¶
defaultHeaderType¶
Property
defaultHeaderType
Data type
int
Description
The number of the header layout to be used by default
Default
1
pageFrameObj¶
Property
pageFrameObj
Data type
string
Description
The name of the “contentframe”. Normally set to “page” if the site has a frameset. Otherwise it should be an empty value. This is important, as it determines the target of internal links!
shortcut.tables¶
Property
shortcut.tables
Data type
string
Description
List of tables with an old-style name
Default
tt_content,tt_address,tt_links,tt_guest,tt_board,tt_calender,tt_products,tt_news,tt_rating,tt_poll
spaceBefore¶
Property
spaceBefore
Data type
int
Description
Space before each content element (pixels)
Default
0
spaceAfter¶
Property
spaceAfter
Data type
int
Description
Space after each content element (pixels)
Default
0
styles.content¶
getNews.newsPid¶
Property
getNews.newsPid
Data type
int
Description
If your template has a column with “news”-content fetched from another page-id, this is where you enter the id-number of that page!
Default
0
styles.content.links¶
extTarget¶
Property
extTarget
Data type
string
Description
Target for external links
Default
_blank
target¶
Property
target
Data type
string
Description
Default target for links
Default
{$PAGE_TARGET}
allowTags¶
Property
allowTags
Data type
string
Description
Tags allowed in RTE content.
Default
b,i,u,a,img,br,div,center,pre,font,hr,sub,sup,p,strong,em,li,ul,ol,blo ckquote,strike,del,ins,span,h1,h2,h3,h4,h5,h6,address
styles.content.imgtext¶
maxW¶
Property
maxW
Data type
int
Description
This indicates that maximum number of pixels (width) a block of images inserted as content is allowed to consume.
Default
600
maxWInText¶
Property
maxWInText
Data type
int
Description
Same as above, but this is the maximum width when text is wrapped around an imageblock. Default is 50% of the normal Max Image Width.
imageTextSplit¶
Property
imageTextSplit
Data type
bool
Description
If this is set, then the image text (caption, alt, title, longdesc) will be split by each line and they will appear on the corresponding images in the image list.
Default
1
emptyTitleHandling¶
Property
emptyTitleHandling
Data type
string
Description
How the ‘title’ attribute will be handled if no title is given for an image. Possible choices: “keepEmpty”, “useAlt” or “removeAttr”. Recommended for accessibility is “removeAttr”. For correct tooltips on IE, use “keepEmpty”. For use of alt=”” text as title use “useAlt”.
Default
removeAttr
titleInLink¶
Property
titleInLink
Data type
bool
Description
Do you want the ‘title’ attribute to be added to the surrounding <a> tag, if present? Recommended for accessibility is “true”.
Default
1
titleInLinkAndImg¶
Property
titleInLinkAndImg
Data type
bool
Description
If you have the title in the <a>-tag (titleInLink=1), you don’t get the ‘title’ in the <img>-tag. IE6 will not show the tooltip anymore. So to get the ‘title’ in <img> too (to keep IE happy), set this too. Recommended for accessibility is “false”. For correct tooltips on IE6, set this to “true”.
Default
0
colSpace¶
Property
colSpace
Data type
int
Description
Horizontal distance between images in content elements of type “Images” or “Text & Images”. If you change this manually in your CSS, you need to adjust this setting accordingly.
Default
10
rowSpace¶
Property
rowSpace
Data type
int
Description
Vertical distance after image rows in content elements of type “Images” or “Text & Images”. If you change this manually in your CSS, you need to adjust this setting accordingly.
Default
5
textMargin¶
Property
textMargin
Data type
int
Description
Horizontal distance between images and text in content elements of type “Text & Images”.
Default
10
borderColor¶
Property
borderColor
Data type
string
Description
Border color of images in content elements when “Border”-option for
element is set. Has to be either a defined color (like black, lime,
maroon) or a hexadecimal color code (like #FF00FF
)
Default
black
borderThick¶
Property
borderThick
Data type
int
Description
Thickness (in pixels) of border around images in content elements when “Border”-option for element is set.
Default
2
borderSpace¶
Property
borderSpace
Data type
int
Description
Padding (in pixels) left and right to the image, around the border.
Default
0
borderSelector¶
Property
borderSelector
Data type
string
Description
The selector where the image border is applied to. If you want your border to apply elsewhere, change this setting. E.g. to apply to the whole image+caption, use ‘DIV.csc-textpic-border DIV.csc-textpic- imagewrap .csc-textpic-image’.
Default
DIV.{$styles.content.imgtext.borderClass} DIV.csc-textpic-imagewrap .csc-textpic-image IMG, DIV.{$styles.content.imgtext.borderClass} DIV .csc-textpic-single-image IMG
borderClass¶
Property
borderClass
Data type
string
Description
The name of the CSS class inserted and used for creating image borders
Default
csc-textpic-border
separateRows¶
Property
separateRows
Data type
bool
Description
Whether images should be rendered/wrapped in separated rows, e.g. inside a DIV.csc-textpic-imagerow element
Default
1
styles.content.imgtext.linkWrap¶
width¶
Property
width
Data type
int+
Description
This specifies the width of the enlarged image when click-enlarge is enabled.
Default
800m
height¶
Property
height
Data type
int+
Description
This specifies the height of the enlarged image when click-enlarge is enabled.
Default
600m
effects¶
Property
effects
Data type
string
Description
Effects applied to the enlarged image.
newWindow¶
Property
newWindow
Data type
bool
Description
If set, every click-enlarged image will open in it’s own popup window and not the current popup window (which may have a wrong size for the image to fit in)
Default
0
lightboxEnabled¶
Property
lightboxEnabled
Data type
string
Description
If set, images will be rendered with a link to their big version and a specified css class and rel attribute to easily allow the use of lightboxes
Default
0
lightboxCssClass¶
Property
lightboxCssClass
Data type
string
Description
Which CSS class to use for lightbox links (only applicable if lightbox rendering is enabled)
Default
lightbox
LightboxRelAttribute¶
Property
LightboxRelAttribute
Data type
string
Description
Which rel=”” attribute to use for lightbox links (only applicable if lightbox rendering is enabled)
Default
lightbox[{field:uid}]
styles.content.uploads¶
jumpurl_secure¶
Property
jumpurl_secure
Data type
bool
Description
Set to 1 to secure “jump URLs”.
jumpurl_secure_mimeTypes¶
Property
jumpurl_secure_mimeTypes
Data type
string
Description
Comma-separated list of mime types for which “jump URLs” should be secured.
Default
pdf=application/pdf, doc=application/msword
jumpurl¶
Property
jumpurl
Data type
bool
Description
Set to 1 to active “jump URLs”.
filesizeByteLabels¶
Property
filesizeByteLabels
Data type
string
Description
The labels for bytes, kilobytes, megabytes and gigabytes
Default
” | K| M| G”
styles.content.mailform¶
target¶
Property
target
Data type
string
Description
The mailform target
Default
{$PAGE_TARGET}
styles.content.searchform¶
styles.content.searchresult¶
resultTarget¶
Property
resultTarget
Data type
string
Description
Search result links target.
Default
{$PAGE_TARGET}
target¶
Property
target
Data type
string
Description
Target for the search results pagination links.
Default
{$PAGE_TARGET}
styles.content.media¶
videoPlayer¶
Property
videoPlayer
Data type
string
Description
configure the path to the video player
Default
EXT:mediace/Resources/Contrib/flashmedia/flvplayer.swf
defaultVideoWidth¶
Property
defaultVideoWidth
Data type
int
Description
define the default width for the media video (in pixels)
Default
600
defaultVideoHeight¶
Property
defaultVideoHeight
Data type
int
Description
define the default height for the media video (in pixels)
Default
400
audioPlayer¶
Property
audioPlayer
Data type
string
Description
configure the path to the audio player
Default
EXT:mediace/Resources/Contrib/flashmedia/player.swf
defaultAudioWidth¶
Property
defaultAudioWidth
Data type
int
Description
define the default width for the media audio (in pixels)
Default
300
defaultAudioHeight¶
Property
defaultAudioHeight
Data type
int
Description
define the default height for the media audio (in pixels)
Default
30