SfEventMgt.ts 2.65 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
plugin.tx_sfeventmgt {
    view {
        templateRootPaths {
            100 = EXT:t3org_layout/Resources/Private/Extensions/SfEventMgt/Templates
        }
        partialRootPaths {
            100 = EXT:t3org_layout/Resources/Private/Extensions/SfEventMgt/Partials
        }
        layoutRootPaths {
            100 = EXT:t3org_layout/Resources/Private/Extensions/SfEventMgt/Layouts
        }
    }
13
14

    settings.detailPid = {$plugin.tx_sfeventmgt.settings.detailPid}
15
}
16

17
18
19
20
21
22
23
24
25
config.recordLinks.sf_event_mgt {
    typolink {
        parameter = 230
        additionalParams.data = field:uid
        additionalParams.wrap = &tx_sfeventmgt_pievent[event]=|&tx_sfeventmgt_pievent[controller]=Event&tx_sfeventmgt_pievent[action]=detail
        useCacheHash = 1
    }
}

26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
pageNewsICalendar = PAGE
pageNewsICalendar {

   typeNum = 9819
   10 < tt_content.list.20.sfeventmgt_pievent
   10 {
      switchableControllerActions {
         Event {
            1 = icalDownload
         }
      }
      settings < plugin.tx_sfeventmgt.settings
      settings {
         startingpoint = 180
         format = ical
         domain.data = getEnv:HTTP_HOST
         useStdWrap = domain
      }
   }
45
46
47
48
49
50
51
52
53
54
55
   config {
      disableAllHeaderCode = 1
      xhtml_cleaning = none
      admPanel = 0
      metaCharset = utf-8
      additionalHeaders = Content-Type:text/calendar;charset=utf-8
      # Since 8 LTS
      additionalHeaders.10.header = Content-Type:text/calendar;charset=utf-8
      disablePrefixComment = 1
      linkVars >
   }
56
57
}

58
[globalVar = GP:tx_sfeventmgt_pievent|event > 0]
Christian Knauf's avatar
Christian Knauf committed
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86

  # remove all meta tags from cs_seo
    page.headerData.654 >

        # disable title tag
    page.headerData.654.5 >

        # remove meta description
    page.headerData.654.7 >

        # remove canonical
    page.headerData.654.10 >

        # remove robots
    page.headerData.654.15 >

        # remove open graph tags
    page.headerData.654.30 >

        # remove twitter card summary
    page.headerData.654.35 >

        # remove twitter card tags
    page.headerData.654.40 >


    config.noPageTitle = 2

87
88
89
90
91
92
93
94
95
96
97
98
99
100
    temp.eventTitle = RECORDS
    temp.eventTitle {
        dontCheckPid = 1
        source.data = GP:tx_sfeventmgt_pievent|event
        source.intval = 1
        tables = tx_sfeventmgt_domain_model_event
        conf {
            tx_sfeventmgt_domain_model_event >
            tx_sfeventmgt_domain_model_event = TEXT
            tx_sfeventmgt_domain_model_event {
                field = title
                htmlSpecialChars = 1
                noTrimWrap = |||
            }
101
102
103
104
        }
    }


105
106
107
108
109
110
    page.headerData {
        23424 = COA
        23424 < temp.eventTitle
        23424.wrap = <title>|</title>
    }
[end]