[Pmwiki-users] Usual link behaviour in logo area of 0.6xx

Patrick R. Michaud pmichaud
Tue Feb 24 16:51:06 CST 2004


Oops, this is a bug in the pmwiki template that's been distributed with
PmWiki 0.6.1 and 0.6.2--I accidentally hardcoded the wrong address.
It'll be fixed in the next release a bit later this evening.

In the meantime, here's a new copy of pmwiki.tmpl--just copy it over
your previous pub/skins/pmwiki/pmwiki.tmpl file and all should be fixed.

Essentially I've just changed the target of the logo url in the template
from '/wiki/PmWiki/PmWiki' (wrong) to '$ScriptUrl/$DefaultPage'.

Pm


On Tue, Feb 24, 2004 at 06:34:54PM -0500, corq wrote:
> I reserve the right to have done something really odd in my configuring, but
> I left most things default.
> 
> When I click on the pmwiki logo in the upper left corner of my page, it goes
> to: [my correct site url] PLUS: '/wiki/PmWiki/PmWiki'  of course resulting
> in no precise page at all. I assume the 'wiki' in that url is from the
> default settings which I've customized, but I can't I can correct this
> appendage properly.
> 
> I have pmwiki installed in the main directory when there url refers,
> everything else links off correctly (to other pages etc),
> But I can't seem to find a configuration in config.php where I 'set' the url
> that clicking on the logo image will link to. In older version it sent the
> vistor back to the 'Main' page, which is what I'd like it to do now.
> 
> Also, is it possible to "disable" the logo altogther? I'm thinking of just
> keeping a minor custom logo in my leftmenu instead, but logical mods of the
> logo image switch result in that place-holder image still showing up without
> graphic (the red 'x') or whatever.
> 
> Thanks!
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.590 / Virus Database: 373 - Release Date: 2/16/2004
> 
> 
> 
> 
> -- 
> Pmwiki-users mailing list
> Pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
-------------- next part --------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
    "http://www.w3.org/TR/html40/loose.dtd">
<html><head>
  <title>$WikiTitle - $HTMLTitle</title>
  <link rel='stylesheet' href='$PubDirUrl/css/stdlayout.css' type='text/css' />
  <link rel='stylesheet' href='$PubDirUrl/skins/pmwiki/pmwiki.css' type='text/css' />
  $HTMLHeaders
</head>
<body>
<!--PageHeaderFmt-->
  <div id='wikilogo'><a href='$ScriptUrl/$DefaultPage'><img 
    src='$PageLogoUrl' border='0' alt='PmWiki' /></a></div>
  <div id='wikihead'>
  <form action='$ScriptUrl/$[Main/SearchWiki]'>
    <input type='hidden' name='pagename' value='$[Main/SearchWiki]' />
    <a href='$ScriptUrl/$[Main/SearchWiki]'>$[SearchWiki]</a>:
    <input class='searchbox' type='text' name='text' value='' />
    <input class='searchbutton' type='submit' value='$[Go]' /></form></div>
<!--PageLeftFmt-->
  <table id='wikimid' width='100%' cellspacing='0' cellpadding='0'>
    <tr><td id='wikileft'>
        <!--wiki:$Group.SideBar Main.SideBar--></td>
      <td id='wikibody'>
<!--PageTitleFmt-->
       <div id='wikititle'>
         <div class='pagegroup'><a href='$ScriptUrl/$Group'>$Group</a> /</div>
         <div class='pagetitle'><a href='$PageUrl'>$Title</a></div></div>
       <div id='wikicmds'>
         <a href='$ScriptUrl/$[$Group/RecentChanges]'>$[Recent Changes]</a>
         <a href='$PageUrl?action=print' target='_blank'>$[Printable View]</a>
         <a href='$PageUrl?action=diff'>$[Page History]</a>
         <a href='$PageUrl?action=edit'>$[Edit Page]</a></div>
<!--PageText-->
<!--PageRightFmt-->
       </td></tr></table>
<!--PageFooterFmt-->
  <div id='wikifoot'>
    <div class='footnav'>
      <a href='$PageUrl?action=edit'>$[Edit Page]</a> -
      <a href='$PageUrl?action=diff'>$[Page History]</a> -
      <a href='$PageUrl?action=print' target='_blank'>$[Printable View]</a> -
      <a href='$ScriptUrl/$[$Group/RecentChanges]'>$[Recent Changes]</a> -
      <a href='$ScriptUrl/$[PmWiki/WikiHelp]'>$[WikiHelp]</a> -
      <a href='$ScriptUrl/$[Main/SearchWiki]'>$[SearchWiki]</a></div>
    <div class='lastmod'>$[Page last modified on $LastModified]</div></div>
</body>
</html>


More information about the pmwiki-users mailing list