CZ Talk:Extensions/Treeview extension: Difference between revisions
imported>Robert W King |
imported>Larry Sanger |
||
Line 134: | Line 134: | ||
:Robert, Larry, what I am thinking is two main trees, "for readers" and "for contributors". Any drafts with this or another scheme? [[User:Stephen Ewen|Stephen Ewen]] 15:34, 17 December 2007 (CST) | :Robert, Larry, what I am thinking is two main trees, "for readers" and "for contributors". Any drafts with this or another scheme? [[User:Stephen Ewen|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. --[[User:Robert W King|Robert W King]] 16:37, 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. --[[User:Robert W King|Robert W King]] 16:37, 17 December 2007 (CST) | ||
:::I can't tell whether it will be useful until I see what will go in the two categories. There might be significant overlap, and contributors will need a lot more info than readers in any case. I'd like to see a draft of the scheme that I described in e-mail (the [[CZ:Home]] hierarchy anyway). --[[User:Larry Sanger|Larry Sanger]] 11:43, 18 December 2007 (CST) | |||
==Robust== | ==Robust== |
Revision as of 11:43, 18 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:
Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken
{{#tree: }} |
Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken
- Stephen, please make a note on how it works with surrounding text. It could potentially screw up the formatting of the navigation on the left side; I don't know if it will somehow hover over the top of the text (which is what I'm worried about) or if it will move everything over strangely. In fact, expand this tree entirely, and then expand one of the above trees... it sits over the text which might be a problem. --Robert W King 17:33, 17 December 2007 (CST)
- Robert, it appears flawlessly on my screen in Ff 2.X. Stephen Ewen 18:03, 17 December 2007 (CST)
- I just can't explain the horror... I don't *want* to upgrade to FF 2.x or IE7 but I may have to eat crow. Additionally we should change the images; I don't think the folder look is "cool". --Robert W King 18:07, 17 December 2007 (CST)
- Robert, it appears flawlessly on my screen in Ff 2.X. Stephen Ewen 18:03, 17 December 2007 (CST)
- I see the error now. I think I fixed it with
margin: 0px 15px 15px 15px;
. Stephen Ewen 18:40, 17 December 2007 (CST)- Good work ;). Even though I think this is a good extension, it really is a "huge loaded bullet"; if you don't plan ahead for the content you're going to include it will penetrate your article text like you had never thought. We should advise caution. --Robert W King 18:44, 17 December 2007 (CST)
- I see the error now. I think I fixed it with
Thanks. :-) Yep, the big picture of content needs to be well thought out. I do think this is also going to be a very cool tool for organizing all sorts of content. See this Countries example. And its technically a cinch to use, to boot. Also, we can upload a whole host of cool icons and replace the default ones just by adding the image in the tree, see the Creative Commons licenses example above. Stephen Ewen 18:58, 17 December 2007 (CST)
- Well that "sort of" fixes it, but how do you change it so it has "two states" (one when expanded, one when closed) ? --Robert W King 20:10, 17 December 2007 (CST)
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)
- I can't tell whether it will be useful until I see what will go in the two categories. There might be significant overlap, and contributors will need a lot more info than readers in any case. I'd like to see a draft of the scheme that I described in e-mail (the CZ:Home hierarchy anyway). --Larry Sanger 11:43, 18 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)
- An ‘expand all’ command is needed (that is a command which expand the current category and any subcategory in the substructure). --Patrice Gross 06:35, 18 December 2007 (CST)
- What is the problem? I'm assuming you're thinking about the presentation of phylogenetic trees? it will be useful for family and genus articles. Is there any way to change the graphics? Those folders look a bit old fashioned. Chris Day (talk) 11:24, 18 December 2007 (CST)
- There is a way, but I'm not sure of it yet. I would prefer triangles that rotated. --Robert W King 11:31, 18 December 2007 (CST)