Open-source free Java CMS-freecms how to develop a website

Source: Internet
Author: User

:Http://code.google.com/p/freecms/ 

 

How to develop a website

 

1. Create a site

Create a new site in site management, such as "test site"


 

2. Create a template

Create a new template in template management, such as "test site template"

3. Site setting Template

Set the template used by the site in site settings

4. Development Template

After the template is created, three files are created by default.

Homepage. html: the homepage of the website that uses this template is generated using this file.

Bar page. html: the default template page under the site that uses this template.

Information page. html: the default template page for the information under the site that uses this template.

You can modify these three template files as needed, or add new template files for the site.

Images, JS files, styles, and other files that this template depends on can be placed in the resources folder under the template (if this folder is not available, create it ), you can use "Synchronize resource files" in site settings to copy the latest resources folder content of this template and overwrite the resources folder under the site.

5. Static

After the template file is developed, you can use static management to generate site pages. There are three main generation methods.

Static homepage: generate the static homepage of the current management site.

Static column page: generate a static page for a specified column.

Static information page: generate a static page with specified information.

6. Preview

After the site is static, You can preview the site.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.