Lectures on DEDECMS Programs: integrated Application of Procedures

Source: Internet
Author: User
Keywords Dedecms here lectures this

Whether it is government agencies, schools, games, http://www.aliyun.com/zixun/aggregation/7682.html "> online sales are inseparable from information, Content management System (CMS), is often the best choice for information." The first free open source content management system, with more than 4 years of open source experience, from the moment he was born, provoked the burden of leading the CMS industry, 1 years ago, the Dream Team was formally formed, such a young and dynamic team gradually grew up, after efforts, at the end of 2008, will launch the epoch-making Content management System-dedecms V5.3, this is a professional, open website management system, through he can let us build the station to become more relaxed.

With the development of the Internet, an information portal has not only been limited to information browsing, information exchange has become particularly important, interaction has become an essential part of the major sites. There are many ways to interact with the website, through BBS, question and answer, SNS ... This is the need to have a functional module extension.

User experience is particularly important, of course, the user experience here is not a narrow sense of the user experience, weaving dream that the real good user experience should be "simple and not simple", users see the site, spontaneously intimacy. This is the user experience, dream weaving in the new version of this is also a very small adjustment.

Powerful features, good user experience, this has been the dream of the content management system to pursue the direction, some people said Dede meaning "people have the world", it is true, only a good understanding of the Internet users of the habit, understand the needs of the construction station, can become a real sense of content management system. The application of CMS system will be the enterprise, webmaster from the site of the complex development of liberation, so that more energy and budget input to the content of the site construction.

First I briefly introduce myself, I am the dream of the official team, contact Weaving Dream has more than 2 years, has been in the forum to do the owner, know a lot of love to weave a dream friend, then joined the Dream team, found that this is a vibrant, passionate and learning place, This time by the Webmaster network invited to give you a dedecms program of lectures.

Because this is mainly the lecture, lacks the system the training content, this lecture I will weave the Dream Technical Forum The more common question to organize, and unifies some other aspects application content to supplement, lets everybody understand the dedecms procedure the use.

Security settings

The first is the security of the program, here are mainly some owners of independent servers, if their own system security deployment above some experience that should be no problem, there are some webmaster without system security deployment experience, and now hanging horse rampant, so many people are worried that the official earlier on the issue of a Dedecms v5.3/v5.5 Security Settings Guide The theme of the post, address: http://bbs.dedecms.com/172474.html, which says how to configure the server environment in win serv environment.

However, the paper mentions the directory of Dream-weaving, here I have a description of the entire system file directory: http://bbs.dedecms.com/178324.html, of course, if you install a module will be appropriate to add a number of directories, such as module group, ask and so on.

{dede:sql} label usage

The SQL tag can be called a universal tag, and the query database outputs it, and here's how to use the tag:

1. Used to output statistical content, this is good, for example, we have to count the total number of articles sent, the idea is to output dede_addonarticle This article additional table content can be.

{dede:sql sql= ' select COUNT (*) as Nums from dede_addonarticle}

[Field:name = "nums"/]

{/dede:sql}

2. Use ~field~ to make special inquiries, such as before the forum many members need to do an output of the current post members of the relevant content, the previous use of SQL or arclist tag is no way to achieve, because each content is different, here we use 5.5 of the SQL statement to do a demonstration.

We first add the following label to the corresponding position in the article template

{dede:sql sql= "select * from Dede_archives WHERE writer=~writer~"}

[Field:id/],

{/dede:sql}

This is placed on the article_article.htm page, will be retrieved from the current membership of the relevant articles, where the ~ writer~ will be based on the current content of the environment variables to replace and then execute the query.

Here in the SQL statement in the conditional query of the ~ writer~, that is, $refobj->fields[$value] This inside of the relevant content

Related Article

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.