It would be so nice to have a shorthand form of this kind of link
[[{TargetPage}R]] for display link if the user is auth read taget
Or some other syntax.
Other than the conditional that PM provided below to get this result,
if I'm listing a bunch of links I sometimes rely on a pagelist and the
default behavior that suppresses display of pagelist results for which
the user lacks read authorization.
Anything one could add to config.php to create such shorthand for
conditional-links?
On 2/28/07, Patrick R. Michaud <[EMAIL PROTECTED]> wrote:
> On Wed, Feb 28, 2007 at 06:18:54PM +0100, noskule wrote:
> > hi list
> >
> > is it with the conditional markup somehow possible to show a link only if
> > the
> > target page is readable? coundnt find something in the docs.
>
> (:if auth read TargetPage:)[[link to target -> TargetPage]]
>
> Pm
>
> _______________________________________________
> pmwiki-users mailing list
> [email protected]
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users