Initial commit

This commit is contained in:
Björn Fromme
2018-04-18 17:24:00 +02:00
commit da4db35be3
875 changed files with 80368 additions and 0 deletions
@@ -0,0 +1,12 @@
tt_content.banner =< lib.fluidContent
tt_content.banner {
templateName = Banner
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
10 {
references.fieldName = assets
references.table = tt_content
as = image
}
}
}
@@ -0,0 +1,12 @@
tt_content.herounit =< lib.fluidContent
tt_content.herounit {
templateName = Herounit
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
10 {
references.fieldName = assets
references.table = tt_content
as = image
}
}
}
@@ -0,0 +1,4 @@
tt_content.statement =< lib.fluidContent
tt_content.statement {
templateName = Statement
}
@@ -0,0 +1,12 @@
tt_content.tile =< lib.fluidContent
tt_content.tile {
templateName = Tile
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
10 {
references.fieldName = assets
references.table = tt_content
as = image
}
}
}
@@ -0,0 +1,8 @@
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:fluid_styled_content/Configuration/TypoScript/Static/setup.txt">
lib.fluidContent {
layoutRootPaths.20 = EXT:ep_events/Resources/Private/Layouts/FluidStyledContent
templateRootPaths.20 = EXT:ep_events/Resources/Private/Templates/FluidStyledContent
partialRootPaths.20 = EXT:ep_events/Resources/Private/Partials
settings < plugin.tx_epevents.settings
}
@@ -0,0 +1 @@
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:form/Configuration/TypoScript/setup.txt">
@@ -0,0 +1,17 @@
lib.configurator = USER
lib.configurator {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = EpEvents
pluginName = Configurator
vendorName = EP
controller = Form
action = configurator
switchableControllerActions {
Form {
1 = configurator
}
}
settings =< plugin.tx_epevents.settings
persistence =< plugin.tx_epevents.persistence
view =< plugin.tx_epevents.view
}
@@ -0,0 +1,49 @@
lib.dynamicContent = COA
lib.dynamicContent {
5 = LOAD_REGISTER
5 {
colPos.cObject = TEXT
colPos.cObject {
field = colPos
ifEmpty.cObject = TEXT
ifEmpty.cObject {
value.current = 1
ifEmpty = 0
}
}
pageUid.cObject = TEXT
pageUid.cObject {
field = pageUid
ifEmpty.data = TSFE:id
}
contentFromPid.cObject = TEXT
contentFromPid.cObject {
data = DB:pages:{register:pageUid}:content_from_pid
data.insertData = 1
}
wrap.cObject = TEXT
wrap.cObject {
field = wrap
}
}
20 = CONTENT
20 {
table = tt_content
select {
includeRecordsWithoutDefaultTranslation = 1
orderBy = sorting
where = colPos={register:colPos}
where.insertData = 1
pidInList.data = register:pageUid
pidInList.override.data = register:contentFromPid
}
stdWrap {
dataWrap = {register:wrap}
required = 1
}
}
90 = RESTORE_REGISTER
}
lib.dynamicContentSlide =< lib.dynamicContent
lib.dynamicContentSlide.20.slide = -1
@@ -0,0 +1,126 @@
lib.parseFunc {
makelinks = 1
makelinks {
http {
keep = path
extTarget = _blank
}
mailto {
keep = path
}
}
tags {
link = TEXT
link {
current = 1
typolink {
parameter {
data = parameters : allParams
}
extTarget = _blank
}
parseFunc.constants = 1
}
a = TEXT
a {
current = 1
typolink {
parameter.data = parameters:href
title.data = parameters:title
ATagParams.data = parameters:allParams
target.data = parameters:target
extTarget = _blank
extTarget.override.data = parameters:target
}
}
}
allowTags := addToList(a, abbr, acronym, address, article, aside, b, bdo)
allowTags := addToList(big, blockquote, br, caption, center, cite, code, col)
allowTags := addToList(colgroup, dd, del, dfn, dl, div, dt, em, font)
allowTags := addToList(footer, header, h1, h2, h3, h4, h5, h6, hr, i, img)
allowTags := addToList(ins, kbd, label, li, link, meta, nav, ol, p, pre, q)
allowTags := addToList(samp, sdfield, section, small, span, strike, strong)
allowTags := addToList(style, sub, sup, table, thead, tbody, tfoot, td, th)
allowTags := addToList(tr, title, tt, u, ul, var)
denyTags = *
sword = <span class="text-highlight">|</span>
constants = 1
nonTypoTagStdWrap {
HTMLparser = 1
HTMLparser {
keepNonMatchedTags = 1
htmlSpecialChars = 2
}
}
}
lib.parseFunc_RTE < lib.parseFunc
lib.parseFunc_RTE {
externalBlocks := addToList(article, aside, blockquote, div, dd, dl, footer)
externalBlocks := addToList(header, nav, ol, section, table, ul, pre)
externalBlocks {
ol {
stripNL = 1
stdWrap {
parseFunc = < lib.parseFunc
}
}
ul {
stripNL = 1
stdWrap {
parseFunc = < lib.parseFunc
}
}
table {
stripNL = 1
stdWrap {
wrap = <div class="table-responsive">|</div>
}
HTMLtableCells = 1
HTMLtableCells {
default.stdWrap {
parseFunc = < lib.parseFunc_RTE
parseFunc {
nonTypoTagStdWrap {
encapsLines {
nonWrappedTag =
}
}
}
}
}
}
pre {
stripNL = 1
}
div {
stripNL = 1
callRecursive = 1
}
blockquote < .div
article < .div
aside < .div
footer < .div
header < .div
nav < .div
section < .div
dl < .div
dd < .div
}
nonTypoTagStdWrap {
encapsLines {
encapsTagList = p, pre, h1, h2, h3, h4, h5, h6, hr, dt
remapTag.DIV = P
nonWrappedTag = P
innerStdWrap_all.ifBlank = &nbsp;
}
}
nonTypoTagStdWrap {
HTMLparser = 1
HTMLparser {
keepNonMatchedTags = 1
htmlSpecialChars = 2
}
}
}
@@ -0,0 +1,17 @@
lib.searchForm = USER
lib.searchForm {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = EpEvents
pluginName = SearchForm
vendorName = EP
controller = Search
action = form
switchableControllerActions {
Search {
1 = form
}
}
settings =< plugin.tx_epevents.settings
persistence =< plugin.tx_epevents.persistence
view =< plugin.tx_epevents.view
}
@@ -0,0 +1,31 @@
ajax_page_json = PAGE
ajax_page_json {
typeNum = 1703
config {
disableAllHeaderCode = 1
additionalHeaders.10.header = Content-type:application/json
xhtml_cleaning = 0
admPanel = 0
debug = 0
no_cache = 1
}
10 = USER_INT
10 {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = EpEvents
pluginName = Ajax
vendorName = EP
controller = AjaxForm
action = processInquiryForm
switchableControllerActions {
AjaxForm {
1 = processInquiryForm
2 = processConfiguratorForm
}
}
settings =< plugin.tx_epevents.settings
persistence =< plugin.tx_epevents.persistence
view =< plugin.tx_epevents.view
}
}
@@ -0,0 +1,106 @@
page = PAGE
page {
config {
index_enable = 1
}
meta {
viewport = width=device-width, initial-scale=1, maximum-scale=1
X-UA-Compatible = ie=edge
}
shortcutIcon = EXT:ep_events/Resources/Public/images/favicon.ico
includeJS {
remarketing = https://www.googleadservices.com/pagead/conversion_async.js
remarketing.external = 1
remarketing.disableCompression = 1
}
includeJSFooter {
main = EXT:ep_events/Resources/Public/js/main.js
}
includeCSS {
main = EXT:ep_events/Resources/Public/css/main.css
}
10 = FLUIDTEMPLATE
10 {
file {
cObject = TEXT
cObject {
data = levelfield: -1, backend_layout_next_level, slide
override {
data = TSFE:page|backend_layout
}
ifEmpty = Default
split {
token = pagets__
1.current = 1
1.wrap = |
}
wrap = typo3conf/ext/ep_events/Resources/Private/Templates/Page/|.html
case = ucfirst
}
}
layoutRootPaths.0 = EXT:ep_events/Resources/Private/Layouts/
partialRootPaths.0 = EXT:ep_events/Resources/Private/Partials/
templateRootPaths.0 = EXT:ep_events/Resources/Private/Templates/
settings < plugin.tx_epevents.settings
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
10.references.fieldName = media
20 = EP\EpEvents\DataProcessing\TraveltypeProcessor
30 = EP\EpEvents\DataProcessing\OfferProcessor
}
}
headerData.999 = TEXT
headerData.999.value (
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','{$plugin.tx_epevents.settings.googleTagManagerId}');</script>
<!-- End Google Tag Manager -->
<script type="text/javascript">
/* <![CDATA[ */
goog_snippet_vars = function() {
var w = window;
w.google_conversion_id = 1072535457;
w.google_conversion_label = "KiaaCObA9XEQoa-2_wM";
w.google_remarketing_only = false;
}
// DO NOT CHANGE THE CODE BELOW.
goog_report_conversion = function(url) {
goog_snippet_vars();
window.google_conversion_format = "3";
var opt = new Object();
opt.onload_callback = function() {
if (typeof(url) != 'undefined') {
window.location = url;
}
}
var conv_handler = window['google_trackConversion'];
if (typeof(conv_handler) == 'function') {
conv_handler(opt);
}
}
/* ]]> */
</script>
)
headerData.999.stdWrap.if.isTrue = {$plugin.tx_epevents.settings.googleTagManagerId}
}
[globalVar = TSFE:page|doktype = 101]
page.stdWrap.addPageCacheTags = category_page,epevents_page
[end]
[globalVar = TSFE:page|doktype = 102]
page.stdWrap.addPageCacheTags = offer_page,epevents_page
[end]
@@ -0,0 +1,83 @@
xmlSitemap = PAGE
xmlSitemap {
typeNum = 1848
config {
xhtml_cleaning = none
no_cache = 1
disableAllHeaderCode = 1
additionalHeaders = Content-Type: text/xml; charset=utf-8
simulateStaticDocuments = 0
tx_realurl_enable = 1
}
wrap (
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.google.com/schemas/sitemap/0.84"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemalocation="http://www.google.com/schemas/sitemap/0.84 www.google.com/schemas/sitemap/0.84/sitemap.xsd
">|</urlset>
)
10 = COA
10 {
10 = HMENU
10 {
special = list
# Ausgangspunkt / Root Seite
special.value = {$plugin.tx_epevents.settings.xmlSitemapRootPageUid}
excludeDoktypes = 2,3,5,6,7,199,254,255
excludeUidList = {$plugin.tx_epevents.settings.xmlSitemapExcludeUids}
includeNotInMenu = 1
1 = TMENU
1 {
expAll = 1
NO {
doNotLinkIt = 1
stdWrap {
cObject = COA
cObject {
wrap = <url>|</url>
10 = TEXT
10 {
typolink {
parameter.field = uid
returnLast = url
forceAbsoluteUrl = 1
}
wrap = <loc>|</loc>
}
20 = TEXT
20 {
field = SYS_LASTCHANGED
strftime = %Y-%m-%dT%H:%M:%SZ
wrap = <lastmod>|</lastmod>
}
30 = TEXT
30.value = <priority>1.0</priority>
if.isFalse.field = shortcut
}
}
}
}
2 < .1
2.NO.stdWrap.cObject.30.value = <priority>0.9</priority>
3 < .1
3.NO.stdWrap.cObject.30.value = <priority>0.8</priority>
4 < .1
4.NO.stdWrap.cObject.30.value = <priority>0.7</priority>
5 < .1
5.NO.stdWrap.cObject.30.value = <priority>0.6</priority>
6 < .1
6.NO.stdWrap.cObject.30.value = <priority>0.5</priority>
7 < .6
8 < .6
9 < .6
10 < .6
}
}
}
@@ -0,0 +1,53 @@
plugin.tx_epevents {
settings {
# cat=plugin.tx_epevents//a; type=string; label=Helper navigation PID
helperNavPid =
# cat=plugin.tx_epevents//a; type=string; label=Footer navigation PID
footerNavPid =
# cat=plugin.tx_epevents//a; type=string; label=Contact page UID
contactPageUid =
# cat=plugin.tx_epevents//a; type=string; label=Data protection page UID
dataProtectionPageUid =
# cat=plugin.tx_epevents//a; type=string; label=Legal notice page UID
legalNoticePageUid =
# cat=plugin.tx_epevents//a; type=string; label=Terms page UID
termsPageUid =
# cat=plugin.tx_epevents//a; type=string; label=Offer detail page UID
offerDetailPageUid =
# cat=plugin.tx_epevents//a; type=string; label=Activity detail page UID
activityDetailPageUid =
# cat=plugin.tx_epevents//a; type=string; label=Activity list page UID
activityListPageUid =
# cat=plugin.tx_epevents//a; type=string; label=Inquiry page UID
inquiryPageUid =
# cat=plugin.tx_epevents//a; type=string; label=Feedback page UID
feedbackPageUid =
# cat=plugin.tx_epevents//a; type=string; label=Ajax page UID
ajaxPageUid =
# cat=plugin.tx_epevents//a; type=string; label=Search page UID
searchPageUid =
# cat=plugin.tx_epevents//a; type=string; label=Inquiry recipient email
inquiryToEmail =
# cat=plugin.tx_epevents//a; type=string; label=Inquiry recipient name
inquiryToName =
# cat=plugin.tx_epevents//a; type=string; label=Sitemap root page UID
xmlSitemapRootPageUid =
# cat=plugin.tx_epevents//a; type=string; label=XML sitemap page UIDs to exclude
xmlSitemapExcludeUids =
# cat=plugin.tx_epevents//a; type=string; label=Google Tag Manager ID
googleTagManagerId =
# cat=plugin.tx_epevents//a; type=string; label=Ignore following IPs in searchlog
searchLogIgnoreIps =
# cat=plugin.tx_epevents//a; type=string; label=Activity default header image
activityDefaultHeaderImage =
# cat=plugin.tx_epevents//a; type=string; label=Activity default keywords image
activityDefaultKeywordsImage =
}
persistence {
# cat=plugin.tx_epevents//a; type=string; label=Default storage PID
storagePid =
}
}
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:fluid_styled_content/Configuration/TypoScript/Static/constants.txt">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:form/Configuration/TypoScript/constants.txt">
@@ -0,0 +1,174 @@
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Extensions/FluidStyledContent.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Extensions/Form.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Library/DynamicContent.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Library/ParseFunc.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Library/SearchForm.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Library/Configurator.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/ContentElements/banner.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/ContentElements/herounit.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/ContentElements/statement.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/ContentElements/tile.ts">
plugin.tx_epevents {
features.skipDefaultArguments = 1
view {
layoutRootPaths.10 = EXT:ep_events/Resources/Private/Layouts/
templateRootPaths.10 = EXT:ep_events/Resources/Private/Templates/
partialRootPaths.10 = EXT:ep_events/Resources/Private/Partials/
widget.TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper.templateRootPath = EXT:ep_events/Resources/Private/Templates/
}
persistence {
storagePid = {$plugin.tx_epevents.persistence.storagePid}
}
settings < lib.fluidContent.settings
settings {
helperNavPid = {$plugin.tx_epevents.settings.helperNavPid}
footerNavPid = {$plugin.tx_epevents.settings.footerNavPid}
contactPageUid = {$plugin.tx_epevents.settings.contactPageUid}
inquiryPageUid = {$plugin.tx_epevents.settings.inquiryPageUid}
ajaxPageUid = {$plugin.tx_epevents.settings.ajaxPageUid}
searchPageUid = {$plugin.tx_epevents.settings.searchPageUid}
inquiryToEmail = {$plugin.tx_epevents.settings.inquiryToEmail}
inquiryToName = {$plugin.tx_epevents.settings.inquiryToName}
xmlSitemapRootPageUid = {$plugin.tx_epevents.settings.xmlSitemapRootPageUid}
xmlSitemapExcludeUids = {$plugin.tx_epevents.settings.xmlSitemapExcludeUids}
googleTagManagerId = {$plugin.tx_epevents.settings.googleTagManagerId}
offerDetailPageUid = {$plugin.tx_epevents.settings.offerDetailPageUid}
activityDetailPageUid = {$plugin.tx_epevents.settings.activityDetailPageUid}
activityListPageUid = {$plugin.tx_epevents.settings.activityListPageUid}
dataProtectionPageUid = {$plugin.tx_epevents.settings.dataProtectionPageUid}
legalNoticePageUid = {$plugin.tx_epevents.settings.legalNoticePageUid}
termsPageUid = {$plugin.tx_epevents.settings.termsPageUid}
feedbackPageUid = {$plugin.tx_epevents.settings.feedbackPageUid}
searchLogIgnoreIps = {$plugin.tx_epevents.settings.searchLogIgnoreIps}
activityDefaultHeaderImage = {$plugin.tx_epevents.settings.activityDefaultHeaderImage}
activityDefaultKeywordsImage = {$plugin.tx_epevents.settings.activityDefaultKeywordsImage}
configurator {
options {
travelType {
1 = Incentive
2 = Teambuilding
3 = Meeting
4 = Corporate Event
}
locationType {
1 = Meer
2 = Berge
3 = Städte
4 = Spezial
}
accommodationType {
1 = 3-Sterne
2 = 4-Sterne
3 = 5-Sterne
4 = Spezial
}
programmeType {
1 = Outdoor & Action
2 = Event-Gastronomie
3 = Sightseeing
4 = Spezial
}
distance {
1 = Deutschland
2 = Europa
3 = Welt
}
pax {
1 = 15 - 20
2 = 20 - 30
3 = 30 - 40
4 = 40 - 50
5 = 50 - 60
6 = 60 - 80
7 = 80 - 100
8 = 100 - 120
9 = 120 - 150
10 = 150 - 200
11 = 200 - 250
12 = 250 - 300
13 = 350 - 400
14 = 400 - 450
15 = 450 - 500
}
budget {
1 = nicht festgelegt
2 = 300 - 400 €
3 = 400 - 500 €
4 = 500 - 600 €
5 = 600 - 700 €
6 = 700 - 800 €
7 = 800 - 900 €
8 = 900 - 1000 €
9 = 1000 - 1100 €
10 = 1100 - 1200 €
11 = 1200 - 1300 €
12 = 1300 - 1400 €
13 = 1400 - 1500 €
14 = 1500 - 1600 €
15 = 1600 - 1700 €
16 = 1700 - 1800 €
17 = 1800 - 1900 €
18 = 1900 - 2000 €
19 = 2000 - 2100 €
20 = 2100 - 2200 €
21 = 2200 - 2300 €
22 = 2300 - 2400 €
23 = 2400 - 2500 €
24 = 2500 - 2600 €
25 = 2600 - 2700 €
26 = 2700 - 2800 €
27 = 2800 - 2900 €
28 = 2900 - 3000 €
}
period {
1 = 1 Nacht
2 = 2 Nächte
3 = 3 Nächte
4 = 4 Nächte
5 = 5 Nächte
6 = 6 Nächte
7 = 7 Nächte
}
}
defaults {
budget = 6
}
}
}
}
lib.parseFunc_RTE {
nonTypoTagStdWrap.encapsLines.addAttributes.P.class >
nonTypoTagStdWrap.encapsLines.addAttributes.H2.class = headline headline--primary
nonTypoTagStdWrap.encapsLines.addAttributes.H3.class = headline
}
tt_content.stdWrap.innerWrap >
lib.stdheader.3.headerClass >
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Page/Main.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Page/Ajax.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Page/XMLSitemap.ts">
config {
doctype = html5
removeDefaultCSS = 1
removePageCss = 1
removeDefaultJS = 0
disablePrefixComment = 1
inlineStyle2TempFile = 1
tx_realurl_enable = 1
absRefPrefix = /
language = de
locale_all = de_DE.UTF-8
sys_language_uid = 0
htmlTag_langKey = de
compressJs = 1
compressCss = 1
typolinkEnableLinksAcrossDomains = 1
}