[pmwiki-users] Identifying Password Groups

Brian Tibbels brian.tibbels at clickmarlow.co.uk
Sat Jul 28 19:30:47 CDT 2012


Many thanks tamouse and Petko - using intermap did the trick for the #
anchor.

FYI - I found this on
http://www.pmwiki.org/wiki/Cookbook/ConditionalMarkupSamples

$Conditions['authgroup'] = '$GLOBALS["AuthList"][$condparm] > 0';

Amazing how little code can add so much functionality. How many more little
gems like this are there tucked away?

Rgds
Brian












On 27 July 2012 15:02, Petko Yotov <5ko at 5ko.fr> wrote:

> Brian Tibbels writes:
>
>> Q1. - Is it possible to identify a particular password group in
>> conditional statements?
>>
>
> Not out of the box, and I am not aware of an existing recipe.
>
>
>  Q2. I am currently using [[#nul|Do nothing through non-existent anchor]]
>> but would like to do this [[#|Do more than nothing but elegantly]] or
>> [[javascript:void(0);|do js nothing]]
>>
>
> Use the Path: intermap. [[Path:#|Do nothing]] produces the HTML:
>
>  <a class='urllink' href='#' rel='nofollow'>Do nothing</a>
>
> Petko
>
>
> ______________________________**_________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/**mailman/listinfo/pmwiki-users<http://www.pmichaud.com/mailman/listinfo/pmwiki-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20120729/6fdb0e16/attachment.html>


More information about the pmwiki-users mailing list