[pmwiki-users] Recent Changes Button Lost
Patrick R. Michaud
pmichaud at pobox.com
Thu May 24 10:00:18 CDT 2007
On Thu, May 24, 2007 at 10:49:35AM -0400, Adaram wrote:
> Here's what I have in my Site.Sidebar:
> [...]
Note that in starting 2.2.0 you will want all of the
page variables above to have asterisks in them. Otherwise
all of the links will end up being to Site.SideBar.
> * [[ {$Group}.{$Name}?action=search&q={$Name} | BackLinks ]]
Better (faster, more accurate since it counts only links and not pages
that just happen to contain the name):
* [[ {*$FullName}?action=search&q=link={*$FullName} | BackLinks ]]
> * [[ Documents.Search | Search ]]
> * [[ {$Group}.{$Name}?action=print | Print ]](:if auth attr:)
> * [[ {$Group}.GroupAttributes?action=attr | ACL ]](:ifend:)(:if auth
> edit:)
> * [[ {$Group}.{$Name}?action=edit | Edit Page ]]
> * [[ {$Group}.{$Name}?action=diff | History ]]
> * [[ {$Group}.RecentChanges | Changes ]](:if auth upload:)
> * [[ {$Group}.{$Name}?action=upload | Upload ]](:ifend:)(:if auth edit:)
> * [[ Main.HomePage?action=logout | logout ]](:ifend:)
FWIW, I would find this easier to read as:
* [[ Documents.Search | Search ]]
* [[ {*$FullName}?action=print | Print ]]
(:if auth attr:)
* [[ {*$Group}.GroupAttributes?action=attr | ACL ]]
(:if auth edit:)
* [[ {*$FullName}?action=edit | Edit Page ]]
* [[ {*$FullName}?action=diff | History ]]
* [[ {*$Group}.RecentChanges | Changes ]]
(:if auth upload:)
* [[ {*FullName}?action=upload | Upload ]]
(:if auth edit:)
* [[ Main.HomePage?action=logout | logout ]]
(:ifend:)
Pm
More information about the pmwiki-users
mailing list