DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:common_user_link

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
devel:event:common_user_link [2015-06-19 03:44] – [Plugins handling this event] added User Homepage geekitudedevel:event:common_user_link [2018-12-08 15:07] (current) – doc updated according to issue #2615 torpedo
Line 8: Line 8:
 ---- ----
  
-When the [[config:showuseras]] config is set to the user interwiki link, this event is signalled by [[xref>userlink()]] in [[xref>inc/common.php]]. Handlers can use it to implement there own formatted user name instead of the user [[:interwiki]] link.+When the [[config:showuseras]] config is set to the user interwiki link, this event is signalled by [[xref>userlink()]] in [[xref>inc/common.php]]. Handlers can use it to implement their own formatted user name instead of the user [[:interwiki]] link.
  
 ===== Passed Data ===== ===== Passed Data =====
Line 25: Line 25:
 After that the COMMON_USER_LINK event is handled, the formatted user name stored in ''$data['userlink']'' will be returned  by [[xref>userlink()]]. After that the COMMON_USER_LINK event is handled, the formatted user name stored in ''$data['userlink']'' will be returned  by [[xref>userlink()]].
  
-===== Plugins handling this event ===== 
- 
-The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler yourself. 
- 
-  * [[plugin:userhomepage|User HomePage Plugin]] 
  
 ===== See also ===== ===== See also =====
  
 +  * [[codesearch>COMMON_USER_LINK|Code related to this event]] used in any DokuWiki's files, plugins and templates
   * The [[config:showuseras]] config let you choice the user interwiki link as the user link format.    * The [[config:showuseras]] config let you choice the user interwiki link as the user link format. 
   * Default the user [[:interwiki|interwiki]] link is configured to refer to '':user:<username>''.   * Default the user [[:interwiki|interwiki]] link is configured to refer to '':user:<username>''.
devel/event/common_user_link.txt · Last modified: 2018-12-08 15:07 by torpedo

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki