[pmwiki-users] defining intermap in PHP

Eemeli Aro eemeli at gmail.com
Wed Feb 25 08:07:05 CST 2009


You'll need this:

$LinkFunctions['PmWikiHome:'] = 'LinkIMap';
$IMap['PmWikiHome:'] = 'http://pmwiki.org/wiki/$1';

Note the :'s at array key ends.

eemeli

2009/2/25 Christophe David <pmwiki at christophedavid.org>:
>>> Is it possible to define custom InterMap (http://www.pmwiki.org/wiki/PmWiki/CustomInterMap) in PHP ?
>>> I found $IMapLinkFmt and $InterMapFiles, but I am looking for something  like
>>> $InterMap['PmWikiHome'] = 'http://pmwiki.org/wiki/';
>
>> Try this:
>> $IMap['PmWikiHome'] = 'http://pmwiki.org/wiki/$1';
>> I haven't tried it, but it looks promising...
>
>
> Unfortunately, it does not seem to work  (pmwiki-2.2.0)   ;-(
>
> Thank you for the reply.
>
> Any other clue ?
>
> Christophe
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>



More information about the pmwiki-users mailing list