Liferay 6.2 改造系列之二:清理不需要的Portlet
一、特殊Portlet:
以下Portlet数据特殊用途的Portlet,去除后会出现运行错误:
1、站点模版
通过com.liferay.portal.events.AddDefaultLayoutSetPrototypesAction类,系统初始化站点模版时,使用到如下Portlet
Intranet Site模版:
首页:
116 活动 (Activities)
3 查询(Search)
82 语言 (Language)
101 Asset Publisher
文档页:
20 文档媒体库 (Documents and Media)
101 Asset Publisher
新闻页:
39 RSS
Community Site模版:
首页:
19 留言板 (Message Boards)
3 查询(Search)
59 问卷调查展示 (Polls Display)
180 用户统计 (User Statistics)
101 Asset Publisher
Wiki页:
36 Wiki
122 Asset Categories Navigation
148 Asset Tags Cloud
清理方法:
删除com.liferay.portal.events.AddDefaultLayoutSetPrototypesAction类,并在liferay-portlet.xml、portlet-custom.xml中去除以上portlet的定义;
2、页面模版
通过com.liferay.portal.events.AddDefaultLayoutPrototypesAction类,系统初始化页面模版时,使用到如下Portlet
Blog页:
33 博客 (Blogs)
148 Asset Tags Cloud
114
Content Display Page页:
141 近期博主 (Recent Bloggers)
122 Asset Categories Navigation
3 查询(Search)
101 Asset Publisher
Wiki页:
36 Wiki
122 Asset Categories Navigation
141 近期博主 (Recent Bloggers)
清理方法:
删除com.liferay.portal.events.AddDefaultLayoutPrototypesAction类,并在liferay-portlet.xml、portlet-custom.xml中去除以上portlet的定义;
3、管理员注册流程
11 Portal目录 (Portal Directory)
4、基本功能+管理功能
2 我的账户(My Account)
9 管理(Admin)
48 IFrame
49 Site Redirector
58 Login
86 Portlet Configuration
88 Layouts Admin
90 Portal
103 Tags Compiler
113 Portlet CSS
118 Nested Portlets
119 Asset
124 Social
125 Users Admin
127 User Groups Admin
128 Roles Admin
129 Password Policies Admin
130 Portal Settings
132 Plugins Admin
133 Portlet Sharing
134 Sites Admin
135 Admin Instances
137 Admin Server
139 Expando
140 My Pages
142 Flags
145 Dockbar
146 Page Templates
149 Site Templates
156 Group Pages
160 Control Panel Menu
165 Site Settings
170 Staging Bar
172 Asset Browser
174 Site Memberships Admin
185 Site Browser
190 Control Panel Home
191 Site Teams Admin
192 Site Template Settings
二、删除其余portlet
在/portal-web/docroot/WEB-INF目录下,分别在liferay-display.xml、liferay-portlet.xml、portlet-custom.xml文件中注释或删除其余Portlet相关定义即可。
即如下Portlet清单:
10 地址簿(Address Book)
15 Journal
16 货币转换器 (Currency Converter)
23 字典 (Dictionary)
25 Polls
26 翻译器 (Translator)
27 单位换算器 (Unit Converter)
28 书签 (Bookmarks)
29 我的站点 (My Sites)
30 网络工具 (Network)
31 媒体库 (Media Gallery)
33 博客 (Blogs)
34 购物 (Shopping)
47 Hello World
50 Hello Velocity
54 Wiki展示 (Wiki Display)
56 Journal Content
61 贷款计算器 (Loan Calculator)
62 Journal Articles
64 最近下载 (Recent Documents)
66 网页代理 (Web Proxy)
67 亚马逊排名 (Amazon Rankings)
70 密码生成器 (Password Generator)
71 导航 (Navigation)
73 路径导航 (Breadcrumb)
77 网页内容搜索 (Journal Content Search)
83 通知 (Alerts)
84 公告 (Announcements)
85 站点地图 (Site Map)
97 便签 (Quick Note)
98 Software Repository
99 Asset Tag Admin
100 邀请 (Invitation)
102 XSL内容 (XSL Content)
107 页面评论 (Page Comments)
108 页面评价 (Page Ratings)
110 文档与媒体展示 (Documents and Media Display)
114 近期博主 (Recent Bloggers)
115 博客聚合 (Blogs Aggregator)
121 请求 (Requests)
131 系统监视器 (Monitoring)
141 Asset Tags Navigation
143 页面标记 (Page Flags)
147 Asset Category Admin
150 工作流任务 (Workflow Tasks)
151 工作流 (Workflow)
152 工作流配置 (Workflow Configuration)
153 我的工作流任务 (My Workflow Tasks)
154 Wiki (Wiki Admin)
157 提交的任务 (Workflow Instances)
158 我提交的任务 (My Workflow Instances)
161 博客 (Blogs)
162 留言板 (Message Boards Admin)
164 Fast Login
166 动态数据映射(DDM) (Dynamic Data Mapping)
167 动态数据列表 (Dynamic Data Lists)
169 动态数据列表显示 (Dynamic Data List Display)
173 Summary
175 相关Assets (Related Assets)
176 License管理器 (License Manager)
178 移动设备类 (Mobile Device Rules)
179 社交活动 (Social Activity)
181 群组统计 (Group Statistics)
182 回收站 (Trash)
184 站点目录 (Sites Directory)
186 好友列表 (Friends Directory)
187 站点成员列表 (Site Members Directory)
188 我的站点列表 (My Sites Directory)
193 访问最多的Assets (Most Viewed Assets)
194 评价最高的Assets (Highest Rated Assets)
Liferay 6.2 改造系列之二:清理不需要的Portlet的更多相关文章
- Liferay 6.2 改造系列之二十三:修改Liferay原始主题中"技术支持:Liferay"字样
1.修改主题模板文件,具体位置如下 (1) portal-master\portal-web\docroot\html\themes\_unstyled\templates\portal_normal ...
- Liferay 6.2 改造系列之二十四:修改liferay密码的加密方式
为了便于后期与Cas集成过程中使用数据库用户的方便,将liferay密码的加密方式改为SHA. 在/portal-master/portal-impl/src/portal.properties配置文 ...
- Liferay 6.2 改造系列之二十一:修改WebSphare下JSONWS服务不生效的BUG
问题原因是WebSphare下,servletContext.getContextPath()获取到的值为“/”而非空字符串. 在/portal-master/portal-impl/src/com/ ...
- Liferay 6.2 改造系列之二十二:如何发布WAR包
1.修改web资源并发布 如果修改了默认主题信息,需执行portal-web中的build-themes任务: 执行portal-web中的deploy任务: 2.修改portal-impl中的jav ...
- Liferay 6.2 改造系列之二十:修改默认添加用户权限及用户是否拥有个人站点的配置
1.修改默认添加用户权限为User,而非Powers User: 在/portal-master/portal-impl/src/portal.properties文件中有如下配置: # # Inpu ...
- Liferay 6.2 改造系列之八:修改默认安装的Portlet项目War包
Liferay默认在Tomcat.Jetty等服务器情况下,自动安装marketplace-portlet-6.2.0.1.war包,实现应用商店的自动部署,一般不需要应用商店,故删除以下包即可: / ...
- Liferay 6.2 改造系列之十八:修改登录Portlet配置,去除无用链接
在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Input a list of sections that will b ...
- Liferay 6.2 改造系列之十二:修改Portal设置页面表单内容
将Portal设置页面中无用的内容删除: 在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Input a list of ...
- Liferay 6.2 改造系列之一:源码编译和服务启动
一.导入源码 源码可以从Liferay的官方网站上下载.http://www.liferay.com/downloads/liferay-portal/available-releases 下载后解压 ...
随机推荐
- Java for LeetCode 228 Summary Ranges
Given a sorted integer array without duplicates, return the summary of its ranges. For example, give ...
- Java for LintCode 验证二叉查找树
给定一个二叉树,判断它是否是合法的二叉查找树(BST) 一棵BST定义为: 节点的左子树中的值要严格小于该节点的值. 节点的右子树中的值要严格大于该节点的值. 左右子树也必须是二叉查找树. ...
- Effective C++ -----条款13:以对象管理资源
为防止资源泄漏,请使用RAII(Resource Acquisiton Is Initialization) 对象,它们在构造函数中获得资源并在析构函数中释放资源. 两个常被使用的RAII class ...
- NIS 报错No such map passwd.byname. Reason: Can't bind to server which serves this domain
在NIS—client端使用命令:ypcat passwd ,把错如上题, 原因:client端ypbind服务未启动解决方法:当然是启动ypbind了,命令:service ypbind start ...
- 【XLL 文档翻译】【第1部分】 Add-in 管理器 和 XLL 接口函数
xlAddInManagerInfo/xlAddInManagerInfo12 在 Excel 会话中,每一次调用 Add-In 管理器时,系统会调用这两个函数.此函数可以在 Add-In 管理器中提 ...
- Delphi 2010 Can't load package C:\Programme\Afalinasoft\Add-in Express 2\d5units\adxwizardd5.bpl.
"Can't load package C:\Programme\Afalinasoft\Add-in Express 2\d5units\adxwizardd5.bpl. Componen ...
- webApp路由控制-vue-router2.0
安装 直接下载 / CDN https://unpkg.com/vue-router 中文api: http://router.vuejs.org/zh-cn/index.html
- mongoose学习笔记1--基础知识1
今天我们将学习Mongoose,什么是Mongoose呢,它于MongoDB又是什么关系呢,它可以用来做什么呢? MongoDB是一个开源的NoSQL数据库,相比MySQL那样的关系型数据库,它更显得 ...
- oracle sqlplus存储过程控制台输出信息
如果你是使用PL/sql工具,在command 窗口下执行set serveroutput on 然后exec sp;可以看到了或者在sqlplus 中执行上面的代码
- 模拟赛1029d2
[问题描述]祖玛是一款曾经风靡全球的游戏,其玩法是:在一条轨道上初始排列着若干个彩色珠子,其中任意三个相邻的珠子不会完全同色.此后,你可以发射珠子到轨道上并加入原有序列中.一旦有三个或更多同色的珠子变 ...