Recently, many people are very interested in tsys. What you don't know is that tsys's asp version has been stopped for a long time. In order not to let such a good thing be buried, I am in the asp version of tsys.
On the basis of this, a more powerful cms is re-developed using PHP, and its name is blackhand. This version retains all the advantages of tsys. In addition, it shields the disadvantages of tsys and adds
A lot of great functions, if you are interested, you can take a look.
In addition, the asp version of tsys requires the webmaster to write asp scripts. Similarly, for flexibility, this PHP version requires the webmaster to write PHP scripts. Only in this way can the webmaster be more flexible, it can be used for other features that cms does not dare to involve or never can do. this is the true meaning of tsys!
PHP tsys browser page: Http://hi.baidu.com/see7di/blog/item/4daf1955bd555bc8b745ae93.html
PHP tsys: Http://download.csdn.net/source/3248406
How does Tsys modify the static page generation format?
You do not need to modify it. If you want to change the original 2004/0730/***. htm format to 20040730/***. htm, find the CreateFile_Fun.asp file in the Manage/Include directory. First, find the logical storage path of the generated file.
The following code snippet: tPath = Directory & \ "/\" & Year (AddTime) & \ "/\" & Create_id (AddTime) & \ "/\" & NewsId & Def_FileExtension
Code.
Modify it:
The following code snippet: tPath = Directory & \ "/\" & Year (AddTime) & Create_id (AddTime) & \ "/\" & NewsId & Def_FileExtension
Then find the section in the physical storage path of the generated file.
The following code snippet: tPath = Server. MapPath (Directory)
If Not Fso. FolderExists (tPath) Then
Fso. CreateFolder (tPath)
If Def_CreateNewsFiles_ShowFolderError And Err. Number <> 0 Then
Response. Write \ "execution error:
\ "& TPath &\"The path does not exist. Check the path. \"
Response. End
End If
End If
TPath = tPath & \ "/\" & Year (AddTime)
If Not Fso. FolderExists (tPath) Then
Fso. CreateFolder (tPath)
If Def_CreateNewsFiles_ShowFolderError And Err. Number <> 0 Then
Response. Write \ "execution error:
\ "& TPath &\"The path does not exist. Check the path. \"
Response. End
End If
End If
TPath = tPath & \ "/\" & Create_id (AddTime)
If Not Fso. FolderExists (tPath) Then
Fso. CreateFolder (tPath)
If Def_CreateNewsFiles_ShowFolderError And Err. Number <> 0 Then
Response. Write \ "execution error:
\ "& TPath &\"The path does not exist. Check the path. \"
Response. End
End If
End If
Modify it:
The following code snippet: tPath = Server. MapPath (Directory)
If Not Fso. FolderExists (tPath) Then
Fso. CreateFolder (tPath)
If Def_CreateNewsFiles_ShowFolderError And Err. Number <> 0 Then
Response. Write \ "execution error:
\ "& TPath &\"The path does not exist. Check the path. \"
Response. End
End If
End If
TPath = tPath & \ "/\" & Year (AddTime) & Create_id (AddTime)
If Not Fso. FolderExists (tPath) Then
Fso. CreateFolder (tPath)
If Def_CreateNewsFiles_ShowFolderError And Err. Number <> 0 Then
Response. Write \ "execution error:
\ "& TPath &\"The path does not exist. Check the path. \"
Response. End
End If
End If