Full introduction to dream weaving label

Source: Internet
Author: User

Website root URL (cfg_basehost): the website root node URL. It is mainly used to generate some hyperlinks to add the site root URL, such as Baidu news, site RSS, and attachments uploaded by the system.
Webpage homepage Link (pai_indexurl): used for foreground templates to call the website master site connection
Homepage Link name (pai_indexname): the connection name of the website homepage. The default value is "Homepage"
Website name (cfg_webname): the name of the global site. It is usually displayed in the title bar of the webpage. The default value is "My website"
Default file HTML storage path (cfg_arcdir): the HTML storage path for static pages generated by the website. The default value is "/html", which can be set as needed.
Default path for image/upload files (pai_medias_dir): the default path for uploading website attachments. The default path is "/uploads". You can modify the path as needed.
The editor (yes/no) uses XHTML (pai_fck_xhtml): controls whether the website Content Editor enables XHTML-type markup. By default, it cannot be used.
Default template style (cfg_df_style): the default template style. After the template is set, the path of the template is changed to "/tremplets/[set template style]". The default format is default, that is, "/tremplets/default /"
Website copyright, JS compilation, and other bottom call information (pai_powerby): website bottom copyright and JS call Information. Generally, traffic statistics can be collected. Code Join here and call at the front end
Default site keyword (pai_keywords): used to display the default site keyword, which is convenient for Seo. It is usually displayed on the <meta> page and can be modified as needed.
Site description (cfg_description): used to display the default site description, which is convenient for Seo. It is usually displayed on the <meta> page and can be modified as needed.
Website record filing number (pai_beian): used to display the content of the website record filing number. You can set it as needed.
Dedecms installation directory (cmd_cmspath): The default installation directory of the system. If it is installed in the root directory of the website by default, It is empty. If it is installed in a subdirectory, you need to set it, for example, "CMS ", generally, you need to reset the directory of a mobile website and regenerate the content. Otherwise, the page cannot be displayed or PHP reports an error.
Cookie and password (pai_cookie_encode): Used to set cookie encryption for user login. It is automatically generated by default and usually used in system integration.
Data Backup Directory (in the data directory) (pai_backup_dir): Database Backup folder, which is usually in the data folder of the system root directory. The default value is backupdata, that is, in the "/data/backupdata" folder of the system
Website email sending (pai_adminemail): the e-mail address used to send emails to the website. The default address is "pai_adminemail". You can modify it as needed.
HTML editor option (currently only fck is supported) (pai_adminemail): The editor used when the website content is published and the field type is HTML, such as common Article The fck is used by default in the Content editor at the time of release. The previous HTML editor is canceled in v5.3 and will not be developed in the future.
The delimiter of the column position (pai_list_symbol): The content usually displayed in the current position of the website. The default value is ">", that is, the current position is displayed as "homepage> level-1 column> level-2 column ", can be modified as needed
Keyword replacement (yes/no) using this function will affect the HTML generation speed (pai_keyword_replace): the system will replace the keyword in the HTML editor for highlighted display, this option usually affects the system's HTML page generation speed. By default, this option is enabled.
(Yes/No) supports multiple sites. After this option is enabled, the absolute URL (pai_multi_site) is enabled for attachments, column connections, and arclist content: the system attachment is generated using the address type, usually attachment generation does not enable this option attachment will be in the form of "/uploads/liming/test111.gif", if enabled will add the site address before the attachment address, will become "http://wenwen.soso.com/z/UrlAlertPage.e? Sp=shttp%3a%2f%2fwww.adc.com%2fuploads%2fliming%2ftest111.gif "effectively solves the problem that the attachment of the second-level domain name cannot be displayed, and is disabled by default.
(Yes/No) Enable log management (pai_de_log): used to record logs logged on to the operating system by the Administrator. By default, log management is disabled.
FTP host (pai_ftp_host): some files will be created in FTP format. This setting is not available by default. You can set the FTP host address to ftp.abc.com. The same is true for the FTP settings below, for a VM, The spspace provider must provide the FTP account and password.
FTP port (pai_ftp_port): Same as the FTP host
FTP User Name (pai_ftp_user): Same as the FTP host
FTP password (pai_ftp_pwd): Same as the FTP host
The root directory of the website in FTP (cmd_ftp_root): same as that of the FTP host. Generally, the root directory of the Web Hosting is wwwroot or htdocs.
Whether to use ftp to create a directory (cmd_ftp_mkdir): if the system does not support PHP to create a directory, the directory will be forcibly created using FTP after enabling it. This option is disabled by default.
Server Time Zone setting (pai_cli_time): used to set the system Program The Time Zone executed affects the functions related to the whole site time, such as the time when the article is added and the message time. The default value is 8.
Whether to enable SMTP-based email sending (pai_sendmail_bysmtp): If SMTP is used to send emails, the system will disable it by default. Changing the settings will affect password retrieval, document content recommendation, and other functions, if you enable the following SMTP information, you must ensure that the server has the mail sending function. If it is enabled, you can contact the Space Provider and ensure that the SMTP settings are correct to ensure mail sending.
SMTP server (ipv_smtp_server): Specifies whether to enable SMTP to send mails. The default value is smtp.xinhuanet.com.
SMTP server port (ipv_smtp_port): Specifies whether to enable SMTP to send mails. The default value is 25.
SMTP server user email (pai_smtp_usermail): Same as whether to enable SMTP mail
SMTP server user account (pai_smtp_user): Same as whether to enable SMTP mail
SMTP server user password (cmd_smtp_password): Same as whether to enable SMTP to send mails
Delete the document file and delete the relevant Attachment File (pai_upload_switch): If this option is enabled when the document content is deleted, the attachment will be cleared.
Global search time limit (pai_allsearch_limit): If advanced search is used and the query time exceeds the set time, the system will prompt "the server is busy, please search later". The default value is 1, that is, 1 second.
Whether to use pseudo-static (cfg_rewrite): The system article content and column usage are static. This option is disabled by default. If you need to enable this option, if the website is defined by a VM, be sure to add it to the virtual host configuration, that is, <virtualhost>. It may not be available if it is added outside the virtual host configuration.
Check whether loadmodule rewrite_module modules/mod_rewrite.so is disabled;

