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 下载后解压 ...
随机推荐
- cookie相关内容
----客户端删除cookie <script type="text/javascript"> function DelC ...
- HTML 基础
1.HTML 超文本标记语言 2.网页分类: 动态网页 静态网页 ①静态网页与动态网页区别: 主要:动态网页与数据库链接,静态网页不与数据库连接: ②静态网页 修改展示图片 必须修改源代码 : ...
- 【leetcode】 Interleaving String (hard)
Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. For example,Given:s1 = ...
- 单独编译osgQt模块 Qt moc
从alphapixel网站下载了OSG3.0.1VS2010x64版本的库,但是里面不包括osgQt模块,于是得自己编译 *************osgQtx64.zip工程文件可以去本博客园的“文 ...
- 在springMVC的controller层获取view层的参数的方式
方法一:request.getParameter("name") 方法二:注解@RequestParam @RequestMapping("testRequestPara ...
- TortoiseSVN中Branching和Merging实践
转自:http://blog.csdn.net/eggcalm/article/details/6606520 使用svn几年了,一直对分支和合并敬而远之,一来是因为分支的管理不该我操心,二来即使涉及 ...
- MVC下HtmlHelper自带BeginForm表单提交与异步Ajax请求
假如有一个数据表格UserInfo: public class UserInfo { public int Id { get; set; } public string Name { get; set ...
- NYOJ题目842整除的尾数
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAsUAAAIMCAIAAACSTkYzAAAgAElEQVR4nO3dO3KjzBrG8bMJ5VqIYx ...
- RST_n的问题
有一个灰常郁闷的问题... module CLK_Generater( input CLOCK_100, i ...
- win7下python3.4 ImportError: No module named 'MySQLdb'错误解决方法
首先,安装PyMySQL C:\Users\fnngj>python -m pip install PyMySQL 执行以下命令会报错: ImportError: No module named ...