liferay6.2系统管理员篇-liferay的内容管理系统WCM来进行站点快速建立

文章来源: www.idatafox.com  

配套视频: http://ke.qq.com/cgi-bin/courseDetail?

course_id=83481



当你登陆进入Liferay看到的是默认的站点页面,但是你需要注意的是这个页面可以适合所有类型的客户端访问,而不仅仅是来自桌面的客户端用户。


当设计页面的时候,liferay包括了预览功能,可以让你提前看到在电脑,平板电脑和手机上的显示外观。


另外的亮点是你可以在当前页面上,对该页面进行完全自由的定制,例如你想添加某些内容,你可以单击+按钮,然后选择liferay支持的页面组件即可,在liferay6.2版本这功能完全把你解放出来,让你重点实现你自己的业务功能。


Liferay内容管理可以适应从很小的站点到规模较为庞大的站点,例如你可以通过单击{添加}按钮,选择WEB内容文章,就可以立即启用文本编辑器WYSIWYG编辑器来进行文章录入了,或者你可以安装一个liferay portal来管理许多不同的站点,这些不同的站点都有各自的域名,相互独立,每个站点都可以发挥独立服务器的优势,站点的内容与页面模板都可以由liferay生成,并且更新到产品服务器上按照设定的业务流程完成审核过程后,这样看来liferay的功能真的很强大的,不是吗?


默认情况下,liferay portal开始只有一个包含一个页面的站点,但是你可以建立任意站点,页面层级也允许多层嵌套。

Liferay页面层级可以很容易定义,使用一个树形对象组件,这类似管理文件的文件管理器。


添加的页面可以按照任意的页面布局:liferay portal包含一组内建的布局,但是你可以生成你自己的布局,而且部署你自己的布局过程也非常容易,页面可以被添加,移除,或是在任何时间进行重新排列,你拥有所有HTML页面的属性的主动性与灵活性,例如meta标签等。


页面也可以与liferay自身的权限系统进行整合,这样可以很容易实现页面访问权限的设计和实现。你可以让用户访问公共站点的页面,而提供私有页面来让用户访问到它们的日程计划与电子邮件等应用。


如果你正在运行一个大型的站点,该大型站点包含一组不同的站点,你可以使用页面模板和站点模板,可以让你安装预定义的页面布局和放置特定的页面应用到页面上,而站点模板则可以让你可以生成一个完整的站点,通过预定的WEB页面,而这些WEB页面则由模板生成。



还有更炫的,如果你有一个大型的站点,会需要许多人在该站点上工作,你不需要在你的每个用户面前保持站点的实时性,你需要有个缓存服务器,保存那些部门内还没有达到发布时间点的更新内容,然后按照发布计划,把缓存服务器上最新更新内容,同步到实时服务器上,缓存服务器可以是一台本地的服务器或者是一台远程的服务器。

缓存服务器上内容的发布支持手工发布和流程自动化发布。


Liferay Portal的WEB内容生成工具也是非常容易使用的,例如你需要一个简单的内容管理能力,你可以直接添加WEB内容展示应用工具到你的页面,并且可以直接使用该工具输入内容,内容生成工具既可以满足简单的内容管理也可以满足复杂的内容管理需求。


例如你想建立一个新闻站点,大多数内容都是某种类型的文章,liferay的内容管理系统可以让你为该站点的信息内容定义一个结构,新闻录入作者的信息可以自动被捕获到按照特定的信息内容结构的格式进行组织。



结构可以确保文章作者提供格式化的信息,例如按照结构的定义,作者需要提供文章的标题和文章类型等等,而这些数据可以无缝的与数据库的表数据进行对接。


WEB内容可以被当做一种站点资产(asset),站点资产包含自身的元数据,这些元数据用来生成类似的站点资产在搜索中或是发布中,例如你可以把TAG与类型元数据赋予那些新闻内容,可以让用户可以较为容易的查找。


当发布新闻的时候,定义的结构会与模板整合,模板是关于展示数据结构的定义,模板使用Freemarker或Velocity模板语言写成,可以整合HTML语言和程序代码,可以保证页面展示的一致性。



你也可以定义较为抽象的WEB资产,例如发布计划,回溯计划,定义关联性资产等等其他的assets.


同时liferay portal也是一个优秀基于文件内容的文件管理系统。


可以跟踪管理文档,图片,视频和其他类型的资料


