History: PluginSignature
Preview of version: 5
Plugin Signature
Use this wiki plugin to interactively sign a page with your hand written signature.
Not to be confused with PluginSign
Parameters
Allows to draw signaturesGo to the source code
Preferences required: wikiplugin_signature
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
align |
text | Signature image align in document (default is left) | ||
editable_by_groups |
text | Put some groups that are allowed to edit this plugin | ||
editable_by_user |
text | Put some usernames that are allowed to edit this plugin | ||
height |
digits | Signature image height (default is 200px) | ||
name |
text | Name of component. | ||
width |
digits | Signature image width (default is 400px) |
Examples
This code:
Copy to clipboard
{signature}
Would produce:
Screen Captured Demonstration
https://sourceforge.net/p/tikiwiki/code/77409
Miscellaneous
It uses https://github.com/szimek/signature_pad
Copy to clipboard
We have pushed a new wikiplugin_signature, which allows to draw a signature and save it as an image. How to use: {CODE()} {signature} {CODE} Additional params: * name - Like the “person“ who should sign (example: customer). The name is displayed in the signature button. * width - The signature image width (default is 400px). * height - The signature image height (default is 200px) * align - Where to position the signature (default is left). After save, the image is stored within the plugin content as image/png base64. The plugin is also ready for PDF export since it uses images after signature is saved. Caveats: Who signs needs permission to edit the tiki-page. Code changes delivered to master: https://gitlab.com/tikiwiki/tiki/-/merge_requests/608