Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This panel is very similar to PacksPanel, but instead of simple list of available packs, the tree-like list is constructed. By using the parent attribute of packelement, one can specify the hierarchy of the tree. This panel supports grouping just like PacksPanel does.

example 

Code Block
languagehtml/xml
titleTreePacksPanel Example
<installation version="1.0">
   (...)
    <panels>
        (...)
        <panel classname="TreePacksPanel"/>
        (...)
    </panels>

    <packs>
        <pack name="Base"
            required="yes">
            (...)
        </pack>
        <pack name="Themes"
            required="no">
            (...)
        </pack>
        <pack name="Black"
            parent="Themes"
            required="no">
            (...)
        </pack>
        <pack name="Red"
            parent="Themes"
            required="no">
            (...)
        </pack>
    </packs>
</installation>

...