<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Oh my gosh!<div><br class="webkit-block-placeholder"></div><div>This recipe fixes my issue from before! :)</div><div><br class="webkit-block-placeholder"></div><div>It looks like the $LinkPageExistsFmt option you're using (the third one one the recipe you link to) wants to set the page description as the title attribute for the link (which is what causes tooltips). However, the example you give on how you're setting the description is incorrect. You want to use it as a directive, like you've done with the title. Like this:</div><div><br class="webkit-block-placeholder"></div><div>(:description This is my page description:)</div><div><br class="webkit-block-placeholder"></div><div>I used the third option:</div><div><br class="webkit-block-placeholder"></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 15px; "><font style="font: 13.0px Andale Mono"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">$FmtPV['$DescriptionT'] = '@$page["description"] ?  $page["description"] : PageVar($pn, "\$Title")';</span></font></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 15px; "><font style="font: 13.0px Andale Mono"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">$LinkPageExistsFmt = "&lt;a class='wikilink' title='{\$DescriptionT}' href='\$LinkUrl'&gt;\$LinkText&lt;/a&gt;";</span></font></font></div></div><div><br class="webkit-block-placeholder"></div><div>Which will put the page title if no description exists.</div><div><br class="webkit-block-placeholder"></div><div>I didn't think it was working for me at first, either. After you implement it, make sure that you are hovering over an internal link to a page that exists and is *not* the current page.</div><div><br class="webkit-block-placeholder"></div><div>BTW, the link to PITS that Hagan gave me earlier (<a href="http://www.pmwiki.org/wiki/PITS/00657">http://www.pmwiki.org/wiki/PITS/00657</a>) has a note on the top of how to put a title attribute in to an *external* link.</div><div><br class="webkit-block-placeholder"></div><div>It says to add this to your config.php:</div><div><br class="webkit-block-placeholder"></div><div><font class="Apple-style-span" face="'Andale Mono'">$UrlLinkFmt = "&lt;a class='urllink' href='\$LinkUrl' rel='nofollow' title='\$LinkAlt'&gt;\$LinkText&lt;/a&gt;";</font></div><div><br class="webkit-block-placeholder"></div>To set the title attribute for the external links, use [[<a href="http://www.whatever.com">http://www.whatever.com</a>/"Tooltip text can go here" | Link Text]]<div><br><div>I have them both in config.php, and they seem to be working fine. Take a look at:</div><div><br class="webkit-block-placeholder"></div><div><a href="http://www.scruffyco.com/divide/Main/HomePage">http://www.scruffyco.com/divide/Main/HomePage</a></div><div><br class="webkit-block-placeholder"></div><div>Mouse over the two (external) links in the main body, as well as "Overview" and "Links" in the navigation. Over view has the (:description:) set, but "Links" does not.</div><div><br></div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div>Andy</div><div><br><div><div>On Mar 13, 2008, at 8:53 PM, Randy wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Can anyone tell me why I don't see a tool tip when I follow the recipe <span class="Apple-converted-space"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">described at <a href="http://www.pmwiki.org/wiki/Cookbook/LinkPageExistsFmtTooltip">http://www.pmwiki.org/wiki/Cookbook/LinkPageExistsFmtTooltip</a><span class="Apple-converted-space"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span>and then hover my cursor over a link?</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I'm using the latest version of PmWiki, and have a number of recipes <span class="Apple-converted-space"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">installed.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">The working example referred to in the recipe works for me, so I doubt <span class="Apple-converted-space"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">the problem is with my browser.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">My Sandbox contains:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(:title The Sandbox:)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Description: test tool tips</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">[[Main.Sandbox]]</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">My config.php contains only one reference to LinkPageExistsFmt:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">$LinkPageExistsFmt = "&lt;a class='wikilink' title='{\$Description}' <span class="Apple-converted-space"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">href='\$LinkUrl'&gt;\$LinkText&lt;/a&gt;";</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Thanks in advance for any comments,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Randy</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">pmwiki-users mailing list</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a></div> </blockquote></div><br></div></div></body></html>