Open source java CMS - FreeCMS2.6 site setup

Project address: http://www.freeteam.cn/

site settings

Set the properties of the current site.

Click Site Settings from the Admin menu on the left to enter.

 

 

Supported since FreeCMS 2.3

 

 

 

Attributes

illustrate

name

Site name

source file directory name

In English, it is used to store site files. For example, the source file directory of FreeCMS is named "FreeCMS", and the files used by the FreeCMS site will be stored in the root directory /site/FreeCMS/ directory.

domain name

Website domain name, in the website group mode, you can set different domain names for each site, and enter the domain name to directly enter the designated site.

queue number

display order

efficient

validity

external link

If you want this site to link directly to other pages, you can set it here.

LOGO

site logo

copyright

Copyright Information

case number

Record information

page template

FreeCMS site display needs to use template files. The template files are based on freemarker. FreeCMS also provides FreeCMS tag library according to the needs of the system.

Sync resource files

This operation will copy and overwrite the content of the resources folder in the page template to this site, which is mainly used when the content of the resources folder in the template changes.

static scheduling

There are two ways to generate pages at regular intervals and at intervals.

Scheduled generation generates static pages at a specified time every day.

The interval repeat generation will be generated according to the specified time interval. For example, if 10 minutes or 2 hours is specified, the static page will be generated every 10 minutes or every 2 hours.

Information review process

Supported since FreeCMS 2.2

The information review process under this site can be set, and the review level and review role can be customized

Supported since FreeCMS 2.3

The default review process is to publish directly without review.

Remote publishing

Supported since FreeCMS 2.2

The site content can be uploaded to the specified ftp server.

Default editor type

Supported since FreeCMS 2.2

You can set the online editor used by this site, support ueditor, kindeditor, ckeditor.

Supported since FreeCMS 2.3

Types of watermarked images: Informational images and images in informational content

watermark on type

Select the type of watermark to enable, check it to enable, support image watermark and text watermark.

watermark image

watermarked images

Minimum image size to add image watermark

If the target image width or height is smaller than the minimum image size, the image watermark will not be added.

Image watermark transparency

0-100, the smaller the more transparent, the default is 100

Image watermark location

支持随机、左上、右上、左下、右下、中央,并可设置水平垂直偏移量

水印文本

添加水印的文本

添加文本水印的最小图片尺寸

如果目标图片宽或高小于最小图片尺寸,则不添加文本水印。

文本水印字体

可设置水印文本的字体大小(默认30)、字体颜色、字体名称

文本水印透明度

0-100,越小越透明,默认为100

文本水印位置

支持随机、左上、右上、左下、右下、中央,并可设置水平垂直偏移量

静态页面生成目录配置

提示! 如果此页配置有修改,请进行页面的静态化,否则页面访问地址可能出错!

/代表根目录 请不要将多个站点同时设置为根目录,请保证各站点之间不会共用一个生成目录。

变量说明

{site} 站点的源文件目录名

{channel} 按优先规则,提取顺序为栏目的页面标识>索引号>ID

{info} 按优先规则,提取顺序为信息的html索引号>ID

{yyyy} 信息添加时间的年份

{MM} 信息添加时间的月份

{dd} 信息添加时间的日期数

{HH} 信息添加时间的小时数

注意:如果修改了站点的默认生成目录配置,会有以下影响:

1.访问记录(freecms_visit表)需要手工在模板中调用ajaxVisit标签处理。

2.栏目、信息浏览权限设置将失效。

首页生成目录

默认值:/site/{site}

支持变量:{site}

此站点的首页将会生成到此目录

栏目页生成目录

默认值:/site/{site}/{channel}

支持变量:{site},{channel}

必填变量:{channel}

此站点下栏目的相关页面将会生成到此目录

信息页生成规则

默认值:/site/{site}/{channel}/info/{yyyy}/{info}.html

支持变量:{site},{channel},{info},{yyyy},{MM},{dd},{HH}

必填变量:{info}

此站点下信息的相关页面将会生成到此目录

移动APP页生成文件夹名称

默认值:mobile

此站点下移动APP的相关页面将会生成到首页/栏目页/信息页生成目录+此文件夹名称

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326726893&siteId=291194637