Yes, this is true. As Folder is a subclass of Page, a folder inherits
all the functionality of a page and adds the possibility to have
children.
The reason for making this difference between Pages and Folders is that
the look-up is different: if you have a link like *Other*, a folder
looks for a child named 'Other' while a page looks for a matching
brother/sister. This difference applies also while creating new
structural entities in SmallWiki.
What is more, folders do automatically render a list of their children
if the default content isn't changed. And, as you can see on the ESUG
web-page (
http://www.esug.org), the menu-template renders slightly
different when the current structure has the possibility to contain
children.
Cheers,
Lukas
On Jun 23, 2004, at 11:34, Oscar Nierstrasz wrote:
Actually, I never understood the need to distinguish pages and folders.
Why not just have PageFolders? Pages with contents, and the
possibilities to add subpages?
Oscar
On Jun 23, 2004, at 9:43, Lukas Renggli wrote:
Hi Oscar
I would like the Traits page in the SCG Smallwiki
to be
turned into a folder. Is there a way to do this?
No, currently there is no easy way to do this. You have to create a
new folder, copy the content of the old page to the new folder and
then delete the old page.
The good news: We were brainstorming with Roel yesterday about having
a refactoring tool for Smallwiki that should be able to do such a
conversion (and other things) more easily.
Cheers,
Lukas
--
Lukas Renggli
http://renggli.freezope.org
--
Lukas Renggli
http://renggli.freezope.org