[pmwiki-users] Generic link to Profiles.{$AuthId}

Stéphane Heckel hsteph at club-internet.fr
Thu Nov 6 12:24:10 CST 2008


"DaveG" wrote :
> I can't test this right now, but try:
>  $FmtPV['$PageAuthId'] = 'MakePageName("Profiles.Template", "' 
> .$AuthId.'")';

bingo !
as $AuthId is an email address, It seems required to suppress the . (dot) to 
make it work, otherwise an empty string is returned :

$FmtPV['$PageAuthId'] = 'MakePageName("Profiles.Template", 
"'.str_replace(".", "", $AuthId).'")';

Thanks !

SH 






More information about the pmwiki-users mailing list