<Ifmodule mod_rewrite.c>
Rewriteengine on
Rewriterule ^ (. *)/list-([0-9] +)-([0-9] +)-([0-9] + )/. HTML $1/list. PHP? Tid = $2 & totalresult = $3 & pageno = $4
Rewriterule ^ (. *)/View-([0-9] +)-([0-9] +)/. html $1/view. php? Aid = $2 & pageno = $3
</Ifmodule>
Article Recycle Bin (yes/no) enabled (pai_delete): deleting an article will be deleted to the recycle bin by default. If you need to restore the article content from the recycle bin, this function is enabled by default.
Attachment settings

Default width of the thumbnail (pai_ddimg_width): default width of the thumbnail uploaded by the System
Default height of the thumbnail (pai_ddimg_height): the default height of the thumbnail uploaded by the system.
Image Browser file type (cfg_imgtype): the file type browsed by the image browser. The default value is JPG. | GIF | PNG
Supported software types: supported software release types for system software release. Default Value: Zip | GZ | RAR | ISO | Doc | XSL | PPT | WPS
Allowed multimedia file types (pai_mediatype): the types of multimedia files supported by the system to publish multimedia files, the default value is SwF | MPG | MP3 | RM | rmvb | WMV | WMA | WAV | mid | mov, which can be set based on your site requirements.
Default size of the image displayed in the Gallery (pai_album_width): the default size of the image displayed in the gallery model. The default value is 800, which can be set as needed.
Gallery multi-row and multi-Column Style default number of rows (pai_album_row): gallery display multi-row display default number of rows, default set to 3, you can set as needed
Multi-page multi-page display Max number (pai_album_pagesize): the maximum number of multi-page displays per page. The default value is 12, which can be set as needed.
Gallery default style 1 is multi-page, 2 is multi-page single chart, 3 is the thumbnail list (pai_album_style): gallery default display style, default is 2, multi-page single chart, you can set it based on your needs.
Gallery default thumbnail size (cfg_album_ddwidth): the default thumbnail size for gallery Publishing. The default size is 200. You can set it as needed.
Member settings

