-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconfig.php
55 lines (52 loc) · 1.19 KB
/
config.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
return array(
// ADMIN BAR
'additionalLinks' => array(),
'cacheBar' => true,
'displayGreeting' => true,
'displayDashboardLink' => true,
'displayDefaultEditSection' => true,
'displaySettingsLink' => true,
'displayLogout' => true,
'enableMobileMenu' => true,
'scrollLinks' => true,
// EDIT LINKS
'displayEditDate' => true,
'displayEditAuthor' => true,
'displayRevisionNote' => true,
);
// EXAMPLES
// Additional Links
/*
'additionalLinks' => array(
// an example of a simple url link
array(
'title' => 'Craft CMS',
'url' => 'http://craftcms.com',
'type' => 'url',
),
// an example of a CP link
array(
'title' => 'Entries',
'url' => 'entries',
'type' => 'cpUrl',
),
// an example of a url link that passes along some extras
array(
'title' => 'Blog',
'url' => 'blog',
'type' => 'url',
'params' => 'foo=1&bar=2',
'protocol' => 'http',
'mustShowScriptName' => true,
'permissions' => array('myPluginPermission', 'thisIsRequiredToo'),
),
// an example of a plugin action link
array(
'title' => 'Clear Cache',
'url' => 'adminbar/clearTemplateCache',
'type' => 'action',
'admin' => true,
),
),
*/