CZ Talk:Extensions/Treeview extension: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Robert W King
No edit summary
imported>Robert W King
No edit summary
Line 67: Line 67:


<br/><br/>
<br/><br/>
==Can it be nested inside a table with a frame? ==


Tree testing:
Tree testing:

Revision as of 17:46, 17 December 2007

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: }}


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)