femanager.txt 3.29 KB
Newer Older
Stefan Busemann's avatar
Stefan Busemann committed
1
plugin.tx_femanager {
Stefan Busemann's avatar
Stefan Busemann committed
2
3
   view {
      templateRootPaths.3 = EXT:t3omy/Resources/Private/Templates/Femanager/
Stefan Busemann's avatar
Stefan Busemann committed
4
      partialRootPaths.3 =  EXT:t3omy/Resources/Private/Partials/
Stefan Busemann's avatar
Stefan Busemann committed
5
6
7
8
9
10
11
12
      layoutRootPaths.3 = EXT:t3omy/Resources/Private/Templates/Femanager/
   }

   settings {
      new {
         validation {
            terms.required = 1
            name.required = 1
13
14
15
            username {
                uniqueInDb = 0
                uniqueInLdap = 1
16
                notInOldUserTable = 1
17
                lowerChars = 1
18
19
                min = 6
                max = 30
20
                mustNotInclude = space
21
            }
22
23
24
            password {
                min = 12
            }
Stefan Busemann's avatar
Stefan Busemann committed
25
26
27
28
29
30
31
32
33
         }

         requestRedirect = TEXT
         requestRedirect {
            typolink {
               parameter = {$tx_t3omy.page.createMessage}
               parameter.insertData = 1
               returnLast = url
            }
Stefan Busemann's avatar
Stefan Busemann committed
34
         }
35
36
37
38

         redirect = TEXT
            redirect {
               typolink {
Stefan Busemann's avatar
Stefan Busemann committed
39
                  parameter = {$tx_t3omy.page.activateMessage}
40
41
42
43
                  returnLast = url
               }
            }

44
         #
45
         # redirect user after user clicks confirmation link in email
46
47
48
         userConfirmationRedirect = TEXT
            userConfirmationRedirect {
           	   typolink {
Stefan Busemann's avatar
Stefan Busemann committed
49
           			parameter = {$tx_t3omy.page.adminConfirmMessage}
50
51
52
           			returnLast = url
               }
         }
53
54
55
56
         misc {
            # No password conversion, we need plain text for LDAP
            passwordSave = none
         }
57

58
         confirmByAdmin = 1
59
         email.createUserNotify._enable.value = 1
60
         email.createAdminNotify._enable.value = 0
Stefan Busemann's avatar
Stefan Busemann committed
61
      }
62
63
64
65
66
      edit {
         misc {
            # No password conversion, we need plain text for LDAP
            passwordSave = none
         }
67
68
69
70
71
72
         validation {
            password {
                required = 0
            }
            password_repeat {
                required = 0
73
                min = 12
74
75
            }
         }
76
      }
77
      page.termsAndConditions = 6
78
79
80
81
82
83
84
85
86
87
88
89

      # Femanager autoAdminConfirmation classes
      autoAdminConfirmation {
         10 {
            class = In2code\Femanager\Domain\Service\AutoAdminConfirmation\EmailDomainConfirmation
            config {
               # Just look at the domains of the given Email-Addresses
               confirmByEmailDomains = .de, .nl, .ch, .at, .it, .edu, .uk, .org, .fr, .au, .eu, .net, .ca, .gr, .be, .dk, .ro, .biz, .pl, .se, .rw, .nz
               confirmByEmailDomainsExceptions = google.com, gmail.com, googlemail.com, yahoo.com, dermatologyconference.org
            }
         }
      }
Stefan Busemann's avatar
Stefan Busemann committed
90
   }
Stefan Busemann's avatar
Stefan Busemann committed
91
}
92

93
94
95
96
97
98
config.tx_extbase{
   objects {
      In2code\Femanager\Domain\Validator\ServersideValidator.className = T3o\T3omy\Domain\Validator\ServersideValidator
   }
}

Stefan Busemann's avatar
Stefan Busemann committed
99
page.includeJSFooter.femanagerValidation >
Thomas Löffler's avatar
Thomas Löffler committed
100
page.includeJSFooter.femanager >
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117

module.tx_femanager.view {

   templateRootPaths {
      1 = EXT:femanager/Resources/Private/Templates/
      3 = EXT:t3omy/Resources/Private/Templates/Femanager/
   }
   partialRootPaths {
      1 = EXT:femanager/Resources/Private/Partials/
      3 =  EXT:t3omy/Resources/Private/Partials/Femanager/
   }

   layoutRootPaths {
      1 = EXT:femanager/Resources/Private/Layouts/
      3 = EXT:t3omy/Resources/Private/Layouts/Femanager/
   }
}