DEDECMS Label Static Plug-in introduction

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Plugin Name: dedecms label Static plugin

Plugin official website: http://www.00isp.com/webdesign/dedecms-plugins/tag-html-plug.html

Main function: Will dedecms the label of the system to generate the static file, dedecms the default label is through the dynamic page display, in order to satisfy everybody's different demand here provides the label static plug-in, may the label generation static HTML file. The plug-in supports custom static file storage directories, file types, and naming rules.

Practical version: Dedecms 5.5 GBK version

Plug-in purchase: Plug-in purchase please contact QQ: (649951267),

Plug-in Price standard:

80 RMB (plug-in fee, no technical support)

150 RMB (package installation, commissioning)

Plug-in modification, upgrade, personalized function design 300 yuan, the specific price negotiable.

Plugin Author: Zero technology-dark spirit design and production contact QQ: (649951267), the copyright belongs to zero technology all

Plug-in installation method: After the purchase of Plug-ins we will provide installation files to you, you only need to dedecms in the background direct import, installation can. Installation method is very simple, the specific method please refer to: DEDECMS 5.5 label static plug-in installation method

Plug-in usage: After installing the plugin, we can find a "tag static" click in "module" to use

Introduction to Plug-ins: There is a "build mode" option in the static action page, you can select "Force update Mode" or "Monitor update mode", this plugin has record label last updated time, use "Forced update mode" will not determine whether the label last updated after the new content will be updated, using "Monitoring update Mode" Will determine if the label has new content after the last update, and if there are new content, perform an update, and no new content will not perform the update. For Web sites with large data volumes, it is recommended that you use the "Monitor update mode" implementation.

Plug-in configuration: After a successful plug-in installation can be found in the background directory named "makehtml_tag_config.php" file, the top of the file can be configured with the following content

$TC _tag_filetype = '. html '; Label file type
$TC _tagindex_dir = ' Y '; tags home directory, [Y] stored in the $TC _tag_dir directory, the other value is located in the installation directory
$TC _tagindex_name = '; Label first file name, leave blank for index Note: filename does not specify suffix

$TC _tag_dir = '/tag '; Label directory, site root directory
$TC _tagdir_rule = ' {dir}/{py}/{aid}_{page}.html '; Directory naming rules
$TC _tagtpl_index = ' tag.htm '; Homepage template
$TC _tagtpl_list = ' taglist.htm '; List page Template

Here only for you to explain $TC _tagdir_rule configuration method, because the other is very simple, $TC _tagdir_rule is the label file naming rules

{DIR} represents the label storage directory, stored in the directory specified by the $TC _tag_dir, and cannot be modified

{py} denotes the phonetic Alphabet of the label (all letters)

{s} indicates the name of the label and will retain the Chinese character without making any changes.

{Aid} represents the ID of the label, it is recommended to keep this to prevent the same phonetic tags from interfering with each other

{page} represents the page ordinal and must be preserved

Name Example Description: For example, we have a label "zero technology" tag ID "1", we use the default naming rules, the generated static path should be "/tag/lingdukeji/1_1.html" if we use "{Dir}/{s}/{aid}_{page} . html, the resulting static path should be "/tag/Zero technology/1_1.html", and if we use a naming convention such as "{dir}/{py}_{aid}_{page}.html", the resulting static path should be "/tag/ Lingdukeji_1_1.html "With these examples, you should know how to use naming rules."

Template file Usage: Note that in the plug-in we do not have built-in template files, the method of making template files is very simple, only need to copy dedecms default label template page can be used, tag.htm Tag homepage template, need to modify on a place, will default {Dede:tag and {/ Dede:tag} modified to {Dede:tags and {dede:tags} can be updated normally. Taglist.htm List page template, you need to modify the current location of the tag home link, the link will be revised to "{Dede:global.cfg_cmspath/}{dede:php}echo gettagindexlink ();" {/dede:php} "can be used normally.

Hint: label template file name can be modified, as long as the plug-in $TC _tagtpl_index, $TC _tagtpl_list configuration is correct.

If you are using dedecms other languages, generally directly modify the file encoding can be, not debugging need to debug their own oh.

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.