Liferay 6.2 改造系列之五:修改默认站点的页面内容

时间:2023-02-07 23:47:16

相关页面可以通过/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 改造系列之五:修改默认站点的页面内容的更多相关文章

  1. Liferay 6.2 改造系列之二十三:修改Liferay原始主题中"技术支持:Liferay"字样

    1.修改主题模板文件,具体位置如下 (1) portal-master\portal-web\docroot\html\themes\_unstyled\templates\portal_normal ...

  2. Liferay 6.2 改造系列之二十:修改默认添加用户权限及用户是否拥有个人站点的配置

    1.修改默认添加用户权限为User,而非Powers User: 在/portal-master/portal-impl/src/portal.properties文件中有如下配置: # # Inpu ...

  3. Liferay 6.2 改造系列之六:修改系统初始化信息

    将初始化过程修改为:中文语言 在/portal-master/portal-impl/src/system.properties文件中,有如下配置: # # Set the default local ...

  4. Liferay 6.2 改造系列之二:清理不需要的Portlet

    一.特殊Portlet: 以下Portlet数据特殊用途的Portlet,去除后会出现运行错误: 1.站点模版 通过com.liferay.portal.events.AddDefaultLayout ...

  5. phpnow修改默认站点根目录的方法

    本文转载自:http://blog.csdn.net/andy_eeipla/article/details/7832082 对于phpnow,经测试,修改Apache-20\conf\extra\h ...

  6. Liferay 6.2 改造系列之八:修改默认安装的Portlet项目War包

    Liferay默认在Tomcat.Jetty等服务器情况下,自动安装marketplace-portlet-6.2.0.1.war包,实现应用商店的自动部署,一般不需要应用商店,故删除以下包即可: / ...

  7. Liferay 6.2 改造系列之十五:修改默认可用语言

    在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Specify the locales that are enabled ...

  8. Liferay 6.2 改造系列之二十一:修改WebSphare下JSONWS服务不生效的BUG

    问题原因是WebSphare下,servletContext.getContextPath()获取到的值为“/”而非空字符串. 在/portal-master/portal-impl/src/com/ ...

  9. Liferay 6.2 改造系列之十一:默认关闭CDN动态资源

    在行业客户中,一般无法提供CDN服务,因此默认关闭CDN动态资源功能: 在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # ...

随机推荐

  1. Could not load file or assembly or one of its dependencies. 试图加载格式不正确的程序。

    当我把编译好的程序托管到IIS下后,访问时出现了以下问题,服务器环境是IIS 7,操作系统 Windows server 2008 r2 64位. 出现上述问题的原因是,所加载的程序集中有32位的,也 ...

  2. Git可视化极简易教程 —— Git GUI使用方法

    前言 之前一直想一篇这样的东西,因为最初接触时,我也认真看了廖雪峰的教程,但是似乎我觉得讲得有点多,而且还是会给我带来很多多余且重复的操作负担,所以我希望能压缩一下它在我工作中的成本,但是搜索了一下并 ...

  3. QAQ

    贴吧怎么了最近多了一些脑残帖子 回答完问题你追我 ? 你追你mb你车费都凑不够. 答着答着你也许就哭了 我哭你mb 老子脑袋又没病 . 英国最最虐心的调查 ,我虐你mb还英国 你出过省吗? 晚上回家 ...

  4. shell脚本中的特殊符号

    1.{} 大括号:用法一:通配符扩展eg: ls my_{finger,toe}s这条命令相当于如下命令的组合:ls my_fingers my_toeseg: mkdir {userA,userB, ...

  5. ASP.NET操作Word的IIS权限配置

    ASP.NET账号在默认情况下是没有权限操作Microsoft Office对象的,如果不进行权限的配置,代码会抛出类似以下的异常: 检索 COM 类工厂中 CLSID 为 {00024500-000 ...

  6. HTML5+移动APP(2)

    原理: html 页面负责内容: ui 负责页面样式: js 负责调用原生app方法. html5: html5这部分负责页面,也就是app中你看到的东西,大概的架构和内容 ui: mui 介绍:和H ...

  7. linux下制作共享库.a和 .so

    接触linux时间不长,总是感觉底气不足,很多东西总是感到迷迷糊糊,其实是因为没找拿到linux C的两把钥匙: makefile和动态库.共享库.linux C中几乎所有的程序都是以库的形式给出,如 ...

  8. robot framework 使用三:他们主动浏览器的兼容性

    robot framework 浏览器兼容性测试 上图中黄色圈的地方默认什么都不写,是firefox浏览器.写上ie就是ie浏览器了 firefox最新版本号即可,ie须要设置: 1. IE选项设置的 ...

  9. 2014阿里实习生面试题——mysql如何实现的索引

    这是2014北京站的两副面孔阿里实习生问题扯在一起: 在MySQL中.索引属于存储引擎级别的概念,不同存储引擎对索引的实现方式是不同的,比方MyISAM和InnoDB存储引擎. MyISAM索引实现: ...

  10. Java 集合 fail-fast机制 [ 转载 ]

    Java 集合 fail-fast机制 [转载] @author chenssy 摘要:fail-fast产生原因.解决办法 在JDK的Collection中我们时常会看到类似于这样的话: 例如,Ar ...