[pmwiki-users] Create a Wiki Trail from dynamic pages

John Rankin john.rankin at affinity.co.nz
Sun Nov 6 19:08:38 CST 2005


On Sunday, 6 November 2005 6:46 AM, Crisp, Steve [UK] <SCRISP at ngms.eu.com> wrote:
>John,
> 
>Your a star!  worked first time.  One thing that threw me
>though is that you said "create a modified version of
>scripts/trails.php in your local/ directory."  The only way I
>could get it to work (read: pick up my change) was to modify
>the scripts/ version.  If I put a local copy in the local/
>directory this looks like it's not used.
> 
>Do I have to do anything else to 'activate' a local copy of a PmWiki core script?

Yes, in local/config.php, add the following lines:

$EnableWikiTrails = 0;   ## disables the standard pmwiki version
include_once("$FarmD/local/trails.php"); ## load a local version instead

John

> 
>Thanks very much for your help,
>-Steve.
>Wiki home: http://www.scoobypedia.co.uk/
> 

-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list