Restrict types and grouping

Hi all,


For an asset listing that is grouped by parent asset you have the option of "Restrict Types".



I have read the doco and it doesnt really explain how it works but it seems to me that it works by:


  1. All the assets that are to be included in the asset listing have their parent types checked.
  2. For those assets who's parents are not in the restrict types list their parent's parents (their grandparents i guess) are checked against the restricted types list. If they ARE in the restricted types list then those parents are used, otherwise it goes up the tree again…



    Does this sound right? I dont want to use it until I know how its meant to work



    Thanks,



    Steve.

Restrict types just tells matrix which asset types are allowed to be parents to grouped items (eg, you have a folder with items underneath, you can tell matrix to only use folders as parents for the group).


It doesn't control the depth at which the asset listing delves into the tree, there are other settings in an asset listing that do that. If you let it delve more than 1 level into the tree, then any folders that exist underneath other asset types also become parents to the groups of assets it holds.

    Folder1 (root node)
    |
    |-- Folder2
    |     |
    |     |- Page1
    |     |- Page2
    |     |- Page3
    |
    |-- Page4
    |     |
    |     |-- Folder3
    |              |
    |              |-- Page5
    |              |-- Page6
    |
    |-- Page7
    |-- Page8


restrict type = folder, listing pages.

Result:

    -- Folder1 -- 
    Page4
    Page7
    Page8
-- Folder2 --
Page1
Page2
Page3

-- Folder3--
Page5
Page6</pre>

Thats not what Im asking exactly…


based on the same model, what would be listed for the this structure?




    Folder 1
     |
     |- Page 1
          |
          | - Page 2 
          | - Page 3


It should be

-- Folder 1 --
Page 1
Page 2
Page 3

Is that right?

Yes, thats correct.