femanager.txt 2.3 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
16
            username {
                uniqueInDb = 0
                uniqueInLdap = 1
            }
Stefan Busemann's avatar
Stefan Busemann committed
17
18
19
20
21
22
23
24
25
         }

         requestRedirect = TEXT
         requestRedirect {
            typolink {
               parameter = {$tx_t3omy.page.createMessage}
               parameter.insertData = 1
               returnLast = url
            }
Stefan Busemann's avatar
Stefan Busemann committed
26
         }
27
28
29
30

         redirect = TEXT
            redirect {
               typolink {
Stefan Busemann's avatar
Stefan Busemann committed
31
                  parameter = {$tx_t3omy.page.activateMessage}
32
33
34
35
                  returnLast = url
               }
            }

36
         #
37
         # redirect user after user clicks confirmation link in email
38
39
40
         userConfirmationRedirect = TEXT
            userConfirmationRedirect {
           	   typolink {
Stefan Busemann's avatar
Stefan Busemann committed
41
           			parameter = {$tx_t3omy.page.adminConfirmMessage}
42
43
44
           			returnLast = url
               }
         }
45

46
         confirmByAdmin = 1
47
         email.createUserNotify._enable.value = 1
48
         email.createAdminNotify._enable.value = 0
Stefan Busemann's avatar
Stefan Busemann committed
49
      }
50
51
52
53
54
55
      edit {
         misc {
            # No password conversion, we need plain text for LDAP
            passwordSave = none
         }
      }
56
      page.termsAndConditions = 6
57
58
59
60
61
62
63
64
65
66
67
68

      # 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
69
   }
Stefan Busemann's avatar
Stefan Busemann committed
70
}
71

72
73
74
75
76
77
config.tx_extbase{
   objects {
      In2code\Femanager\Domain\Validator\ServersideValidator.className = T3o\T3omy\Domain\Validator\ServersideValidator
   }
}

Stefan Busemann's avatar
Stefan Busemann committed
78
page.includeJSFooter.femanagerValidation >