[pmwiki-users] Recent Changes Button Lost

Dr Fred C drfredc at verizon.net
Thu May 24 10:37:29 CDT 2007


It may be different on other wiki versions, but with v 2.1.27

     * [[ Documents.Search | Search ]] creates a Search? request for a new wiki page called Search -- not what is desired.

     * [[ Site.Search | Search ]] creates a link to the Site.Search Page with the appropriate box to create a search with description about the search process.  I believe this page will only open for admins.  At least that's how it works in 2.1.27.  Perhaps some of these Site pages got moved to a non-admin group of Documents in later PMWiki versions? This would seem to make sense.

Also, if you just want an search box to be displayed somewhere in your Wiki, just copy and paste the search commands from the Search Page to the location and page of your choice. 

(:searchbox:) (:searchresults:)

---------------
Always, Fred C



Patrick R. Michaud wrote:
> 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
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
>   

-- 

Always, Dr Fred C
drfredc at drfredc.com




More information about the pmwiki-users mailing list