Whether to enable the member function (cfg_mb_open): whether to enable the system member function. The system is enabled by default. You can use/member to register, log on, and publish content.
Whether to enable the member gallery function (cfg_mb_album): whether to enable the system member function. The system is enabled by default. You can use/member to register, log on to, and publish content.
Whether to allow Members to upload non-image attachments (pai_mb_upload): allows members to upload non-image attachments. The settings included in the image attachments are listed in the Image Browsing type, the upload permission of this Member is enabled by default.
Member upload size (k) (Bytes _mb_upload_size): maximum size of uploaded files by members. The default value is 1 MB and kb.
Whether to enable member contribution to the custom model (pai_mb_sendall): You can add a custom model in the system background, and set the Member to contribute to different models in the model, here, you can set whether to enable the member's contribution to the custom model. This feature is enabled by default.
Whether to download the remote document specified by the member to the local device (pai_mb_rmdown): the member's published content. If the content contains images and other files, enabling this option will be downloaded to the server, this function is enabled by default.
Member attachment permission type (cfg_mb_addontype): the type of the attachment that the member enables to upload files, default Value: SwF | MPG | MP3 | RM | rmvb | WMV | WMA | WAV | mid | mov | zip | RAR | Doc | XSL | PPT | WPS, you can set it as needed.
Member attachment size limit (MB) (cfg_mb_max): the maximum size of attachments uploaded by a member. The default value is 300 mb. You can set the size as needed.
Member ID that cannot be registered (pai_pai_mb_notallow): the ID of a member that cannot be registered. The default value is www, BBS, FTP, mail, user, users, admin, Administrator, separated by commas, the system cannot register these IDs by default. You can set them as needed.
Minimum user ID length (cfg_mb_idmin): number of words for the user ID. The default minimum length is 3, which can be set as needed.
Minimum user password length (pai_mb_pwdmin): sets the minimum length of the user password. The default minimum length is 3. You can set it as needed.
Whether to strictly limit the member login ID to allow the member to use the second-level domain name must be set this item (pai_md_idurl): enabling this option will strictly limit the user ID, the system may not be able to use Chinese as the user ID, if you are allowed to use a second-level domain name, you must set this project. By default, this project is disabled.
Default registered member level [member permission management] view the number of the Level Representative (pai_mb_rank): the default user level at the time of registration, the default value is 10, you can go to the system Background [member]-[member permission management] to view the specific permissions. You can see that the default membership level is registered member. You can set it as needed.
Whether to restrict email registration for only one account (cmd_md_mailtest): After email is enabled, only one email can be used once in the system. By default, email is enabled.
Front-end password verification (pai_mb_rand) certificate type: Default 32-32-bit MD5, optional: 116-first 16 bits, R16-last 16 bits, M16-center 16 is (pai_mb_pwdtype ): verification type of default passwords such as Member registration and login. The default value is 32 bits. If you set different password types in earlier versions, you need to reset them.
(Yes/No) enabling the paging title will affect the HTML generation speed (pai_arcsptitle): If this function is enabled, the paging title will be enabled, when publishing a common article, we will see the code "# P # subtitle # e #" in the editor. This code can be used only when the paging title function is enabled, however, you need to add the {Dede: pagetitle style = 'select'/} tag to the template.
(Yes/No) Enable Automatic Paging for long articles (pai_arcautosp)
Automatic pagination size (unit: K) (cfg_arcautosp_size): The content length after automatic pagination is enabled. The default value is 5 K. if the content is greater than 5 K, it is automatically assigned to the second page.
Whether the upper-level list contains sub-class content (pai_list_son): whether the list page displays the content of the lower-level list. If this option is enabled, the lower-level list content is displayed. This option is enabled by default.
Automatically update the website homepage (pai_makeindex) after the document is published: the website homepage is automatically updated after the content is published, but this affects system performance. We recommend that you disable this option for automatic updates.
Keyword-related articles (cfg_keyword_like): use the document keyword to associate the relevant articles. The system disables the keyword by default.
The maximum number of indexed documents for function calls on the website homepage is not applicable to websites that frequently collect too much content in a single column. If this parameter is not enabled for a website, set this value to 0 (cfg_index_max ): the maximum number of index documents used to call functions on the website homepage is not applicable to websites that often collect too much content in a single column. The default value is 10000, that is, the maximum number of index documents called on the homepage is 10000.
Arclist label call cache (0 is not enabled, how many seconds is it greater than 0) (pai_index_cache): arclist label cache, the cache will enhance the website performance, but cannot update the site tag information in real time, the default value is 7200 seconds. You can set it as needed. 0 indicates that the cache is disabled.
Whether to enable template caching (effec_tplcache): Template caching enhances the template resolution performance, but may affect the generation rate. By default, template caching is enabled. You can set it as needed.
Template cache directory (pai_tplcache_dir): Directory saved by template Cache
Publish and modify the call cache for a single document: publish and modify whether a single document uses the call Cache
Maximum number of search check documents (pai_search_max): Maximum number of search check documents. The default value is 50000.
Maximum number of returned search results (pai_search_maxrc): the maximum number of returned search results. The default value is 300.
Search interval (seconds, for all users on the website) (pai_search_time): search content interval, default: 3 seconds
Whether to enable secondary columns (pai_need_typeid2): After enabling secondary columns, you can use the feature. The same document can be displayed in different columns.
ID Document ID and content tag final content (system cache must be updated after this variable is modified) (pai_cache_type): If ID is used, HTML is generated to read the ID from the cache and query it once, if the content is the HTML generated by the tag, you do not need to query the database.

Other options

