[pmwiki-users] External links to the same host

Kathryn Andersen kat_lists at katspace.homelinux.org
Sun Feb 18 23:59:32 CST 2007


On Sun, Feb 18, 2007 at 11:26:16PM -0600, Patrick R. Michaud wrote:
> On Mon, Feb 19, 2007 at 04:02:16PM +1100, Kathryn Andersen wrote:
> However, if you're willing to write "within the site" links
> using a different InterMap prefix, then it's very easy to style
> them differently (even to the point of using different HTML output).
> PmWiki already provides a 'Path:' InterMap shortcut that means
> "on the same server" -- to have it styled differently one can do:
> 
>   $IMapLinkFmt['Path:'] = 
>     "<a class='urllink internal' href='\$LinkUrl'>\$LinkText</a>";

Yes, this was exactly the kind of thing I was looking for -- thanks!
Since I already encourage my users to use the Path: format, this should
work fine.
 
Thanks!

Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe



More information about the pmwiki-users mailing list