[pmwiki-users] PageLogoURL as Link

George Laverick wiki at woodlark.org
Fri Dec 10 09:36:59 CST 2010


On Thu, 09 Dec 2010 12:00:01 -0600
pmwiki-users-request at pmichaud.com wrote:

> Subject: Re: [pmwiki-users] PageLogoURL as Link
> Message-ID: <20101209152128.GD6923 at pmichaud.com>
> Content-Type: text/plain; charset=us-ascii
> 
> On Sat, Dec 04, 2010 at 04:12:08PM -0500, George Laverick wrote:
> > On Sat, 4 Dec 2010 19:38:29 +0100
> > Peter Bowers <pbowers at pobox.com> wrote:
> > 
> > > On Sat, Dec 4, 2010 at 5:52 PM, George Laverick
> > > <wiki at woodlark.org> wrote:
> > > >
> > > > The image defined by $PageLogoURL is also a link. By default, it
> > > > points to the home page of the wiki. I would like it to point
> > > > to a URL that is outside of the wiki, but I have been unable to
> > > > find where that is defined.
> > > >
> > > > If it helps any, I am using the Triad skin.
> > > 
> > > Look in Site/PageHeader
> > > 
> > > -Peter
> > 
> > I found the Site.Pageheader page and it contained a string that
> > looked like this:
> > 
> > [[{$ScriptUrl}|{$PageLogoUrl}]]
> > 
> > I went into config.php and defined a variable $MotherUrl (also tried
> > defining it in pmwiki.php) and changing the above string to:
> > 
> > [[{$MotherUrl}|{$PageLogoUrl}]]
> 
> Seems like you should be able to just do
> 
>    [[http://other.location | {$PageLogoUrl}]]
> 
> and avoid the definition of a {$MotherUrl} variable entirely.
> 
> Pm

I tried that. It didn't work (seems like it should though). Using
Peter's method to define $MotherUrl worked fine.

George



More information about the pmwiki-users mailing list