CZ Talk:Extensions/Treeview extension

From Citizendium
< CZ Talk:Extensions
Revision as of 16:25, 17 December 2007 by imported>Stephen Ewen (New page: Tree testing: {{#tree: *Root1 **Sub-item **Another sub-item **Wristwatch *Root2 **Sub-item **Another sub-item }} {{#tree:openlevels=1| *Root **Sub-item **Another sub-i...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Tree testing:

{{#tree:

}}

{{#tree:openlevels=1|

  • Root
    • Sub-item
    • Another sub-item

}}

{{#tree:openlevels=2|

  • Root
    • SubOne
    • SubTwo
      • SubSubOne
        • SubSubSubOne
      • SubSubTwo
        • SubSubSubTwo
  • User:Robert_W_King
  • Developing Article fire
  • =Test=
  • ==Test==
  • ===Test===
  • test
  • test
  • test
 
3
 
4
3
 
W
 


  • testtwo

}}

Choose license

{{#tree:

  • Creative Commons logo tiny.png 
    • CC-by
    • CC-by-sa
    • CC-by-nc
    • CC-by-nd
    • CC-by-nc-nd

}}


Getting the sidebar to use it

Looks like we missed that there's one additional step to get the sidebar to use it, see here. I'm right now looking carefully to see if we need to customize the text for the inclusion, first. Stephen Ewen 15:01, 17 December 2007 (CST)

Yep, needs customization. This is going to be fun!
Robert, Larry, what I am thinking is two main trees, "for readers" and "for contributors". Any drafts with this or another scheme? Stephen Ewen 15:34, 17 December 2007 (CST)

Robust

Seems pretty robust! Limited on template usage within the template though, looks like you can only use text-based templates. I tried to use the subpages template on the last one, so I'm not sure what's up with that. --Robert W King 15:21, 17 December 2007 (CST)

http://semeb.com/dpldemo/index.php?title=Treeview_extension Stephen Ewen 15:29, 17 December 2007 (CST)