Skip to content

Commit

Permalink
Added a note regarding issue #9984 (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcop1 authored Sep 13, 2021
1 parent bc4198d commit b80ff8a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions config/pimcore/customviews.example.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
'views' => [
[
'treetype' => 'object', // element type is "object"
'name' => 'Articles', // display name
'name' => 'Articles', // display name
'icon' => '/bundles/pimcoreadmin/img/flat-color-icons/reading.svg', // tree icon
'id' => 1, // unique (!!!) custom view ID
'rootfolder' => '/blog', // root node
'showroot' => false, // show root node or just children?
'classes' => [ // allowed classes to add; use class ids; Options: a)comma-separated b) Array [id => (Depth)]
"5" => 1, // (int) Depth = Sets the limit on how many levels deep (Depth) in the object tree you can add the class
"SUBARTICLE" => 3,
],
'showroot' => false, // show root node or just children? Note: Depending on your configuration and the amout of your child nodes you need to set this true for pagination to work.
'classes' => [ // allowed classes to add; use class ids; Options: a)comma-separated b) Array [id => (Depth)]
"5" => 1, // (int) Depth = Sets the limit on how many levels deep (Depth) in the object tree you can add the class
"SUBARTICLE" => 3,
],
'position' => 'right', // left or right accordion
'sort' => '1', // sort priority. lower values are shown first (prio for standard trees is -3 docs,-2 assets,-1 objects)
'expanded' => true, // tree is expanded by default (there can be only one expanded tree on each side)
Expand Down

0 comments on commit b80ff8a

Please sign in to comment.