Z-blog 1.5 static Patch plugin download

Source: Internet
Author: User
Tags modify version

Today in the Z-blog 1.5 60108 version based on the addition of static patch Plug-ins, static patch Plug-ins need to modify the original three files: c_system_event.asp, c_system_lib.asp, c_system_base.asp.

This version of the static patch to support the custom classification directory name, in "classification management" edit the directory attribute "alias", modified to English directory name, if you want to retain the original static patch directory name, then "Alias" modified to Cat_1, cat_2 and so on. Be sure to modify this before you perform a static patch, or you will not be able to generate a static directory.

The use and installation of this patch is simple, the average user to use the following 3 operations can install a static patch:

1, download the original Z-blog 1.5 60108.

2, download the static patch of the moon 1.5. The three ASP files in the patch are overwritten to the original directory, and the Catbuild directory is placed under the plugin directory.

3. Confirm that the "alias" of the directory attribute in category management has been set to the English directory name.

4, re-file reconstruction operations, and then enter the "Plug-in management", click "Static classification Directory file generation."

At this point the Z-blog directory file is static.

Manual modification

If your zblog is a modified version of your own, you can use the following actions to manually perform static modifications. The operation is more complex and is not recommended for use.

Modification of c_system_event.asp file:

676 Lines modified to:

Strarchives=strarchives & "<li><a href=" "& Zc_blog_host & Zc_static_directory &"/"& Year (DTMYM (i)) & "_" & Right ("&month" (DTMYM (i)), 2 & ". & Zc_static_type &" ">" & Year (DTM YM (i)) & "" & Zva_month (Month (DTMYM (i)) & "(" & objRS (0) & ")" + </a></li> "

Modification of c_system_base.asp file:

494-497 Lines modified to:

S=zc_static_directory & "/" &y& "_" &right ("& (M-1), 2) &". "& Zc_static_type
T=zc_static_directory & "/" &y& "_" &right ("& (M+1), 2) &". "& Zc_static_type
If m=1 Then s=zc_static_directory & "/" & (y-1) & "_12" & "." & Zc_static_type
If m=12 Then t=zc_static_directory & "/" & (y+1) & "_01" & "." & Zc_static_type

500 lines modified to:

Strcalendar=strcalendar & "<p class=" "Y" "><a href=" "" &zc_blog_host &s& "" "><<</ a> <a href= "" "& Zc_blog_host &zc_static_directory &"/"&y&" _ "&right (" &m,2) & "." & zc_static_type& "" > "&y&" · " &m& "</a> <a href=" "&zc_blog_host &t&" ">>></a></p>"

Modification of c_system_lib.asp file:

33 Lines modified to:

URL = zc_blog_host & zc_static_directory & "& Alias &". "& Zc_static_type

1372 lines modified to:

S=zc_blog_host & "Catalog.asp?" & T & "Page=1"

1391 Lines modified to:

S=zc_blog_host & "Catalog.asp?" & T & "page=" & I

1402 Lines modified to:

S=zc_blog_host & "Catalog.asp?" & T & "Page=" & Intallpage



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.