Re: [pmwiki-users] defining intermap in PHP

2009-02-27 Thread Patrick R. Michaud
On Thu, Feb 26, 2009 at 10:49:49AM +0100, Christophe David wrote: 2009/2/25 Eemeli Aro eem...@gmail.com: You'll need this: $LinkFunctions['PmWikiHome:'] = 'LinkIMap'; $IMap['PmWikiHome:'] = 'http://pmwiki.org/wiki/$1'; Note the :'s at array key ends. Note that one can also put

Re: [pmwiki-users] defining intermap in PHP

2009-02-26 Thread Christophe David
2009/2/25 Eemeli Aro eem...@gmail.com: You'll need this: $LinkFunctions['PmWikiHome:'] = 'LinkIMap'; $IMap['PmWikiHome:'] = 'http://pmwiki.org/wiki/$1'; Note the :'s at array key ends. This works great ! Thanks a lot. Christophe ___

Re: [pmwiki-users] defining intermap in PHP

2009-02-25 Thread Peter Bowers
On Wed, Feb 25, 2009 at 8:11 AM, Christophe David pmw...@christophedavid.org wrote: 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'] =

Re: [pmwiki-users] defining intermap in PHP

2009-02-25 Thread Christophe David
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'] =

Re: [pmwiki-users] defining intermap in PHP

2009-02-25 Thread Eemeli Aro
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 pmw...@christophedavid.org: Is it possible to define custom InterMap

[pmwiki-users] defining intermap in PHP

2009-02-24 Thread Christophe David
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/'; Thank you in anticipation. Christophe