CZ Talk:Extensions/Treeview extension: Difference between revisions
imported>Robert W King No edit summary |
imported>Robert W King |
||
Line 83: | Line 83: | ||
|} | |} | ||
{{#tree: | |||
*[[Main Page]] | |||
*[[Special:Recentchanges|Recent changes]] | |||
*{{#ifgroup:user|Admin}} | |||
*{{#ifgroup:sysop|Logs}} | |||
*{{#ifgroup:sysop|Tasks}} | |||
}} | |||
==Getting the sidebar to use it== | ==Getting the sidebar to use it== |
Revision as of 16:49, 17 December 2007
Please help redesign the sidebar!
Add your ideas somewhere below....
Tree testing:
{{#tree:
- Root1
- Sub-item
- Another sub-item
- Wristwatch
- Root2
- Sub-item
- Another sub-item
}}
{{#tree:openlevels=1|
- Root
- Sub-item
- Another sub-item
}}
{{#tree:openlevels=2|
- Root
- SubOne
- SubTwo
- SubSubOne
- SubSubSubOne
- SubSubTwo
- SubSubSubTwo
- SubSubOne
- User:Robert_W_King
- fire
- =Test=
- ==Test==
- ===Test===
test- test
- test
-
3
|
||
4
|
3
| |
- testtwo
The metadata subpage is missing. You can start it via filling in this form or by following the instructions that come up after clicking on the [show] link to the right. | |||
---|---|---|---|
|
}}
Choose license
{{#tree:
}}
Can it be nested inside a table with a frame?
Tree testing:
{{#tree:- Stuff
- Things
{{#tree:
- Main Page
- Recent changes
- {{#ifgroup:user|Admin}}
- {{#ifgroup:sysop|Logs}}
- {{#ifgroup:sysop|Tasks}}
}}
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)