|
Cookbook /
HierarchicalGroupsSummary:Information about Hierarchical Groups
Version:N/A
Prerequisites:N/A
Status:N/A
Maintainer:N/A
Categories:Hierarchy, PageNaming
Questions answered by this recipeHow come PmWiki doesn't have hierarchical groups? Are there any recipes that provide them? DescriptionInformation about Hierarchical Groups
Here is a brief table comparing/contrasting Hg/Cluster as both are very similar recipes, and use almost identical syntax:
Definitions and notes:
ContributorsCommentsI prefer using single site config pages for group titles and breadcrumb aliasing. It makes maintenance much easier. More flexibility, and no need to constantly edit config files. Plus, because these are text variables, they can be used elsewhere on your site. Caveman March 18, 2007, at 06:47 AM I prefer using page-variables, because one has all the power of PmWiki's page-variable system. Kathryn Andersen March 18, 2007, at 03:16 PM Mostly just to note that I have spiffed the comparison table and added notes regarding my changes to cluster; However, since I am editing anyway I would like to take this opportunity to thank all involved. The way I work I NEED hierarchies, lol, and doing without was gnawing on me. This said I would like to take this opportunity to ask about Link Shortcuts, specifically of what use is the '*' relative shortcut? I do not understand why this notation exists nor do I see any reason to use it. Thank you kindly, Feral March 19, 2007, at 03:11 AM
If you are on page group Kingdom-Animal-Canine.Dog, *.Home? will link to Kingdom.Home, **.Home? will link to Kingdom-Animal.Home. The ^ markup is relative to the current group (one or more levels up), and the - markup links to the current group down. ~Caveman Ah, alright, thank you Caveman (= I think what throws me the most with it is it is very misnamed. '*' is certainly not absolute in my train of thought, for instance if you move the page to a different tree then '*' does not point to the same place any longer, thus it is not absolute, but rather a spacer. Once that thought hit me upside the head I began to see a few uses for it. (= If it means anything my I tend to prefer to keep all of my data together, as I have found it simply works better when shifting things about. Something of which I do rather often ;) One of the reasons I prefer PmWiki to other solutions is one disc file contains all I need to know about the page; This makes manipulations much less complex than other methods. As such I tend to prefer local solutions rather than one spot for config options. This is not to say that centralized configs are not desirable by any means but for something like the name of a bread crumb element it just strikes me that keeping that data with the page is more logical, and thus I prefer the Best regards and happiness, Feral March 20, 2007, at 08:40 AM
The term "CleanUrls" is actually quite confusing, because the CleanUrls recipe is completely independent of this -- one can use CleanUrls with Cluster, it's just that Cluster doesn't create or interpret URLs in the form of Group/SubGroup/Page
You do not need to use the CleanUrls recipe to get this effect in Hg. Hg offers an alternate, and in many respects simpler way to do cleanurls. Just click on one config settings. It works on systems (like mine) where you cannot normally get CleanUrls to work, and it's easy.
Interestingly I have found no need for a CleanUrl style; I find I process the group separator in the same manor and actually prefer to see the actual group name in the URL; I do, however, have the advantage of being a personal wiki and not having to worry about users (= -- Feral March 20, 2007, at 08:40 AM
User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki. |