Click here to show or hide the menubar.

Releasing code for "tabs" nodetype


Create a node with type set to "tabs". The first level subheads are the titles of the tabs, and the second-level subs are the tab contents. Demo.
A first-level head can itself be a nodetype, which gives you this kind of power.
The place where you're likely to see breakage is in the Prefs for roots page.
Also, be prepared for functionality changes, because the code is fairly magical and "just works." Which means there are cases I never thought of that probably don't work.
For example, the URLs of photos in thumblist pages are wrong. They assume the photos are stored in the same place as the thumb list. This is not true when you're including a thumblist in a panel.
worldOutlineSuite.init
prefs2.bootstrap
worldOutlineSuite.data.urls.defaultTabsTemplate
worldOutlineSuite.viewTabsCallback

Posted on Sunday, January 15, 2012 at 11:02 AM by Dave Winer.