Patch to enable/disable duplicate page entries for the
item in the page trail.
Patched against PhpWiki 1.3.4.
This patch adds a parameter(duplicates) to the
PageTrail plugin that allows you to turn on/off the
displaying of duplicate trailing entries. Specifically
I was trying to make it so that when I put the
PageTrail plugin at the top and bottom of the page I
wouldn't see the current page twice on PageTrail at the
bottom of the page. It will of course also keep the
entry happening again if you happen to click on the
same link twice.
Set duplicates to 1 to get duplicates:
<?plugin PageTrail duplicates=1?>
Set duplicates to 0 to not get duplicates:
<?plugin PageTrail duplicates=0?>
The default is 0
(cause that is the way I like it ;-)
I've only lighted tested but it works for me.