Build station Program Drupal Common Sense article: the basic concept that often encounters

Source: Internet
Author: User

Intermediary transaction SEO diagnosis Taobao guest Cloud host technology Hall

To better understand and use Drupal, some of Drupal's common sense concepts are the basis for your understanding and mastery of Drupal. Only by understanding it can you use Drupal better. Below is a description of some of the concepts of Drupal.

1. Theme (theme)

For Drupal, the general theme of the design directly determines the function of your site. With the concept of MVC to see Drupal, Drupal's theme is the performance layer of Drupal system, is a set of skin of the entire website, after installing Drupal, users can choose different default theme in subject management to make the site appear different appearance, create personalized Drupal site. On the official website http://themes.drupal.org, there are a number of third-party topics available for download, and you can customize your favorite themes.

2. Modules (module)

Drupal functionality is implemented through the installation box to enable the corresponding module to achieve, you can say that the module is the function of Drupal units. Like we want to upload the file on Drupal, we just need to enable the upload module, when I need a blog, directly enable the blog module can be implemented. In the newly installed Drupal, only the default to open a number of modules, but these are far from satisfying our needs, we can drupal.org up and down to download their own modules. Download them and unzip them to the Site/all/modules directory under Drupal, and you can use them. When the module is installed successfully, the appropriate configuration options appear in Site administration. If you think that the official Third-party modules are not for you, you can also develop new modules to meet your needs.

3. Blocks and regional

A block is the smallest unit of content that holds Drupal, which is a small piece of text that can be placed on any area of the page. It can be understood that a page is made up of many regions, each of which can place multiple blocks, thus constituting the theme layout of Drupal.

Chunks are generated by modules (Modules), but can also be created by background management, customizing

Block。

The settings for the zone are included in the drupal6.x, which can be added to the. info file in the theme folder, such as the default area of the Garland theme, and if you want to add or modify an area, you must write the following area in the. info file.

Regions[left] = left Sidebar

Regions[right] = right Sidebar

Regions[content] = Content

Regions[header] = Header

Regions[footer] = Footer

4. Nodes (node)

Drupal's content is stored as a node, or it can be said that nodes are the basic unit of Drupal content. In Drupal. All elements in addition to users (user) and comment (Comment) are nodes that provide the basis for developers to extend the content that is stored in Drupal. If you don't understand the concept of "node," you can't develop Drupal.

5. The user

Drupal's users are the accounts of users who have access to the site. Drupal has a very powerful user management system. There is a super administrator in Drupal that is the first user to create it is the highest authority owner of the system, and it is the only way to modify any settings in the system.

Each user has his or her own personal information, such as user name, e-mail address, password, personality signature, and time zone.

In addition to the concept of the user, Drupal has a "role" concept. Role is a group of people with common access and Operation rights. Each role can set which content, which modules, and what operations it can access. Of course, a super administrator can create various roles so that different users have different content access privileges. You can then assign one or more roles to the user. This is the strength of its user management.

Drupal has two default roles:

 Anonymous User (Anonymous user): Unregistered users or users who have been registered but have not been audited.

 Authenticated User (authenticated user): Registered and audited users.

6. Comments (Comments)

Commenting (Comments) is a basic feature of Drupal. Since any element can be a "node" in Drupal, each node type can have a comment function. In any of the content type DRUPAL6, you can set the way in which comments are displayed. The comment is as a kind of module exists, when need it, can open it through the Management page, if do not need comment function, turn it off.

7. Classification (taxonomy)

Classification (taxonomy) is a very good and useful feature of Drupal. It organizes and classifies various content on a Web site. It is a bit like the blog tags (tags) concept, similar to "keywords" for users to search for content to facilitate. At the same time, Drupal can also use this function to organize menu navigation.

8. Appearance theme engine (Theme Engine)

The theme engine is a set of explanations for saving the Web site's dynamic content to HTML, which helps you design your site's appearance more easily. Drupal offers 3 theme engines for you to use, and of course you can design the theme directly without the engine. 4.6 and prior to the Drupal version, the default use of the Xtemplate engine, 4.7 after the default use of the Phptemplate engine. can be viewed and downloaded from the drupal.org theme engine download page.

About the Author:

Hui Heng Digital Marketing (Intematrix digimarketing) is the Shenzhen Hui Heng Technology for small and medium-sized enterprises to launch the Web site construction and network Marketing promotion services, its a network (abuilder.net) It is a self-service station platform based on Drupal website development and content management system. Drupal enthusiasts and small and medium-sized company users can register for free, and immediately open their own Drupal site. To experience the power of your Drupal station, visit www.ABuilder.net.

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.