-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_localconf.php
35 lines (32 loc) · 1.27 KB
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
if (!defined ('TYPO3_MODE')) die ('Access denied.');
/**
* Configure the Plugin to call the
* right combination of Controller and Action according to
* the user input (default settings, FlexForm, URL etc.)
*/
Tx_Extbase_Utility_Extension::configurePlugin(
$_EXTKEY, // The extension name (in UpperCamelCase) or the extension key (in lower_underscore)
'Display', // A unique name of the plugin in UpperCamelCase
array( // An array holding the controller-action-combinations that are accessible
'Blog' => 'index,show',
'Post' => 'show', // The first controller and its first action will be the default
'Comment' => 'new,create',
),
array( // An array of non-cachable controller-action-combinations (they must already be enabled)
'Blog' => 'index,show',
'Post' => 'show',
'Comment' => 'new,create',
)
);
Tx_Extbase_Utility_Extension::configurePlugin(
$_EXTKEY, // The extension name (in UpperCamelCase) or the extension key (in lower_underscore)
'Ajax', // A unique name of the plugin in UpperCamelCase
array( // An array holding the controller-action-combinations that are accessible
'Blog' => 'ajax',
),
array( // An array of non-cachable controller-action-combinations (they must already be enabled)
'Blog' => 'ajax',
)
);
?>