[pmwiki-users] Core and question marks

Pico pmwiki at ben-amotz.com
Sun Aug 27 17:55:49 CDT 2006


Patrick R. Michaud wrote:
> On Sun, Aug 27, 2006 at 11:41:01AM -0400, The Editor wrote:
>> According to the recipe at
>> http://www.pmwiki.org/wiki/Cookbook/RemoveQuestionMark
>>
>> "If you want all links to non-existent pages in specific groups (even
>> when linked to [from] outside of these groups), to continue to link to
>> the non-existent page, and to not link to the edit-page, you will have
>> to patch your pmwiki.php."
> 
> FWIW, when people say "you have to patch pmwiki.php", it's almost
> never true in an absolute sense.  One can always create a replacement 
> function for LinkPage() in a local script, and have it be used 
> instead of PmWiki's normal LinkPage() function.  Thus
> 
>     $LinkFunctions['<:page>'] = 'MyCustomLinkPage';
> 
> will call MyCustomLinkPage (instead of the built-in LinkPage() function)
> whenever PmWiki needs to generate a link to another page.
> 
> 
So, one request, if you would.

How would I change it to add a span within a portion of the link's 
displayed text?  The html would look like this:

<a href="http://www.meyerweb.com/eric/css/">Links<span>A collection of 
things which interest me, and might interest you</span></a>

 From a page about script-less css popups.  See 
http://meyerweb.com/eric/css/edge/popups/demo.html

Pico




More information about the pmwiki-users mailing list