Skip to content
This repository
Browse code

Improved tree docs

  • Loading branch information...
commit b4e3c1338c7602e65041f4dc637aca47e1d22a01 1 parent bbbec35
Ingo Schommer authored August 05, 2012
5  docs/en/howto/customize-cms-tree.md
Source Rendered
@@ -2,6 +2,11 @@
2 2
 
3 3
 ## Overview
4 4
 
  5
+The CMS tree for viewing hierarchical structures (mostly pages) is powered
  6
+by the [jstree](http://jstree.com) library. It is configured through
  7
+`sapphire/admin/javascript/LeftAndMain.Tree.js`, as well as some
  8
+HTML5 metadata generated on its container (see the `data-hints` attribute).
  9
+
5 10
 The tree is rendered through `[api:LeftAndMain->getSiteTreeFor()]`,
6 11
 which recursively collects all nodes based on various filtering criteria.
7 12
 The node strictly just has to implement the `[api:Hierarchy]` extension,
12  docs/en/reference/cms-architecture.md
Source Rendered
@@ -334,6 +334,18 @@ so you don't need to worry about it. The same concept applies for
334 334
 'X-Title' (change the window title) and 'X-ControllerURL' (change the URL recorded in browser history).
335 335
 Note: You can see any additional HTTP headers through the web developer tools in your browser of choice.
336 336
 
  337
+## Tree
  338
+
  339
+The CMS tree for viewing hierarchical structures (mostly pages) is powered
  340
+by the [jstree](http://jstree.com) library. It is configured through
  341
+`sapphire/admin/javascript/LeftAndMain.Tree.js`, as well as some
  342
+HTML5 metadata generated on its container (see the `data-hints` attribute).
  343
+For more information, see the [Howto: Customize the CMS tree](../howto/customize-cms-tree).
  344
+
  345
+Note that a similar tree logic is also used for the 
  346
+form fields to select one or more entries from those hierarchies
  347
+(`[api:TreeDropdownField]` and `[api:TreeMultiselectField]`).
  348
+
337 349
 ## Related
338 350
 
339 351
  * [Howto: Extend the CMS Interface](../howto/extend-cms-interface)

0 notes on commit b4e3c13

Please sign in to comment.
Something went wrong with that request. Please try again.