[pmwiki-users] Referencing documents NOT in uploads on an internal PmWiki

Patrick R. Michaud pmichaud at pobox.com
Tue Mar 28 13:52:57 CST 2006


On Tue, Mar 28, 2006 at 11:48:56AM -0800, Steve Stone wrote:
> Hi,
> I'm a new user of PmWiki and of php.  I am trying to understand the
> IncludeFile cookbook item (at
> http://www.pmwiki.org/wiki/Cookbook/IncludeFile), the two lines of which are
> shown below.
> 
> What we have is a bunch of documents scattered across various directories on
> a drive that is mounted on the server running the PmWiki.  Let's call that
> drive the "R:" drive as this is a Windows file system.  We have tons of
> documentation in there, word docs, spreadsheets, xml, html, etc.  I don't
> really want to imbed these in the wiki page, I really just want links like
> html where it says something like "file:\\MyFile" and by clicking on that
> the file opens with whatever tool the browser has.

Standard "file:\\" links should work, although if the filename has
spaces in it then it has to be in double brackets:

    [[file:\\MyFile]].

You probably don't want the IncludeFile recipe for this, as it does
something entirely different.

Pm




More information about the pmwiki-users mailing list