[pmwiki-users] shortcut for wikilink

noskule noskule at gmx.net
Thu Mar 9 06:50:50 CST 2006


H. Fox schrieb:

>On 3/8/06, noskule <noskule at gmx.net> wrote:
>  
>
>>hi list
>>is it somhow possible to configure a shortcut for a wikilink.
>>    
>>
>
>There are "internal link" and "external link" GUI buttons, so I'm not
>sure what you are asking for.
>  
>
theres a shortcut for bold and italic

'ak_strong'        => 'b',     # strong text (bold)

so I'm wondering how i would assing one to

	[[pagename]], and [[pagename|name]]


the guibutton for it I have allready defined:

$GUIButtons['pagelink_simple'] = array(350, '[[', ']]', '$[Page link]', 
                  '$GUIButtonDirUrlFmt/link_simple.png"$[Simple link]"');
$GUIButtons['pagelink_advanced'] = array(355, '[[URL|', ']]', '$[URL or page link]', 
                  '$GUIButtonDirUrlFmt/link_advanced.png"$[Advanced link]"');

grz nos


>  
>
>>Or how do
>>I assign shortcuts to guibuttons?
>>    
>>
>
>  http://www.pmwiki.org/wiki/Cookbook/GuiEdit
>
>Hagan
>
>
>  
>





More information about the pmwiki-users mailing list