摘要: 为了便于后期与Cas集成过程中使用数据库用户的方便,将liferay密码的加密方式改为SHA。 在/portal-master/portal-impl/src/portal.properties配置文件中,有如下配置: #passwords.encryption.algorithm=BCRYPT/1 阅读全文
posted @ 2016-05-03 12:45 俊雨廷休 阅读(856) 评论(0) 推荐(0) 编辑
摘要: 1、修改主题模板文件,具体位置如下 (1) portal-master\portal-web\docroot\html\themes\_unstyled\templates\portal_normal.vm (2) portal-master\portal-web\docroot\html\them 阅读全文
posted @ 2016-05-03 12:44 俊雨廷休 阅读(417) 评论(0) 推荐(0) 编辑
摘要: 1、修改web资源并发布 如果修改了默认主题信息,需执行portal-web中的build-themes任务; 执行portal-web中的deploy任务; 2、修改portal-impl中的java文件并发布 执行portal-impl中的clean、compile、deploy任务; 3、发布 阅读全文
posted @ 2016-05-03 12:42 俊雨廷休 阅读(404) 评论(1) 推荐(0) 编辑
摘要: 问题原因是WebSphare下,servletContext.getContextPath()获取到的值为“/”而非空字符串。 在/portal-master/portal-impl/src/com/liferay/portal/spring/context/PortalContextLoaderL 阅读全文
posted @ 2016-05-03 12:41 俊雨廷休 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 1、修改默认添加用户权限为User,而非Powers User: 在/portal-master/portal-impl/src/portal.properties文件中有如下配置: # # Input a list of default role names separated by \n cha 阅读全文
posted @ 2016-05-03 12:40 俊雨廷休 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Input a list of sections that will be included as part of the form when # updating a s 阅读全文
posted @ 2016-05-03 12:38 俊雨廷休 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: 修改为: # # Input a list of sections that will be included in login form navigation. # login. 阅读全文
posted @ 2016-05-03 12:37 俊雨廷休 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Set this to true if users are shown that they do not have access to a # portlet. The p 阅读全文
posted @ 2016-05-03 12:36 俊雨廷休 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: 修改为: # # Specify the locales that are enabled by default. # locales.enabled=zh_CN,en_US # 阅读全文
posted @ 2016-05-03 12:34 俊雨廷休 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: 修改为: # # Set this to true to enable OpenId authentication. If set to true, then the # prop 阅读全文
posted @ 2016-05-03 12:34 俊雨廷休 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Input a list of sections that will be included as part of the organization # form when 阅读全文
posted @ 2016-05-03 12:33 俊雨廷休 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 为简化用户编辑,删除无用内容: 在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Input a list of sections that will be included as part of the user for 阅读全文
posted @ 2016-05-03 12:31 俊雨廷休 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 将Portal设置页面中无用的内容删除: 在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Input a list of sections that will be included as part of the com 阅读全文
posted @ 2016-05-03 12:30 俊雨廷休 阅读(803) 评论(0) 推荐(0) 编辑
摘要: 在行业客户中,一般无法提供CDN服务,因此默认关闭CDN动态资源功能: 在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Set this to true to enable serving dynamically gen 阅读全文
posted @ 2016-05-03 12:28 俊雨廷休 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 1、关闭自动登录功能: 在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Set this to true to allow users to select the "remember me" feature to # a 阅读全文
posted @ 2016-05-03 12:27 俊雨廷休 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 为了让用户信息更贴近实际需求,修改如下信息: 1、让登录名可以使用数字、“.”、“_”等 在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Set this to true when you want the valida 阅读全文
posted @ 2016-05-03 12:25 俊雨廷休 阅读(348) 评论(0) 推荐(0) 编辑
摘要: Liferay默认在Tomcat、Jetty等服务器情况下,自动安装marketplace-portlet-6.2.0.1.war包,实现应用商店的自动部署,一般不需要应用商店,故删除以下包即可: /portal-master/portal-impl/src/com/liferay/portal/d 阅读全文
posted @ 2016-05-03 12:23 俊雨廷休 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 关闭使用条款确认: 在/portal-master/portal-impl/src/portal.properties配置文件中,有如下配置: # # Set this to true if all users are required to agree to the terms of use. # 阅读全文
posted @ 2016-05-03 12:22 俊雨廷休 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 将初始化过程修改为:中文语言 在/portal-master/portal-impl/src/system.properties文件中,有如下配置: # # Set the default locale used by Liferay. This locale is no longer set at 阅读全文
posted @ 2016-05-03 12:20 俊雨廷休 阅读(656) 评论(0) 推荐(0) 编辑