Perhaps http://www.pmwiki.org/wiki/PmWiki/InterMap might be of use.I'm sure there was a was of creating links in config.php, but I can't lay my hands on it. Also maybe custom page variables http://www.pmwiki.org/wiki/PmWiki/PageVariables
Simon 2009/8/26 Melodye Bowers <[email protected]> > On Tue, Aug 25, 2009 at 11:38 PM, adam overton <[email protected]>wrote: > >> hi >> i would like to have pmwiki convert certain commonly appearing names >> (or terms, or orgs) into a links to the respective person's external >> website. >> > > If there is something in common between the people's external web-sites > then it could be more elegant than this, but a simple set of rules sounds > like what you're looking for... > > $foo = array('John' => 'http://www.abc.com', 'Sally' => ' > http://www.def.com'); > foreach ($foo as $name => $site) { > Markup('/\b'.$name.'\b/', '%newwin%'.$site.'%%', ...); > } > > Does that work? Obviously this requires it all to be set up in config.php > and I don't know if that's what you're looking for, but maybe it'll be a > start... > > -Peter > > _______________________________________________ > pmwiki-users mailing list > [email protected] > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > > -- ____ http://kiwiwiki.co.nz
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
