[pmwiki-users] Trails

Hans design5 at softflow.co.uk
Mon Oct 6 16:05:00 CDT 2008


Monday, October 6, 2008, 2:59:03 AM, Ian MacGregor wrote:

> http://www.pmwiki.org/wiki/Cookbook/DynamicTrails

> I love this recipe. The only problem I'm having with this recipe is that
> list=normal results in hiding the trail, even with the default template
> and directive. The only workaround I can find is to use (:pagelist
> group={*$Group} name=-GroupAttributes,-GroupHeader,-GroupFooter
> fmt=#grouptrail2:) to remove certain pages from the pagelist. I don't
> mind this too much except that I have a couple of groups that have
> numerous pages and templates that I don't want in the trail. Does anyone
> know how to get the "list=normal" working in the directive?

put into Site.LocalTemplates (NOT into the GroupHeader page):

!!!#grouptrail
[@
[[#grouptrail]]
(:if equal {*$FullName} {=$FullName}:)
%wikitrail%[[{<$FullName}|+]] | [[{*$Groupspaced}]] | [[{>$FullName}|+]]
(:ifend:)
[[#grouptrailend]]
@]

put into the group's GroupHeader page:

(:pagelist group={*$Group} fmt=#grouptrail list=normal:)

fire up a group page to check the trail markup.

this works for me.

Otherwise if you have difficulties with it you could try
creating a custom list= parameter. See
http://www.pmwiki.org/wiki/Cookbook/SearchResults




  ~Hans




More information about the pmwiki-users mailing list