CMS is a content management system, mainly used to do business stations, that is to say we see the vast majority of the online enterprise station is done with this, there are very few are written with the source code
How do I install it?
1. Download the installation package and unzip it from the website search
2. Click on the folder to display two
3. There are two folders, the Install_package directory of all files uploaded to the website, and open the network HTTP//your domain name/install/index.php.
4. Click to start the installation, go to the next environment detection, functional impact, as long as it is green tick can be installed next
5. The new installation includes Phpsso (Phpsso is a single sign-on system developed with PHP. In multiple application systems that access Phpsso, users can access all trusted applications with only one login. Other modules installed as required
6. All directories in the list must be writable to detect the success point "next" to continue
7. Setting the default database connection and administrator account
8. Successful Installation
9. View the post-installation site homepage
10. Background landing Page
11. Backstage Home
When you're done, let's take a look at some simple operations and perceptions.
1. My panel
Modify personal Information
Change Password
Generate home page is that I changed the homepage or modified the first page, click to regenerate, equivalent to the previous saved page deleted
2. Setting the interface
Site management is equivalent to a server
You can also click Edit to proceed
Basic settings
To know where to store the transferred path later
Security settings
Safety of main control systems
3. Module
The module on the left is the module to be used inside the website.
4. The most important thing in the background is content
Changes to the front-end pages will be made when the content is modified
Take a look at the content-related settings first
Management Section
The columns here correspond to the front-end menu navigation
Manage Content
Manage the contents of the column are listed
Click Products
This is already there, click Add Content
You can select a model when adding a column
Choose the article model when you are in general use
Basic is defined, of course, can be modified, modify the time is equal to the operation of the database
Superior column, if do a level column is no superior
If you do 2.3 level column, you need to find the superior column
Template settings you need to be aware
Column Homepage Template: category.html This represents the column page
Column list template: list.html Only one level column
Content page Template: show.html
User: is a member of the website
How do I change the template?
Click Phpcms
There's a default in it. Create a new folder in this area
A template called a test
Open default there are many folders
The main use of the content folder
So in the test also create a new folder called Content
You can throw a template file in it.
Throw a home template file first
Open it and write something.
Refresh from the background, with your own template
How to modify the template in the following steps
1. Click on the interface to view the template style
See if the test we just added is enabled, click Enable
2. Click Settings, click Site Management
Click Edit
Template style Configuration
Select Point on Ceshi click OK
Then update the next Cache Generation ere page click on the site homepage to be able to
A lot of the content is related to the template.
Model Management
Look for a change.
Available styles are optional
Management Section
Template settings You can also choose a style here
Manage Content
Just find something.
You can also choose to have a link here.
If the webpage needs to use the style sheet, JS, the picture file needs to keep the file to where?
Thrown into the Install_package folder inside the Statics
These should be placed in the corresponding position, can also be put here, it is more troublesome to use, replace the time is not good replacement, if placed in a well-defined place, easy to replace
This is a specification, the position is very important, can not be put in disorder
PHPCMS Concept Beginner