Skip to main content

Passing MD5 to template

Comments

1 comment

  • DavidN.
    Howdy, Probably the easiest way to do what you need to would be to write a UAPI module with a subroutine that does what you need, and then invoke that from within your header template. UAPI modules are just Perl modules written a specific way and stored in /usr/local/cpanel/Cpanel/API. Once a UAPI call is available, calling it from inside Template Toolkit code just looks like "execute( 'Module', 'function', { 'key' => 'value' } );" UAPI - Custom UAPI Modules - Software Development Kit - cPanel Documentation If you have any more questions about this, please don't hesitate to ask. David Nielson cPanel developer
    0

Please sign in to leave a comment.