Display many categories with few items

Follow the instructions presented in this tutorial topic if you are dealing with many categories, each with few items, and you want them displayed in a convenient layout.

Open the many_categories page and continue with the next steps:

  1. Apply the Nested Repeat Region Wizard from the MX Kollection tab of the Insert panel. This way, all continents will be displayed, each one with its own countries (of course, not in the wanted layout yet).

  2. Configure the first step of the wizard as shown below:


          

  3. Configure the second step of the wizard as shown below:


                   

  4. The page in Dreamweaver, in Design view, should look like this (for the PHP server model):


                   
    Note:
    If the translator does not look right, save the page, close it, and reopen it.

  5. Press F12 to preview the page in browser (after saving and uploading it to the server), and see the current continents/countries display:


  6. On your way to the wanted layout, there are some changes you need to perform back in the Dreamweaver page. First, remove the Repeat Region server behavior from the Server Behaviors tab of the Application panel. Select it (single-click) and press the Minus (-) button on the top left:


               

  7. Click inside the translator in page (for example, click the dynamic text on the first table row), and then select the <table> tag in the Tag Selector. Change the border thickness from 1 pixel to 0 pixels:


                  

  8. Press Ctrl+A to select all the elements in page, and then apply the Looper Wizard from the MX Kollection tab of the Insert panel. This is needed because after removing the Repeat Region server behavior, only the first continent with its countries is displayed.

  9. Configure the wizard interface as shown below:


              

  10. The Looper Wizard adds a new table at the outside of the existing one. There are a few things that you should change regarding this table:

  11. After following all the steps above, save the page, upload it to the server, and press F12 to preview it in browser:

 

Notice that the many categories with few items are displayed just as planned!

If there are situations in which you are dealing with few categories with many items, check out the next topic and learn how to display them best.