没有合适的资源?快使用搜索试试~ 我知道了~
OpenCms-9.0.0-Documentation_v2.0
资源详情
资源评论
资源推荐
®
Alkacon
®
Alkacon Software GmbH
An der Wachsfabrik 13
DE - 50996 Köln
Geschäftsführer
Alexander Kandzior
Amtsgericht Köln
HRB 54613
Tel: +49 (0)2236 3826 - 0
Fax: +49 (0)2236 3826 - 20
http://www.alkacon.com
OpenCms 9.0 Documentation
Friday, November, 8, 2013
Document version 2.0
OpenCms 9.0 Documentation
November 8, 2013
Document version 2.0
© Alkacon Software GmbH Page 2 of 99
®
Alkacon
®
Contents
1 Introduction ................................................................................................................ 6
2 Page editor.................................................................................................................. 7
2.1 Toolbar ..................................................................................................................... 7
2.2 Edit points ................................................................................................................ 8
2.3 Add content .............................................................................................................. 8
2.3.1 Creating new content ........................................................................................................................ 8
2.3.2 Searching existing content ................................................................................................................ 9
2.4 Clipboard .................................................................................................................. 9
2.5 Context menu ......................................................................................................... 10
2.5.1 Properties ........................................................................................................................................ 11
2.5.2 Attributes ......................................................................................................................................... 11
2.5.3 Availability ....................................................................................................................................... 11
2.5.4 Lock report ...................................................................................................................................... 11
2.5.5 Assign categories ............................................................................................................................ 11
2.5.6 SEO options .................................................................................................................................... 12
2.5.7 Undo changes ................................................................................................................................. 12
2.5.8 Show workplace .............................................................................................................................. 12
2.6 Publish ................................................................................................................... 12
3 Sitemap editor .......................................................................................................... 13
3.1 Open the editor ...................................................................................................... 13
3.2 Sitemap editor toolbar ............................................................................................ 13
3.3 Publish ................................................................................................................... 14
3.4 Create page ........................................................................................................... 14
3.4.1 Container pages .............................................................................................................................. 14
3.4.2 Edit model pages ............................................................................................................................. 15
3.4.3 Type pages / Detail pages ............................................................................................................... 15
3.4.4 Function pages ................................................................................................................................ 15
3.5 Clipboard ................................................................................................................ 16
3.6 Display all resources .............................................................................................. 16
3.7 Context menu ......................................................................................................... 17
3.8 Edit point ................................................................................................................ 17
3.9 Model pages .......................................................................................................... 18
3.9.1 Creation steps ................................................................................................................................. 18
3.9.2 Configuration ................................................................................................................................... 18
4 Content editor ........................................................................................................... 19
4.1 Widgets .................................................................................................................. 20
4.1.1 String widget .................................................................................................................................... 20
4.1.2 Boolean widget ................................................................................................................................ 20
4.1.3 Display widget ................................................................................................................................. 21
4.1.4 Select widget ................................................................................................................................... 21
4.1.5 Text area widget .............................................................................................................................. 21
4.1.6 Radio button widget ......................................................................................................................... 21
4.1.7 Multi select widget ........................................................................................................................... 22
4.1.8 Combo widget ................................................................................................................................. 22
4.1.9 Resource type combo widget .......................................................................................................... 22
4.1.10 HTML widget ................................................................................................................................... 22
4.1.11 Localization widget .......................................................................................................................... 24
4.1.12 Color picker widget .......................................................................................................................... 24
4.1.13 Date picker widget ........................................................................................................................... 24
OpenCms 9.0 Documentation
November 8, 2013
Document version 2.0
© Alkacon Software GmbH Page 3 of 99
®
Alkacon
®
4.1.14 Category widget .............................................................................................................................. 25
4.1.15 Group widget ................................................................................................................................... 25
4.1.16 Multi group widget ........................................................................................................................... 25
4.1.17 VFS file widget ................................................................................................................................ 26
4.1.18 VFS image widget ........................................................................................................................... 27
4.1.19 Image gallery widget ....................................................................................................................... 27
4.1.20 Download gallery widget.................................................................................................................. 28
4.1.21 HTML gallery widget ........................................................................................................................ 28
4.1.22 Table gallery widget ........................................................................................................................ 29
4.1.23 Link gallery widget ........................................................................................................................... 29
4.2 Select widget configuration .................................................................................... 30
4.3 Implement Custom Widgets ................................................................................... 31
4.4 Implementing widgets for nested contents .............................................................. 32
5 Inline editor ............................................................................................................... 33
5.1 Fields supporting inline edit .................................................................................... 34
5.2 Configuration .......................................................................................................... 34
5.2.1 Formatters ....................................................................................................................................... 34
5.2.2 Nested contents .............................................................................................................................. 34
5.2.3 Details ............................................................................................................................................. 34
6 Template creation..................................................................................................... 36
6.1 Create a module ..................................................................................................... 36
6.2 Get the HTML prototype into OpenCms ................................................................. 37
6.3 Adjust referenced resource links ............................................................................ 37
6.4 Insert containers and enable “Advanced Direct Edit” .............................................. 37
6.5 Configure “Advanced Direct Edit” ........................................................................... 38
6.6 Create a navigation structure ................................................................................. 38
6.7 Divide the prototype into separate elements ........................................................... 38
6.8 Make the extracted elements dynamic ................................................................... 39
6.9 Start the content creation ....................................................................................... 39
7 Advanced template features .................................................................................... 40
7.1 JSP basics ............................................................................................................. 40
7.1.1 JSP features .................................................................................................................................... 40
7.1.2 The JSP <cms>-taglib ..................................................................................................................... 40
7.1.3 Available tags .................................................................................................................................. 40
7.2 Mobile templates .................................................................................................... 42
7.3 Element settings ..................................................................................................... 42
7.4 CMS context bean .................................................................................................. 42
7.5 Head includes ........................................................................................................ 42
8 XML contents ............................................................................................................ 43
8.1 Rendering XML contents with formatters ................................................................ 43
8.2 Resource type definitions with XSD ........................................................................ 43
8.3 Advanced XSD topics............................................................................................. 43
8.3.1 XSD choice element ........................................................................................................................ 43
9 Localization .............................................................................................................. 47
9.1 Frontend/Website Localization ............................................................................... 47
9.2 Backend/Workplace Localization ............................................................................ 47
10 Lists of resources and detail pages ........................................................................ 48
10.1 Collectors ............................................................................................................... 48
10.1.1 Using collectors in JSP files ............................................................................................................ 48
10.1.2 Open a detail page on click ............................................................................................................. 49
OpenCms 9.0 Documentation
November 8, 2013
Document version 2.0
© Alkacon Software GmbH Page 4 of 99
®
Alkacon
®
10.1.3 Create new content items using collectors ...................................................................................... 49
10.1.4 Available collectors .......................................................................................................................... 49
10.1.5 Making lists droppable ..................................................................................................................... 50
10.1.6 Implementation ................................................................................................................................ 50
10.1.7 Configuration ................................................................................................................................... 51
10.2 Detail pages ........................................................................................................... 51
10.2.1 Usage .............................................................................................................................................. 51
10.2.2 Configuration ................................................................................................................................... 51
10.2.3 URL generation ............................................................................................................................... 52
10.2.4 Detail containers .............................................................................................................................. 52
11 Building a navigation ............................................................................................... 54
11.1 Navigation level ...................................................................................................... 54
11.1.1 Use case ......................................................................................................................................... 54
11.1.2 Using the navigation level................................................................................................................ 54
11.1.3 Implementation details..................................................................................................................... 54
11.2 Hidden entries ........................................................................................................ 55
11.2.1 Description ...................................................................................................................................... 55
11.2.2 Usage .............................................................................................................................................. 55
12 Advanced direct edit features ................................................................................. 57
12.1 Element group ........................................................................................................ 57
12.1.1 Description ...................................................................................................................................... 57
12.1.2 Combination with model pages ....................................................................................................... 57
12.1.3 Using the element group ................................................................................................................. 57
12.2 Inheritance group ................................................................................................... 59
12.2.1 Description ...................................................................................................................................... 59
12.2.2 Basic definitions .............................................................................................................................. 60
12.2.3 Usage .............................................................................................................................................. 60
12.2.4 Internals........................................................................................................................................... 63
12.3 Dynamic functions .................................................................................................. 64
12.4 Function detail page ............................................................................................... 64
12.4.1 Use case ......................................................................................................................................... 64
12.4.2 General steps .................................................................................................................................. 64
12.4.3 Create dynamic functions ................................................................................................................ 64
12.4.4 Create function detail pages ............................................................................................................ 64
12.4.5 Usage .............................................................................................................................................. 65
13 ADE configuration .................................................................................................... 65
13.1 Sitemap configuration............................................................................................. 65
13.2 Module configuration .............................................................................................. 66
13.3 Configuration inheritance ....................................................................................... 66
14 Solr search integration ............................................................................................ 67
14.1 Abstract .................................................................................................................. 67
14.2 Searching for content in OpenCms......................................................................... 67
14.2.1 DEMO.............................................................................................................................................. 67
14.2.2 Quick start example ......................................................................................................................... 67
14.2.3 Advanced search features ............................................................................................................... 70
14.2.4 Using the standard OpenCms Solr collector.................................................................................... 70
14.3 Indexing content of OpenCms ................................................................................ 71
14.3.1 Search configuration ....................................................................................................................... 71
14.3.2 Indexed data .................................................................................................................................... 75
14.4 Behind the walls ..................................................................................................... 78
14.4.1 The request handler ........................................................................................................................ 78
14.4.2 Permission check ............................................................................................................................ 78
14.4.3 Configurable post processor ............................................................................................................ 78
OpenCms 9.0 Documentation
November 8, 2013
Document version 2.0
© Alkacon Software GmbH Page 5 of 99
®
Alkacon
®
14.4.4 Multilingual support ......................................................................................................................... 79
14.4.5 Multilingual dependency resolving ................................................................................................... 79
14.4.6 Extraction result cache .................................................................................................................... 79
14.5 Frequently asked questions.................................................................................... 79
14.5.1 How is Solr integrated in general? ................................................................................................... 79
14.5.2 How to sort text for specific languages? .......................................................................................... 81
14.5.3 How to highlight the search query in results? .................................................................................. 81
14.5.4 Solr mailing list questions ................................................................................................................ 82
15 SEO ........................................................................................................................... 84
15.1 Introduction ............................................................................................................ 84
15.2 Aliases ................................................................................................................... 84
15.2.1 Simple aliases ................................................................................................................................. 84
15.2.2 Rewrite aliases ................................................................................................................................ 84
15.2.3 Internals........................................................................................................................................... 85
15.2.4 SEO options dialog .......................................................................................................................... 85
15.2.5 Edit aliases dialog ........................................................................................................................... 86
15.2.6 Creating new aliases ....................................................................................................................... 86
15.2.7 Editing existing aliases .................................................................................................................... 86
15.2.8 Exporting and importing aliases ...................................................................................................... 87
15.3 Automatic robots.txt and XML sitemap generation ................................................. 88
15.3.1 XML sitemap generation.................................................................................................................. 88
15.3.2 Generation of robots.txt ................................................................................................................... 89
16 CMIS .......................................................................................................................... 90
16.1 Accessing OpenCms via CMIS .............................................................................. 90
16.2 CMIS integration .................................................................................................... 91
17 Network share access (SMB / CIFS integration ) ................................................... 97
17.1 Access ................................................................................................................... 97
17.2 Setup ..................................................................................................................... 97
17.3 JLAN server configuration ...................................................................................... 97
17.4 Share configuration ................................................................................................ 98
17.5 Authentication ........................................................................................................ 99
17.6 Limitations .............................................................................................................. 99
剩余98页未读,继续阅读
tosunrain
- 粉丝: 3
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0