Original address: http://javaz.cn/site/javaz/site_study/info/2015/20454.html
Project Address: http://www.freeteam.cn/
Static management
Freecms uses the concept of site templates so that the site can be displayed after being statically initialized.
1. Home static
From the left side of the admin menu click on the homepage to enter statically.
The system will prompt you directly to the current site for the first page static processing, click the "OK" button.
The system will generate the index.html file as the site home page in this site directory.
2. Static page of columns
From the left side of the admin menu click on the section page to enter statically.
You can select the fields you want to generate, and then click "Generate selected Page" To make the column page static.
If you are the total administrator of this site, you can also click "Generate all columns of this site" to complete the static of all columns of this site.
The system will create a folder with the name of the column ID in this Site directory to hold the static page of this column.
can set how many pages before generating, such as setting only generate pre 10 page, the program only generates the former 10 page static page. If the actual data is less than 10 page, The total number of pages is subject to actual data, if the actual data is more than 10 page, the total number of pages is 10 page.
3. Information page static
Click on the information page from the left side of the admin menu to enter statically.
You can select the columns you want to generate, and then click on "Generate Information page" to make the information page static.
If you are the total administrator of this site, you can also select the "All columns" attribute to Yes, click on the "Generate information page" to complete the information page of all columns of this site is static.
The system generates a . html static page with the information index number in this Site directory / column id/info/yyyy/ directory.
4. Full station static
Support Starting from FREECMS 2.1
From the left side of the admin menu click on the full station static entry.
Click the "Full station Static" button to directly perform the entire station static.
Full station static will be static all the pages of this site, you can also set up a schedule to automatically static full station!
Open source Java cms-freecms2.2 static management