1, the CMS in the basecms copy into the Wamp inside the WWW folder,
2, open Wamp, open the URL http://localhost/basecms/core/admin/admin.php (the default port for this URL is 80 port),
3, post-installation content: Http://localhost/basecms/core/install
Database name: CMS or other
The database password is: the password for its own database
4, after the setup is complete, open the wamp\www\basecms\core\config\config.php file and fill in the database name and password.
5, open: Http://localhost/basecms/core/admin fill in the account and password to enter the CMS
First, you should set up the system first
System-system parameter settings (URL address, even if you change the domain name will not affect)
System--data table and data model--Manage data table (build data table)
Manage Fields--add fields or modify fields
Management System Model---------after the change of the post, the contents of the entry can be selected in the outside of the posting address to select the column to add information, options for the next information has an impact.
Management fields, you can add and delete the database. It is important to note that my database is elsewhere, and the data export requires that the database be exported. If you need to contact another data table, you need to add the following information in the New data field modification:
You can display a drop-down list to display the information of the linked data table when the information is added.
Add Column
Increase the number of folders that need to be added in Wamp\www\basecms\skin
Add a column first create a template: list template:
Select the template model so that clicking on "Here" is what we need:
Paste the contents of the template into the content of the page template: <a href= "[!--titleurl--]" class= "List_link" > can set a click to take to the corresponding content template.
List content is repeated in the page template
Content Template: Select the model, paste the code of the content template
Use cookies to temporarily store content and then display it on another page
The following code is wrapped in JSON first and needs to be stored as data.
var arr = [];
Arr[0] = {
"Pic": $ ('. Swiper-slide img '). attr (' src '),
"title": $ (' #_title '). HTML (),
"Sale": $ (' #_save '). HTML (),
"Price": $ ('. _footer H1 span '). HTML (),
};
var json = json.stringify (arr);
$.cookie ("arr", JSON, {
Path: '/'
});
To display the data that is temporarily stored:
var goods = new Array ();
Goods = Json.parse ($.cookie ("arr"), {path: '/'});
var pic=goods[0].pic;
var title=goods[0].title;
var Price=goods[0].price;
var Sale=goods[0].sale;
Recommendations and headlines in the system-system parameters settings-Information settings: You can change the name, you can add information when you recommend to other pages.
Recommended page display need to use smart Tags: templates-Automatically generate labels
Copy the generated label to the page you want to display
Binding items:
You should use script when you need to fill in the information:
$ (document). Ready (function () {
var num=parseint ($ ('. Add_mount_num '). html ());
$ (' #goods_num '). val (num);
var title=$ ("#order_text_1"). html ();
$ (' #goods_title '). Val (title);
var price= $ ("#order_section2 span"). HTML ();
$ (' #goods_price '). Val (price);
})
CMS Download Path: Https://git.oschina.net/wxwphp/CMS
Use and summary of CMS