Aspmaker website background production tool (2): Product Level 2

Source: Internet
Author: User

During website back-end construction, product level-2, level-3, news level-2, and level-3 are frequently involved. It is inconvenient to manually write the code, but the Aspmaker website background creation tool can easily solve this problem.

First, open Aspmaker and follow the instructions in the previous lesson to import the database (detailed description of the Aspmaker website background production tool (I): familiarize yourself with him). Here I have designed three simple tables for ease of Demonstration: 1. product Category 1 (bigclass); 2. product Category 2 (smallclass); product ). Field entry

Second, after the import is successful, the menu for all the fields in the table will appear on the left of the software interface,

Third, click the tables/view button in the navigation menu, as shown in;

Click Select smallclass table, and then click Modfiy in the lower right corner, as shown in.

In the pop-up dialog box, the smclass table appears in the box on the right, drag the bigclass table on the left, and press the mouse to hold the ID field of the bigclass table, drag it to the bigclass field of the smallclass table. After the result is successfully displayed, click OK. The function of this step is to display the menu items for adding a level-2 category after the level-1 category in the background.

Fourth, click the bigclass field of the smallclass table in the table structure on the left, and click OK. The bigclass field detail list on the right is selected ,.

Next, on the Edit Tag tab in the lower-right corner of the page, Select the Select space and check the Use Lookup Table multi-choice box. In the Lookup Table tab displayed on the right, Select biglcass for table name, select id for linkfield and bigclassname for Display field #1. The final result is as follows:

Fifth, the operation is similar to the previous step. Select the bigclass field in the person product Table and set the field as above. Next, select the smallclass field. The basic settings are the same. On the Lookup table tab, select smallclass for Table name, select id for link field, smallclassname for Display field #1, bigclass for parent field, and bigclass for filter field, the function of these steps is to add a secondary product category menu without any need.

According to the above operations, you can easily generate product level-2 menu options in the background. Similarly, you can perform Level 3, Level 4, and infinitus.

This article for the wooden child web design (http://www.muzisj.com), hope to help the website designer.

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.