-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from slub/typoscript-cleanup
Fix some TypoScript settings
- Loading branch information
Showing
7 changed files
with
108 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# EditorConfig is awesome: http://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
# CSS-Files | ||
[*.css] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# HTML-Files | ||
[*.html] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# TMPL-Files | ||
[*.tmpl] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# LESS-Files | ||
[*.less] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# JS-Files | ||
[*.js] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# PHP-Files | ||
[*.php] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# MD-Files | ||
[*.md] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# ReST-Files | ||
[*.rst] | ||
indent_style = space | ||
indent_size = 3 | ||
|
||
# TypoScript | ||
[*.typoscript] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# YML-Files | ||
[{*.yml,*.yaml}] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# package.json, composer.json or .travis.yml | ||
[{package.json,composer.json,.travis.yml}] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,32 @@ | ||
config { | ||
doctype = html5 | ||
disableAllHeaderCode = 1 | ||
|
||
removeDefaultCss = 1 | ||
removePageCss = 1 | ||
removeDefaultJS = 1 | ||
concatenateJs = 1 | ||
|
||
no_cache = 0 | ||
cache_clearAtMidnight = 0 | ||
sendCacheHeaders = 1 | ||
|
||
spamProtectEmailAddresses = ascii | ||
spamProtectEmailAddresses_atSubst = @ | ||
|
||
|
||
prefixLocalAnchors = all | ||
absRefPrefix = {$constant.baseUrl} | ||
linkVars = html(1) | ||
} | ||
|
||
[globalVar = GP:html > 0] | ||
[traverse(request.getQueryParams(), 'html') > 0] | ||
config { | ||
disableAllHeaderCode = 0 | ||
concatenateJs = 0 | ||
} | ||
[global] | ||
[globalVar = GP:debug > 0] | ||
[END] | ||
|
||
[traverse(request.getQueryParams(), 'debug') > 0] | ||
config { | ||
disableAllHeaderCode = 0 | ||
concatenateJs = 0 | ||
compressJs = 0 | ||
no_cache = 1 | ||
} | ||
[global] | ||
[END] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,11 @@ | ||
# Constants | ||
config { | ||
|
||
|
||
} | ||
|
||
# | ||
# Generic constants | ||
# ------------------------------------------------------------------------------------ | ||
# | ||
|
||
config { | ||
ddb_kitodo_zeitungsportal { | ||
compressJs = 0 | ||
compressCss = 0 | ||
concatenateJs = 0 | ||
concatenateCss = 0 | ||
} | ||
constant { | ||
# cat=plugin.ddb_kitodo_zeitungsportal/links/0100; type=int+; label=UID of the Viewer Page | ||
viewerPid = 1 | ||
# cat=plugin.ddb_kitodo_zeitungsportal/links/0100; type=int+; label=UID of the Kitodo.Presentation Configuration Page | ||
configPid = 2 | ||
# cat=plugin.ddb_kitodo_zeitungsportal/links/0100; type=int+; label=UID of the Kitodo.Presentation Solr Core | ||
solrCore = 1 | ||
# cat=plugin.ddb_kitodo_zeitungsportal/links/0100; type=string; label=Page URL on which viewer will be visible incl. trailing slash. | ||
baseUrl = http://example.com/ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters