// Search-Box Settings
plugin.tx_macinasearchbox_pi1 {
pidSearchpage = {$searchPagePID}
templateFile = {$searchboxTmplFile}
}
// Language-specific settings first foreign language:
[globalVar = GP:L = {$firstForeignLanguage}]
plugin.tx_macinasearchbox_pi1.templateFile = {$searchboxTmplFileFirstLang}
[global]
// Language-specific settings second foreign language:
[globalVar = GP:L = {$secondForeignLanguage}]
plugin.tx_macinasearchbox_pi1.templateFile = {$searchboxTmplFileSecondLang}
[global]
// Header Settings
lib.header = COA
lib.header {
stdWrap.prefixComment = 2|Output of lib.header
10 < plugin.tx_macinasearchbox_pi1
20 = COA
20 {
stdWrap.prefixComment = 2|Output of lib.header.20
wrap = <div id="topnav">|</div>
10 = TEXT
10.value = {$headerSkiplinkHtmlCodeStandardLang}
20 = HMENU
20 {
special = list
special.value = {$headerNavigationIncludeList}
1 = TMENU
1 {
noBlur = 1
wrap = |
NO = 1
NO.ATagTitle.field = abstract // description // subtitle
NO.linkWrap = | | |*| | | |*| |
NO.allWrap = |
NO.stdWrap.htmlSpecialChars = 1
CUR < .NO
CUR = 1
CUR.allWrap = <strong>|</strong>
CUR.doNotLinkIt = 1
CUR.stdWrap.htmlSpecialChars = 1
}
}
}
// Second image in header (can be a banner, SECOND image saved in page-properties is taken)
40 = COA
40 {
stdWrap.prefixComment = 2|Output of lib.header.40
stdWrap.outerWrap.cObject = COA
stdWrap.outerWrap.cObject {
wrap = <div id="banner">|</div>
10 = TEXT
10.value = <img class="headImg2" src="|"
20 = TEXT
20.value = alt="
30 = TEXT
30.data = page:title
40 = TEXT
40.value = "
50 = TEXT
50.value = title="
60 = TEXT
60.data = page:title
70 = TEXT
70.value = " />
}
10 = IMG_RESOURCE
10 {
file = GIFBUILDER
file {
format = png
XY = {$headerBannerWidth},{$headerBannerHeight}
10 = IMAGE
10 {
file {
width = {$headerBannerWidth}
height = {$headerBannerHeight}
import {
required = 1
data = levelmedia: -1, "slide"
wrap = uploads/media/ |
listNum = 1
}
}
}
}
}
}
}
// First image in header, FIRST image saved in page-properties is taken
// Variant No. 1: User has chosen NOT to link it with homepage
lib.header.30 = COA
lib.header.30 {
stdWrap.prefixComment = 2|Output of lib.header.30
stdWrap.outerWrap.cObject = COA
stdWrap.outerWrap.cObject {
10 = TEXT
10.value = <img class="headImg1" src="|"
20 = TEXT
20.value = alt="
30 = TEXT
30.data = page:title
40 = TEXT
40.value = "
50 = TEXT
50.value = title="
60 = TEXT
60.data = page:title
70 = TEXT
70.value = " />
}
}
// Variant No. 2: User has chosen to link it with homepage
[globalVar = LIT:1 = {$linkFirstImageToggle}]
lib.header.30 = COA
lib.header.30 {
stdWrap.prefixComment = 2|Output of lib.header.30
stdWrap.outerWrap.cObject = COA
stdWrap.outerWrap.cObject {
10 = TEXT
10.value = <img class="headImg1" src="|" alt="" title="Home" />
10.typolink.parameter = {$homePageUID}
10.typolink.target =
20 >
30 >
40 >
50 >
60 >
70 >
}
}
[global]
// Both variants: Serach for nearest image in pagetree
lib.header.30.10 = IMG_RESOURCE
lib.header.30.10 {
file = GIFBUILDER
file {
format = png
XY = {$headerImageWidth},{$headerImageHeight}
10 = IMAGE
10 {
file {
width = {$headerImageWidth}
height = {$headerImageHeight}
import {
required = 1
data = levelmedia: -1, "slide"
wrap = uploads/media/ |
listNum = 0
}
}
}
}
}
// Delete COA-Members if user has set the appropriate option
[globalVar = LIT:1 = {$searchBoxOff}]
lib.header.10 >
[global]
[globalVar = LIT:1 = {$topNavOff}]
lib.header.20 >
[global]
[globalVar = LIT:1 = {$firstHeaderImgageOff}]
lib.header.30 >
[global]
[globalVar = LIT:1 = {$secondHeaderImgageOff}]
lib.header.40 >
[global]
// Language-specific settings first foreign language:
[globalVar = GP:L = {$firstForeignLanguage}]
lib.header.20.10.value = {$headerSkiplinkHtmlCodeFirstLang}
[global]
// Language-specific settings second foreign language:
[globalVar = GP:L = {$secondForeignLanguage}]
lib.header.20.10.value = {$headerSkiplinkHtmlCodeSecondLang}
[global]