-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathext_conf_template.txt
38 lines (26 loc) · 2.16 KB
/
ext_conf_template.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# customsubcategory=banner=LLL:EXT:cwenvbanner/locallang.xml:Banner
# customsubcategory=fe=LLL:EXT:cwenvbanner/locallang.xml:Frontend
# customsubcategory=be=LLL:EXT:cwenvbanner/locallang.xml:Backend
# cat=basic/banner/1; type=boolean; label=Show environment label:Shows the environment label in the banner
showEnvironment = 1
# cat=basic/banner/2; type=input; label=Label of the environment:The environment label (e.g. DEV, PRODUCTION)
envName = DEV
# cat=basic/banner/3; type=input; label=Take env label from server variable:Take the envName from the given SERVER variable (e.g. ENV -> $_SERVER['ENV']), overrides envName!
takeEnvNameFromServerVariable =
# cat=basic/banner/4; type=input; label=Banner template:Simple templating for the banner text (Available markers: sitename, env)
bannerTemplate = ###sitename### - ###env###
# cat=basic/banner/5; type=options[Green=green,Yellow=yellow,Red=red,Use Custom CSS=custom]; label=Banner Style:Select a pre-defined banner style
bannerStyle = custom
# cat=basic/banner/6; type=input; label=Custom Banner CSS:The CSS used for both FE & BE banners, if "Use Custom CSS" is selected for "Banner Style"
bannerInlineCss = z-index: 10000; position: fixed; top: 0px; left: 0px; border: 5px #FF0000 solid; background: #FF0000; colour: #FFFFFF;
## windowTitleTemplate = ###env### - ###title###
# cat=basic/fe/2; type=boolean; label=FE Banner if BE User is logged in:Show Banner in Frontend if Backend User is logged in
showFEBannerIfBEUserIsLoggedIn = 1
# cat=basic/fe/3; type=input; label=FE Banner for certain BE User IDs:If showFEBannerIfBEUserIsLoggedIn = 1, Banner will only be shown for the listed user IDs (separated with comma)
showFEBannerForBEUserIdsOnly =
# cat=basic/fe/4; type=boolean; label= Always show FE banner: Always show Frontend banner (will override showIfBEUserIsLoggedIn and ignore showFEBannerForBEUserIdsOnly)
showFEBannerAlways = 0
# cat=basic/be/1; type=boolean; label= Show banner in BE:Shows the banner in the Backend
showBEBanner = 1
# cat=basic/be/2; type=input; label=BE Banner for certain BE User IDs:If showBEBanner = 1, Banner will only be shown for the listed user IDs (separated with comma)
showBEBannerForBEUserIdsOnly =