Automatic summary length (0-240, 0 indicates not enabled) (pai_auot_description): automatic summary length (0-, 0 indicates not enabled): the automatic summary length of a system article published. The default value is, this option is conducive to system Seo. We recommend that you use the default settings, which can be set as needed.
Remote Image localization (pai_rm_remote): Remote Image Localization: paste the remote image when HTML content is published. If this option is enabled, the image is downloaded to the server by default. This option is enabled by default.
Delete A non-intra-site Link (pai_arc_dellink): deletes a non-intra-site link. When HTML content is published, this option is also available in the separate content release area unless the hyperlink content in this site is posted.
Extract the first image as a thumbnail (cfg_arc_autopic): extract the first image as a thumbnail: display the first chapter of the HTML content as a thumbnail of the current content
Automatic keyword extraction (pai_arc_autokeyword): Automatic keyword extraction: published content. If no keyword is set, enabling this option will automatically extract the keywords of the document based on published content. This project is enabled by default.
Modify the maximum length of the document title and then manually modify the data table (pai_title_maxlen): after changing the maximum length of the document title, manually modify the data table: the maximum length of the published article title. The default value is 60, if you want to change to more database-related fields
The background debugging template flag prohibits the use of functions. This option prevents unauthorized management from using tag debugging for illegal operations (pai_notallow_tplfunc ): the background debugging template flag does not allow the use of functions. This option prevents unauthorized administrators from using the flag for debugging for illegal operations.
Check whether duplicate titles are detected during document publishing (pai_check_title): Check whether duplicate titles are detected during document publishing: If duplicate titles are detected during document publishing, this item is enabled by default.
Baidu news XML updates up to 100 News (cfg_baidunews_limit): Baidu news XML updates up to 100 news: Baidu news XML updates news, default 100
Baidu news XML Update Time (unit: minute) (pai_updateperi): Baidu news XML Update Time (unit: minute): Baidu news automatic update time. The default value is 15 minutes.
Number of times the same keyword is replaced in the document content (0 is replaced with all) (pai_riplace_num): number of times the same keyword is replaced in the document content (0 is replaced with all): number of times the keyword is replaced in the document. The default value is 0, replace all items. You can set them as needed.

Reporter's supplement {Dede: Global. pai_webname/} site name
{Dede: Global. cfg_basehost/} site URL (background settings)
{Dede: Global. pai_cmsurl/} actual site URL (recommended by Qiqi)
{Dede: Global. pai_memberurl/} member center address
{Dede: Global. pai_dataurl/} site data directory address
{Dede: Global. cmd_templeturl/} template directory address
Copyright at the bottom of {Dede: Global. pai_powerby /}
{Dede: Global. mirror_beian/} filing information

{Dede: field. description function = 'html2text (@ me) '/} site description
{Dede: field. phpurl/} site plus directory site address
{Dede: field. Title/} title
{Dede: field. Keywords/} keyword

{Dede: flink ROW = '24'/} links

{Dede: field. Content/} content

{Dede: field. Position/} Current Position
{Dede: field. pubdate function = "mydate ('Y-m-d h: I ', @ me)"/} Time
{Dede: field. Source/} Source
{Dede: field. Writer/} author
<SCRIPT src = "{Dede: field name = 'phpurl'/}/count. php? View = Yes & Aid = {Dede: field name = 'id'/} & Mid = {Dede: field name = 'mid '/} "type = 'text/JavaScript' Language =" JavaScript "> </SCRIPT> clicks
{Dede: field. Body/} content
{Dede: adminname/} responsible editor
{Dede: pagebreak/} page number
{Dede: prenext get = 'pre'/} previous
{Dede: prenext get = 'Next'/} next

Navigation
{Dede: channel type = 'self 'currentstyle = "<span> <a href = '~ Typelink ~ 'Class = 'thisclass'> ~ Typename ~ </A> </span> "}
<Span> <a href = '[field: typeurl/]'> [field: typename/] </a> </span> {/Dede: Channel}

{Dede: Include filename = "*. htm"/} call the Template File

{Dede: memberinfos}
Avatar
[field: uname/] User Name
View Details
send a message
Add as a friend
user level: [field: rankname/]
Registration Time: [field: jointime function = "mydate ('Y-m-d h: m', @ me) "/]
Last Logon: [field: logintime function =" mydate ('Y-m-d h: m', @ me) "/]
{/ Dede: memberinfos}

<A href = "{Dede: field name = 'phpurl'/}/stow. php? Aid = {Dede: field. ID/} "target =" _ blank "> Add to favorites </a>
<A href = "{Dede: field name = 'phpurl'/}/erraddsave. php? Aid = {Dede: field. ID/} & Title = {Dede: field. Title/} "target =" _ blank "> incorrect </a>
<A href = "{Dede: field name = 'phpurl'/}/recommend. php? Aid = {Dede: field. ID/} "target =" _ blank "> recommended </a>
<A href = "#" onclick = "window. Print ();"> Print </a>

Document list
{Dede: arclist titlelen = 42 ROW = 10}
<Li> <a href = "[field: arcurl/]"> [field: Title/] </a>
<P> [field: description function = 'cn _ substr (@ me, 80) '/]... </P>
</Li >{/ Dede: arclist}

 

From: http://blog.csdn.net/crazypmer/article/details/5103874

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.