[pmwiki-users] Relative includes now active on pmwiki.org
Patrick R. Michaud
pmichaud at pobox.com
Sat Sep 23 21:03:50 CDT 2006
On Sat, Sep 23, 2006 at 01:15:16PM -0700, Gary Spivey wrote:
> How is this idea different than the (:includeg:) markup? I have been
> using includeg so that unspecified links get the include group attached.
(:includeg:) isn't part of the core, but it does much the same
thing. The big difference is that the core will also support
page variables in included pages, which (:includeg:) doesn't
yet support (AFAIK).
> -----Original Message-----
> From: pmwiki-users-bounces at pmichaud.com
> [mailto:pmwiki-users-bounces at pmichaud.com] On Behalf Of Patrick R.
> Sent: Friday, September 22, 2006 9:39 PM
> To: JB
> Cc: pmwiki-users at pmichaud.com
> Subject: Re: [pmwiki-users] Relative includes now active on pmwiki.org
> On Fri, Sep 22, 2006 at 10:49:40PM -0500, JB wrote:
> > > I now have the new code in place on pmwiki.org that treats
> > > links and page variables in included pages as being relative to
> > > the included page instead of the currently browsed page.
> > >
> > > I have no idea how much will "break" as a result of this change,
> > Perhaps you could make this an option that an administrator
> > could turn on in the config.php or the farm.php.
> > $IncludedLinksAndVarsRelative = 0; #default
> > $IncludedLinksAndVarsRelative = 1; #turn on
> Yes, except in keeping with other "flag" variables in PmWiki
> it will begin with "$Enable..." :-)
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
More information about the pmwiki-users