# 03 注册门户模板与整体皮肤的绑定关系


在安装目录文件 webapps/seeyon/portal/config/portal_skin_choice/portal_skin_choice.xml 中注册门户模板与整体皮肤的绑定关系,添加内容如下所示:

<PortalSkinChoices> <!-- 以下是需要添加的部份 -->
	<PortalSkinChoice>
		<id>6977749752117152012</id>
		<templateId>2000000001</templateId>
		<entityType>group</entityType>
		<entityId>0</entityId>
		<currentAccountid>0</currentAccountid>
		<skinStyle>4000000001</skinStyle>
	</PortalSkinChoice> <!-- 以上是需要添加的部份 -->
</PortalSkinChoices>
  • PortalSkinChoice 标签标识门户模板绑定哪套整体皮肤;
  • id 是门户模板与整体皮肤绑定关系的唯一标识;
  • templateId 为门户模板ID;
  • entityType 为组织模型类型,这里默认为group;
  • entityId 为组织模型ID,这里默认为0;
  • currentAccountid 为当前单位ID,这里默认为0;
  • skinStyle 表示整体皮肤ID;
    编撰人:chuhc