The intermediary transaction SEO diagnoses Taobao guest stationmaster buys the Cloud host technology Hall
With the development of the Internet, local portals and industry web sites continue to attract grassroots webmaster. Many people only know on the Internet to find programs and templates, they even the basis of the program structure of the template files are not clear, even if he downloaded from the Web site template will not be modified, some people will say that this is another template incompatibility caused by many problems. Each program template in addition to the unofficial release, others do a good template you can completely use, inevitably will have to modify some small places. Here I still want to advise you novice webmaster, want to learn to imitate the station or say you download someone else's template you always want to modify point bar.
The author takes discuz_x2 to do the reference, please check in to sit. Before you know it, download and install the latest version of DISCUZ_X2 first.
DISCUZ_X2_SC_GBK Entire Directory
First of all, the next DISCUZ_X2 directory structure, see how those folders are placed files.
Readme folder: Readme English into the description file, as the name implies this folder below, are Discuz and help documents.
Upload folder: Here is the main Discuz program files, including templates.
Utility folder: Files that are primarily stored for upgrade files and conversion programs.
This section of the author is mainly about the upload folder under the put is what things.
Upload Folder
The files in the API directory are primarily business applications that collaborate with discuz! and do not need to be modified. Want to know can ask me alone, most of the files in this directory are now decrypted.
Archiver directory is only a index.php, is often said that no plate procedures of the entrance, this is not generally for people to see, is for the robot to see.
Config directory contains two files, config_global_default.php is the configuration file that you will modify when you install the forum, and the other Config_ucenter_ Default.php is automatically generated, you can not modify the content manually, or you can cause an error.
Files in the data directory are usually dynamically cached files with constants that can be invoked, and of course attachments are saved here.
Install is the directory of the installer, there is no more explanation, here omitted.
The files in the source directory, mainly program files and Plug-ins,
Files in the static directory all belong to static files, such as pictures, JS, and so on.
The files in the template directory are mainly the templates of Forum, portal, space, group, etc.
The files in the uc_client and Uc_server directories are related to the operation of Ucentre, the contents of which are not recommended for modification, and are omitted.
Uc_server directory, the main storage forum member data, and forum avatar.
/admin.php Admin Portal
/api.php Interface File
/category.php classification Entrance
/cp.php Profile Settings Entry
/crossdomain.xml Flash cross-domain transfer files
/favicon.ico System icon
/forum.php Square Entrance
/group.php Group Entrance
/home.php Space Entrance
/index.php Home Entrance
/ivite.php Invitation to process files
/member.php User processing files
/misc.php Miscellaneous processing files
/plugin.php Plug-in processing files
/portal.php site home Entrance (portal) with index.php
/robots.txt search engine Spider limit profile
/search.php Search Portal Files
/userapp.php user applications, games, roaming entry files
Its template is under the Templets folder under its directory
Commonly modified several templates explained below
Default/common below the CSS here is not one of the introduction, because of the basic use of plug-ins do not, interested in the use of their own template style of the author, the same application of the occasion to explain
Block_forumtree.htm Forum Tree List module
Block_thread.htm Theme Module
Block_userinfo.htm User Information Module
Buyinvitecode.htm Invitation Code Purchase
css_sample.htm CSS Sample
Editor.htm Editor
Editor_menu.htm Editor Menu button
extcredits.htm Extension Points list
FAQ.htm Use Help
Footer.htm site at the bottom of the file, the general template file to call this template to normal display bottom information
Footer_ajax.htm ditto
Header.htm header file, general template file to call this file to normal display header information
Header_ajax.htm ditto
Header_common.htm ditto
Header_diy.htm ditto
Invite.htm Invite Registration
Preview.htm, too.
Pubsearchform.htm Search
Report.htm Report
Seccheck.htm Verification Code Check
Seditor.htm Editor
Sendmail.htm Mail Send page
showmessage.htm hint Information page, in the PHP program using the ShowMessage function to use the template is this
Simplesearchform.htm Search
Stat.htm Site Statistics
Userabout User Application Information
\template\default\common folder
/templets template file directory is an important folder, the following also includes squares, forums, homes, groups and other templates. Generally we have to install the style file will be uploaded to the directory below
\template\default\ Style Folder
Look at the above basic introduction, including all the pages, if you know the above documents, modify the online download or imitation station is not a problem.
The directory structure of the program is almost finished, will also be ready to get a video tutorial for everyone's reference, this will be more than accessible, here I would like to remind you, in the use of Macromedia Dreamweaver Open template when you need to pay attention to the label, each label corresponding style effect will be different.
Late at night, today discuz_x2 Imitation Station Tutorial (ON): Beginner discuz_x2 wrote here, the following there are many, the specific number of temporarily unclear, but I guarantee that it will be finished. Some of the most common settings and simple template modifications in the next article.
This article originates from the Wuhu website construction http://www.lingdunet.com/post/199.html, A5 the initial reprint please indicate the source.