[pmwiki-users] Tool tips not working for me (Also Re: Title Attribute?)

Andrew Standfield andy at scruffyco.com
Fri Mar 14 03:30:43 CDT 2008


Randy,

	I'm sure there's a way... I just have no idea how to do it :) When  
it comes to PHP I know *just* enough to get myself in trouble (and to  
find simple errors in other's code), but when it gets down to some of  
the wizardry that patrick has done, I'm lost.

	On the philosophical side, by setting both Summary and Description  
for a page, you may find greater flexibility in the future. For  
instance, the Description could be used a as very short description  
of the page (eg. "Examining Achaeopteryx", but Summary would  
literally summarize the content of the page (eg. "Although  
Achaeopteryx had both teeth and flight feathers, it considered a  
primitive bird.")

	Just a thought.

Andy

On Mar 14, 2008, at 12:50 AM, Randy wrote:

> Andy,
>
> Thanks - your "tip" worked (in every sense). :)
>
> Do you know if there is a way to modify the internal link tool tip  
> code so that it uses the page Summary instead of the description  
> directive? I ask because all of my pages have a one line Summary,  
> which appears in page lists and seems like it would make a good  
> tool tip. Or do you think it's best to keep them separate?
>
> Randy
>
>
> On Mar 14, 2008, at 1:22 AM, Andrew Standfield wrote:
>
>> $FmtPV['$DescriptionT'] = '@$page["description"] ?  $page 
>> ["description"] : PageVar($pn, "\$Title")';
>> $LinkPageExistsFmt = "<a class='wikilink' title='{\$DescriptionT}'  
>> href='\$LinkUrl'>\$LinkText</a>";
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080314/2ac291e9/attachment.html 


More information about the pmwiki-users mailing list