通常WEB内容管理与文件管理是独立的系统,实际上也会被分成单独不同的项目,但是Liferay Portal可以提供了两类系统的聚合,基于文件的管理系统在liferay portal里被命名为 Documents and Media 它类似你在操作系统管理你的文件。


类似文件管理器,你可以在层级结构下浏览文件与文件夹,你同时也可以装在扩展的其他文档库,例如Documentum(仅仅对商业版本)或任意实现了内容管理交互操作服务的系统(CMIS),你可以进行上传,复制,和移动文件等操作。如果你坚持使用操作系统的文件管理器,也是可以的,因为liferay的Documents and Media library支持WebDAV使用相同的认证。


Liferay portal的documents and media库比文件管理器还要灵活,因为它是完全面向内容管理的,你可以定义各种规则来对文件进行分类,根据不同的使用目的。


例如你可以把元数据集合作为对一个文件分组的依据,可以定义会议标签来分类会议相关的文件,可以包含会议的名字,日期,地点,描述,参加者等,通过这些元数据组,对文档分组,更方便查询与使用,和存档。


目录也可以被设置为只包含某种类型文档,工作流规则也可以添加到文件目录,通过审核节点来控制文件的流转,可以让你在工作组内对文件进行管理与分享。


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
1 What is Liferay? 1 1.1 Building a site with Liferay Web Content . . . . . . . . . . . . . . . . . 1 1.2 Using Liferay Portal as a collaborative platform . . . . . . . . . . . . . . 6 1.3 Using Liferay as a social platform . . . . . . . . . . . . . . . . . . . . . 7 1.4 Using Liferay as a web platform . . . . . . . . . . . . . . . . . . . . . . 8 1.5 Extending and customizing Liferay for your own needs . . . . . . . . . 10 1.6 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2 Web Content Management 13 2.1 Touring Liferay Portal’s User Interface . . . . . . . . . . . . . . . . . . 14 2.2 Setting up the Lunar Resort Example Portal . . . . . . . . . . . . . . . . 14 2.3 Leveraging Liferay’s Multi-site Capabilities . . . . . . . . . . . . . . . . 15 2.4 Features of Liferay’s WCM . . . . . . . . . . . . . . . . . . . . . . . . . 36 2.5 Using Liferay’s Workflow with WCM . . . . . . . . . . . . . . . . . . . 45 2.6 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 3 Advanced Web Content Management 49 3.1 Advanced Content with Structures and Templates . . . . . . . . . . . . 49 3.2 Managing RSS Feeds in Liferay . . . . . . . . . . . . . . . . . . . . . . 59 3.3 Using Site Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 3.4 Using Page Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 3.5 Localization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 3.6 Allowing Users to Customize Site Pages . . . . . . . . . . . . . . . . . . 74 3.7 Scheduling Web Content . . . . . . . . . . . . . . . . . . . . . . . . . . 75 3.8 Staging Page Publication . . . . . . . . . . . . . . . . . . . . . . . . . . 76 i 3.9 Creating Teams for Advanced Site Membership Management . . . . . . 86 3.10 Displaying Site Pages to Mobile Devices . . . . . . . . . . . . . . . . . . 86 3.11 Liferay Monitoring using Google Analytics . . . . . . . . . . . . . . . . 91 3.12 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 4 Configuring Liferay Applications 93 4.1 Look and Feel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 4.2 Export/Import . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 4.3 Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 4.4 Archived Setups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 4.5 Permissions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 4.6 Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 4.7 Sharing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 4.8 Recycling Assets with the Recycle Bin . . . . . . . . . . . . . . . . . . . 105 4.9 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 5 Document Management 113 5.1 Getting Started with the Documents and Media Portlet . . . . . . . . . . 113 5.2 Document Types and Metadata Sets . . . . . . . . . . . . . . . . . . . . 116 5.3 Alternative File Repository Options . . . . . . . . . . . . . . . . . . . . 119 5.4 Using External Repositories . . . . . . . . . . . . . . . . . . . . . . . . 119 5.5 Configuring the Documents and Media portlet . . . . . . . . . . . . . . 124 5.6 Automatic Previews and metadata . . . . . . . . . . . . . . . . . . . . . 125 5.7 Liferay Sync . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 5.8 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 6 Displaying Content Dynamically 141 6.1 Tagging and Categorizing Content . . . . . . . . . . . . . . . . . . . . 141 6.2 Searching for Content in Liferay . . . . . . . . . . . . . . . . . . . . . . 145 6.3 Using the Asset Publisher . . . . . . . . . . . . . . . . . . . . . . . . . 157 6.4 Defining Content Relationships . . . . . . . . . . . . . . . . . . . . . . 167 6.5 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168 7 Targeting Content To Your Audience 169 7.1 Installation and Uninstallation . . . . . . . . . . . . . . . . . . . . . . . 170 7.2 Managing User Segments . . . . . . . . . . . . . . . . . . . . . . . . . 170 7.3 Managing Campaigns . . . . . . . . . . . . . . . . . . . . . . . . . . . 173 7.4 Using the Audience Targeting Applications . . . . . . . . . . . . . . . . 177 7.5 Simulating User Segments and Campaigns . . . . . . . . . . . . . . . . 181 7.6 Liferay Audience Targeting Rules . . . . . . . . . . . . . . . . . . . . . 181 7.7 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185 8 Personalization and Customization 187 8.1 User Personal Sites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187 8.2 Page Customizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189 8.3 Using Application Display Templates . . . . . . . . . . . . . . . . . . . 191 8.4 Using Liferay’s rules engine . . . . . . . . . . . . . . . . . . . . . . . . 196 8.5 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 9 Collaboration Suite 203 9.1 Expressing Yourself Using Blogs . . . . . . . . . . . . . . . . . . . . . . 203 9.2 Managing Events and Resources with Liferay’s Calendar Portlet . . . . . 211 9.3 Discuss, Ask, and Answer Using the Message Boards . . . . . . . . . . . 221 9.4 Working together with the Wiki . . . . . . . . . . . . . . . . . . . . . . 233 ii 9.5 Find out what others think or do using Polls . . . . . . . . . . . . . . . . 239 9.6 Sending Alerts and Announcements in Your Portal . . . . . . . . . . . . 242 9.7 Staying in touch with the Chat . . . . . . . . . . . . . . . . . . . . . . . 246 9.8 Integrating your email with Liferay Mail . . . . . . . . . . . . . . . . . 249 9.9 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251 10 Social Networking 253 10.1 Leveraging Social Portlets, Activities Tracking, and User Connections . . 254 10.2 Measuring Social Activity . . . . . . . . . . . . . . . . . . . . . . . . . 263 10.3 Exporting Portal Apps as Widgets and OpenSocial Gadgets . . . . . . . 265 10.4 Integrating with Facebook . . . . . . . . . . . . . . . . . . . . . . . . . 275 10.5 Integrating with Twitter . . . . . . . . . . . . . . . . . . . . . . . . . . 276 10.6 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277 11 Using Web Forms and Dynamic Data Lists 279 11.1 Building a List Platform in Liferay and Defining Data Types . . . . . . . 279 11.2 Creating Data Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284 11.3 Make it Pretty: Creating Custom Displays . . . . . . . . . . . . . . . . . 286 11.4 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295 12 Using Workflow 297 12.1 Enabling workflow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297 12.2 Creating new workflow definitions . . . . . . . . . . . . . . . . . . . . 298 12.3 Configuring assets to use workflow process definitions . . . . . . . . . . 306 12.4 Using workflow with other applications . . . . . . . . . . . . . . . . . . 309 12.5 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311 13 Kaleo Forms: Defining Business Processes 313 13.1 Kaleo Forms Admin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313 13.2 Kaleo Forms Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319 13.3 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320 14 Liferay Utility Applications 323 14.1 Capturing Web Sites with the Bookmarks Portlet . . . . . . . . . . . . . 323 14.2 Creating Your Own Plugin Repository . . . . . . . . . . . . . . . . . . . 328 14.3 Shopping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334 14.4 Generating Reports in Liferay . . . . . . . . . . . . . . . . . . . . . . . 344 14.5 Knowledgebase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351 14.6 Akismet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357 14.7 Weather . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358 14.8 OAuth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359 14.9 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360 15 Leveraging the Liferay Marketplace 363 15.1 Marketplace Concepts: Users, Companies, and Apps . . . . . . . . . . . 363 15.2 Accessing the Liferay Marketplace . . . . . . . . . . . . . . . . . . . . . 364 15.3 Finding Apps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370 15.4 Downloading and Installing Apps . . . . . . . . . . . . . . . . . . . . . 372 15.5 Creating and Uploading Apps . . . . . . . . . . . . . . . . . . . . . . . 375 15.6 Plugin Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375 15.7 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384 16 User Management 385 16.1 The Users Section of the Control Panel . . . . . . . . . . . . . . . . . . 385 iii 16.2 User Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392 16.3 Roles and Permissions . . . . . . . . . . . . . . . . . . . . . . . . . . . 396 16.4 Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406 16.5 Audit Trails . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407 16.6 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411 17 Using the Control Panel 413 17.1 Configuring Portal Settings . . . . . . . . . . . . . . . . . . . . . . . . 413 17.2 Integrating Existing Users into Liferay . . . . . . . . . . . . . . . . . . 416 17.3 Configuring Additional Portal Settings . . . . . . . . . . . . . . . . . . 429 17.4 Custom Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431 17.5 Server Administration . . . . . . . . . . . . . . . . . . . . . . . . . . . 434 17.6 Portal Instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439 17.7 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440 II Deploying Liferay Portal 441 18 Installation and Setup 443 18.1 Editions of Liferay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443 18.2 Obtaining Liferay Portal . . . . . . . . . . . . . . . . . . . . . . . . . . 444 18.3 Liferay installation overview . . . . . . . . . . . . . . . . . . . . . . . . 444 18.4 Liferay’s database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445 18.5 Liferay Marketplace . . . . . . . . . . . . . . . . . . . . . . . . . . . . 446 18.6 Liferay Home . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447 18.7 Configuring Liferay Portal Security . . . . . . . . . . . . . . . . . . . . 448 18.8 Choosing IPv4 or IPv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . 448 18.9 Installing a bundle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449 18.10 App Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451 18.11 Installing Liferay on an existing application server . . . . . . . . . . . . 452 18.12 Installing Liferay on Mulesoft Tcat . . . . . . . . . . . . . . . . . . . . . 453 18.13 Installing Liferay on GlassFish 4 . . . . . . . . . . . . . . . . . . . . . . 458 18.14 Installing Liferay on JBoss 7.1 . . . . . . . . . . . . . . . . . . . . . . . 464 18.15 Installing Liferay on Tomcat 7 . . . . . . . . . . . . . . . . . . . . . . . 474 18.16 Installing Liferay on Oracle WebLogic 12c (12.1.2 and higher) . . . . . . . 481 18.17 Installing Liferay on WebSphere 8.5 . . . . . . . . . . . . . . . . . . . . 486 18.18 Using Liferay’s setup wizard . . . . . . . . . . . . . . . . . . . . . . . . 493 18.19 Manual Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . 495 18.20 Making Liferay Coexist with Other Java EE Applications . . . . . . . . . 496 18.21 Understanding Liferay’s Releases . . . . . . . . . . . . . . . . . . . . . 496 18.22 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 498 19 Advanced Portal Operation 499 19.1 Backing up a Liferay Installation . . . . . . . . . . . . . . . . . . . . . . 499 19.2 Liferay’s Logging System . . . . . . . . . . . . . . . . . . . . . . . . . . 501 19.3 Patching Liferay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503 19.4 Upgrading Liferay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 506 19.5 Sandboxing Portlets to Ensure Portal Resiliency . . . . . . . . . . . . . 513 19.6 Using Web Services for Remote Portlets (WSRP) . . . . . . . . . . . . . 521 19.7 Remotely Accessing Liferay Services . . . . . . . . . . . . . . . . . . . . 524 19.8 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 527 20 Using Scripting for Advanced Flexibility 529 20.1 Accessing Liferay Services . . . . . . . . . . . . . . . . . . . . . . . . . 529 iv 20.2 Running Scripts from the Control Panel . . . . . . . . . . . . . . . . . . 531 20.3 Leveraging the Script Engine in Workflow . . . . . . . . . . . . . . . . 532 20.4 Custom Java Tools in the Script Engine . . . . . . . . . . . . . . . . . . 534 20.5 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 538 21 Managing Liferay with Liferay Cloud Services 539 21.1 Setting up Your LCS Account . . . . . . . . . . . . . . . . . . . . . . . . 540 21.2 Preconfiguring Your Portal for LCS . . . . . . . . . . . . . . . . . . . . 543 21.3 Configuring the Patching Tool . . . . . . . . . . . . . . . . . . . . . . . 543 21.4 Configuring the LCS Client . . . . . . . . . . . . . . . . . . . . . . . . . 544 21.5 Using LCS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 546 22 Configuring Liferay for High Availability 557 22.1 Liferay Clustering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 558 22.2 Performance Tuning . . . . . . . . . . . . . . . . . . . . . . . . . . . . 576 22.3 Content Delivery Network . . . . . . . . . . . . . . . . . . . . . . . . . 580 22.4 Summary

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

程序员创业营

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值