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 下载后解压 ...
随机推荐
- bing壁纸xml地址
http://www.bing.com/gallery/?src=livesino# http://www.bing.com/HPImageArchive.aspx?format=xml&id ...
- best matched pair
今天的模拟赛,被虐的不行....英文太差,弄不懂题意,弄懂题意了还不会... 感觉快要受不了了... #include <iostream> #include <cstdio> ...
- 2078 Problem H Secret Message 中石油-未提交-->已提交
题目描述 Jack and Jill developed a special encryption method, so they can enjoy conversations without wo ...
- BM算法和Sunday快速字符串匹配算法
BM算法研究了很久了,说实话BM算法的资料还是比较少的,之前找了个资料看了,还是觉得有点生涩难懂,找了篇更好的和算法更好的,总算是把BM算法搞懂了. 1977年,Robert S.Boyer和J St ...
- Warp divergence
Threads are executed in warps of 32, with all threads in the warp executing the same instruction at ...
- gcc提供的原子操作函数
gcc从4.1.2提供了__sync_*系列的built-in函数,用于提供加减和逻辑运算的原子操作.其声明如下: type __sync_fetch_and_add (type *ptr, type ...
- 最小集合(51nod 1616)
A君有一个集合. 这个集合有个神奇的性质. 若X,Y属于该集合,那么X与Y的最大公因数也属于该集合. 但是他忘了这个集合中原先有哪些数字. 不过幸运的是,他记起了其中n个数字. 当然,或许会因为过度紧 ...
- Linux 压缩系列常用命令
tar 命令: http://man.linuxde.net/tar zip 命令: http://man.linuxde.net/zip unzip 命令: http://man.linuxde.n ...
- NYOJ题目113字符串替换
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAr4AAAHvCAIAAAA930vtAAAgAElEQVR4nO3dPVLjysIG4G8T5CyE2A ...
- 写了个简单的pdo的封装类
<?php class PD { //造对象 public $dsn = "mysql:dbname=test2;host=localhost"; //数据库类型,数据库名和 ...