CZ Talk:Extensions/Treeview extension

From Citizendium
Jump to navigation Jump to search

Please help redesign the sidebar!

Add your ideas somewhere below....



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

}}



Can it be nested inside a table with a frame?

Tree testing:

{{#tree: }}

jkfld

{{#tree:

}}

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)
Just do something like, if loggedin then this tree, elseif this other tree. I think you might enlist Chris if he's not too busy. --Robert W King 16:37, 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)

Does this solve the Biology Workgroup's problem?

I'd like them to key in here.. --Robert W King 16:44, 17 December 2007 (CST)