Closed Gamemap closed 2 years ago
That's exactly what getAnyPublicLink
function was made for but I didn't go deep enough :blush:
Thanks for pointing that out 👍
I will very soon build a new helper function to use in place of tpl_pageinfo()
rather than adding instructions to documentation.
Fixed (https://github.com/geekitude/dokuwiki-plugin-userhomepage/commit/3f7c6f6d4d20069748761693db5eefe7bb5fa71e)
Added a helper fuction and documentation (https://www.dokuwiki.org/plugin:userhomepage#editor_locker_link) to replace docInfo
plain text to display link to editor's (or locker's) public page.
Thank you very much!
You're welcome. Thanks for your ideas.
Le lun. 20 déc. 2021 à 17:51, Gamemap @.***> a écrit :
Thank you very much!
— Reply to this email directly, view it on GitHub https://github.com/geekitude/dokuwiki-plugin-userhomepage/issues/44#issuecomment-998100683, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACA5CCNOCRRL426ATU7ZL3DUR5NK5ANCNFSM5KE4XUBQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message ID: @.*** com>
Perhaps this could be included in the documentation. (https://www.dokuwiki.org/plugin:userhomepage#user_links) This code needs to be included in the
main.php
of the wiki template to add a link at the bottom of the page to the user page of the last editor.Old Code:
New Code:
The Code is copied from the function
tpl_pageinfo()
and then modified. ($out .= '<bdi>'.$userhomepageHelper->getAnyPublicLink(editorinfo($INFO['editor'],true)).'</bdi>'
)