Liferay 6.2 改造系列之五:修改默认站点的页面内容
相关页面可以通过/portal-master/portal-impl/src/portal.properties文件配置进行修改:
登录页:
##
## Default Landing Page
##
#
# Set the default landing page path for logged in users relative to the
# server path. This is the page users are automatically redirected to after
# logging in. For example, if you want the default landing page to be
# http://localhost:8080/web/guest/login, set this to /web/guest/login. To
# activate this feature, set auth.forward.by.last.path to true. To customize
# the behavior, see com.liferay.portal.events.DefaultLandingPageAction in
# the "login.events.post" property above.
#
# The following variables can be used: ${liferay:screenName} and
# ${liferay:userId}.
#
default.landing.page.path=
#default.landing.page.path=/web/guest/login
#default.landing.page.path=/user/${liferay:screenName}/home
登出页:
##
## Default Logout Page
##
#
# Set the default logout page path for users relative to the server path.
# This is the page users are automatically redirected to after logging out.
# For example, if you want the default logout page to be
# http://localhost:8080/web/guest/logout, set this to /web/guest/logout. To
# activate this feature, set auth.forward.by.last.path to true. To customize
# the behavior, see com.liferay.portal.events.DefaultLogoutPageAction in
# the "logout.events.post" property above.
#
default.logout.page.path=
#default.logout.page.path=/web/guest/logout
默认站点公开页:
##
## Default Guest Public Layouts
##
#
# The Guest group must have at least one public page. The settings for the
# initial public page are specified in the following properties.
#
# If you need to add more than one page, set the property
# "default.guest.public.layouts.lar" to specifiy a LAR file instead.
#
# For even more complex behavior, override the addDefaultGuestPublicLayouts
# method in com.liferay.portal.service.impl.GroupLocalServiceImpl.
#
#
# Set the name of the public layout.
#
default.guest.public.layout.name=Welcome
#
# Set the layout template id of the public layout.
#
default.guest.public.layout.template.id=2_columns_ii
#
# Set the portlet ids for the columns specified in the layout template.
#
default.guest.public.layout.column-1=58
default.guest.public.layout.column-2=
default.guest.public.layout.column-3=
default.guest.public.layout.column-4=
#
# Set the friendly url of the public layout.
#
default.guest.public.layout.friendly.url=/home
#
# Set the regular theme id for the public layout.
#
#default.guest.public.layout.regular.theme.id=classic
#
# Set the regular color scheme id for the public layout.
#
#default.guest.public.layout.regular.color.scheme.id=01
#
# Set the wap theme id for the public layout. This property is not used
# unless the property "mobile.device.styling.wap.enabled" is set to true.
#
# This property is deprecated and only provided for backwards compatibility.
#
#default.guest.public.layout.wap.theme.id=mobile
#
# Set the wap color scheme for the public layout. This property is not used
# unless the property "mobile.device.styling.wap.enabled" is set to true.
#
# This property is deprecated and only provided for backwards compatibility.
#
#default.guest.public.layout.wap.color.scheme.id=01
#
# Specify a LAR file that can be used to create the guest public layouts.
# If this property is set, the previous layout properties will be ignored.
#
#default.guest.public.layouts.lar=${liferay.home}/deploy/default_guest_public.lar
个人公开站点默认页:
##
## Default User Public Layouts
##
#
# If the properties "layout.user.public.layouts.enabled" and
# "layout.user.public.layouts.auto.create" are both set to true, then users
# will have public layouts and they will be automatically created. The
# settings below are used for the creation of the initial public pages.
#
# If you need to add more than one page, set the property
# "default.user.public.layouts.lar" to specify a LAR file instead.
#
# For even more complex behavior, override the addDefaultUserPublicLayouts
# method in com.liferay.portal.events.ServicePreAction.
#
#
# Set the name of the public layout.
#
default.user.public.layout.name=Welcome
#
# Set the layout template id of the public layout.
#
default.user.public.layout.template.id=2_columns_ii
#
# Set the portlet ids for the columns specified in the layout template.
#
default.user.public.layout.column-1=
default.user.public.layout.column-2=
default.user.public.layout.column-3=
default.user.public.layout.column-4=
#
# Set the friendly url of the public layout.
#
default.user.public.layout.friendly.url=/home
#
# Set the regular theme id for the public layout.
#
#default.user.public.layout.regular.theme.id=classic
#
# Set the regular color scheme id for the public layout.
#
#default.user.public.layout.regular.color.scheme.id=01
#
# Set the wap theme id for the public layout. This property is not used
# unless the property "mobile.device.styling.wap.enabled" is set to true.
#
# This property is deprecated and only provided for backwards compatibility.
#
#default.user.public.layout.wap.theme.id=mobile
#
# Set the wap color scheme for the public layout. This property is not used
# unless the property "mobile.device.styling.wap.enabled" is set to true.
#
# This property is deprecated and only provided for backwards compatibility.
#
#default.user.public.layout.wap.color.scheme.id=01
#
# Specify a LAR file that can be used to create the user public layouts. If
# this property is set, the previous layout properties will be ignored.
#
#default.user.public.layouts.lar=${liferay.home}/deploy/default_user_public.lar
个人私有站点默认页:
##
## Default User Private Layouts
##
#
# If the properties "layout.user.private.layouts.enabled" and
# "layout.user.private.layouts.auto.create" are both set to true, then users
# will have private layouts and they will be automatically created. The
# settings below are used for the creation of the initial private pages.
#
# If you need to add more than one page, set the property
# "default.user.private.layouts.lar" to specifiy a LAR file instead.
#
# For even more complex behavior, override the addDefaultUserPrivateLayouts
# method in com.liferay.portal.events.ServicePreAction.
#
#
# Set the name of the private layout.
#
default.user.private.layout.name=Welcome
#
# Set the layout template id of the private layout.
#
default.user.private.layout.template.id=2_columns_ii
#
# Set the portlet ids for the columns specified in the layout template.
#
default.user.private.layout.column-1=11
default.user.private.layout.column-2=
default.user.private.layout.column-3=
default.user.private.layout.column-4=
#
# Set the friendly url of the private layout.
#
default.user.private.layout.friendly.url=/home
#
# Set the regular theme id for the private layout.
#
#default.user.private.layout.regular.theme.id=classic
#
# Set the regular color scheme id for the private layout.
#
#default.user.private.layout.regular.color.scheme.id=01
#
# Set the wap theme id for the private layout. This property is not used
# unless the property "mobile.device.styling.wap.enabled" is set to true.
#
# This property is deprecated and only provided for backwards compatibility.
#
#default.user.private.layout.wap.theme.id=mobile
#
# Set the wap color scheme for the private layout. This property is not used
# unless the property "mobile.device.styling.wap.enabled" is set to true.
#
# This property is deprecated and only provided for backwards compatibility.
#
#default.user.private.layout.wap.color.scheme.id=01
#
# Specify a LAR file that can be used to create the user private layouts. If
# this property is set, the previous layout properties will be ignored.
#
#default.user.private.layouts.lar=${liferay.home}/deploy/default_user_private.lar
Liferay 6.2 改造系列之五:修改默认站点的页面内容的更多相关文章
- Liferay 6.2 改造系列之二十三:修改Liferay原始主题中"技术支持:Liferay"字样
1.修改主题模板文件,具体位置如下 (1) portal-master\portal-web\docroot\html\themes\_unstyled\templates\portal_normal ...
- Liferay 6.2 改造系列之二十:修改默认添加用户权限及用户是否拥有个人站点的配置
1.修改默认添加用户权限为User,而非Powers User: 在/portal-master/portal-impl/src/portal.properties文件中有如下配置: # # Inpu ...
- Liferay 6.2 改造系列之六:修改系统初始化信息
将初始化过程修改为:中文语言 在/portal-master/portal-impl/src/system.properties文件中,有如下配置: # # Set the default local ...
- Liferay 6.2 改造系列之二:清理不需要的Portlet
一.特殊Portlet: 以下Portlet数据特殊用途的Portlet,去除后会出现运行错误: 1.站点模版 通过com.liferay.portal.events.AddDefaultLayout ...
- phpnow修改默认站点根目录的方法
本文转载自:http://blog.csdn.net/andy_eeipla/article/details/7832082 对于phpnow,经测试,修改Apache-20\conf\extra\h ...
- Liferay 6.2 改造系列之八:修改默认安装的Portlet项目War包
Liferay默认在Tomcat.Jetty等服务器情况下,自动安装marketplace-portlet-6.2.0.1.war包,实现应用商店的自动部署,一般不需要应用商店,故删除以下包即可: / ...
- Liferay 6.2 改造系列之十五:修改默认可用语言
在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Specify the locales that are enabled ...
- Liferay 6.2 改造系列之二十一:修改WebSphare下JSONWS服务不生效的BUG
问题原因是WebSphare下,servletContext.getContextPath()获取到的值为“/”而非空字符串. 在/portal-master/portal-impl/src/com/ ...
- Liferay 6.2 改造系列之十一:默认关闭CDN动态资源
在行业客户中,一般无法提供CDN服务,因此默认关闭CDN动态资源功能: 在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # ...
随机推荐
- 【leetcode】atoi (hard) ★
虽然题目中说是easy, 但是我提交了10遍才过,就算hard吧. 主要是很多情况我都没有考虑到.并且有的时候我的规则和答案中的规则不同. 答案的规则: 1.前导空格全部跳过 “ 123” ...
- vs2010:fatal error LNK1123: 转换到 COFF 期间失败
解决方法: 项目\属性\配置属性\清单工具\输入和输出\嵌入清单:原来是“是”,改成“否”.
- win8访问win7中的共享文件夹 映射网络驱动器
同一个局域网内,配置好了一台win7(假设计算机名为A)的共享文件夹,设置方法可以参考http://www.doudouxitong.com/guzhang/xitongjiqiao/2014/082 ...
- October 7th 2016 Week 41st Friday
The land didn't move, but moved; the sea was not still, yet was still. 大地止而亦行,大海动而亦静. Remember that ...
- Redis基础命令
redis本身不区分命令的大小写,这里一律用小写,以下是部分简单的命令. 1.连接操作命令 quit:关闭连接(connection) auth:简单密码认证 help cmd: 查 ...
- linux下U盘文件只读的解决办法
. 在终端运行如下命令 tail -f /var/log/syslog . 插入有只读文件系统故障的U盘 . 观察命令行输出 输出局部如下: Jul :: cslouis-pc kernel: [15 ...
- C++中实现对象的clone()
在C#中,许多对象自动实现了clone函数,在C++中,要拷贝一个对象,除了自定义一个拷贝构造函数来实现对象复制外,还可以像C#中那样实现一个clone函数,这需要借助编译器实现的一个隐藏拷贝构造函数 ...
- Codeforces Round #304 C(Div. 2)(模拟)
题目链接: http://codeforces.com/problemset/problem/546/C 题意: 总共有n张牌,1手中有k1张分别为:x1, x2, x3, ..xk1,2手中有k2张 ...
- iOS中的两种主要架构及其优缺点浅析
凡是程序的开发者,应该对程序的架构都不陌生.一个程序的架构的好坏对这个程序有着非常重要的作用.今天我们来看一下iOS开发中用要的两种主流的程序架构.这个过程中我们主要以例子的形式展开. 我们来看第一种 ...
- AngularJS 控制器 ng-controller
AngularJS 控制器 控制 AngularJS 应用程序的数据. AngularJS 控制器是常规的 JavaScript 对象. AngularJS 应用程序被控制器控制. ng-contro ...