[pmwiki-users] Redirect to pagelist result page if only 1 result
aless
alessors at gmail.com
Tue Aug 5 15:44:33 CDT 2008
> A while back Pm proposed a way of enabling searches that return only
> one page to automatically redirect to that page. Has that
> functionality been added yet?
I found this old thread
(http://groups.google.com/group/pmwiki-users/browse_thread/thread/d22c5ba667fed0f6)
where he suggests to add to the page list template you are using:
(:template last:)
(:if equal {$$PageCount} 1:)(:redirect {=$FullName}:)
At that time, though, the feature wasn't implemented and the (:redirect
:) was simply displayed after the page list (see last two posts).
I tried the solution in the PmWiki version I have installed
(2.2.0-beta67), and it seems that the feature hasn't been implemented
yet. Still get the redirect displayed after the page list.
alessandro
More information about the pmwiki-users
mailing list