Drupal7 add menu to Home Page

Source: Internet
Author: User
1. Home> Administration> structure> menus. Find the main menu and click Add link next to it. . This path is very exquisite. Blog is a blog, Forum is a forum, if you have installed the corresponding module. User is an account operation. If the user is not logged on, the logon or registration will be displayed. For example, if you add a link named Forum and path named Forum (we recommend that you change weight to 1, and the larger one will be displayed later), Forum will be displayed behind the home page "home. For example, the effect is as follows. 2. Now I want to make such an effect: Define a Ubuntu classification, Article You can publish it to this category. This category is also displayed next to home. Perform the following steps: 1) structure-taxonomy-add vocabulary, as shown in: Save. Note: The vocabulary created here includes many terms. Term is equivalent to category, and vocabulary is equivalent to category library. In fact, you don't need to create a vocabulary here, just use the built-in system, such as tags. 2) Open taxonomy again, find add terms after Ubuntu, and save. Note that the URL alias must be entered and will be used later. 3) add link to Main Menu according to the method at the beginning of the article, and fill in the URL according to the entered URL alias. 4) structure-content type: Find the manage fields behind the article. For example, add existing field. Enter the name in the field. Select term reference in the next column... this one refers to the classification by term (I don't know why it is forums). The next one will be any one: select list, drop-down box; checkboxex/radio buttons, single orders; auto complete is probably filled in by yourself. I have never tried it. Save and go to the page for further editing: Obviously, the last vocabulary adds the term to the vocabulary in steps 2 and 1st, select one here (for example, I added it to my new UBUNTU ). Save. 5) Publish or modify the original article and add a category. Note: If the original article is not classified, the following message may be displayed: Notice : Undefined property: stdclass: $ forum_tid in Forum_node_view () (Line 275 Of /Var/www/modules/FORUM/Forum. Module ). The Red Cross is there. This is not necessary. After adding a category, it will be killed. The effect is as follows: Iii. Several Questions 1. add multiple terms: you must add these terms to a vocabulary, because only one of them can be selected at the end of step 1. 2. delete a term: If this term uses URL alias, you must delete the alias of this term from configuration-URL aliases. The system will not automatically delete it. If you want to use it later, an error will be prompted.

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.