Jump to content

External javascript for module custom template


mcpacific

Recommended Posts

I wrote a new provisioning module and everything works great, but I was going to move my javascript from being embedded in the modulecustom.tpl file to an external file. However, when doing so my likes to the Smarty language variables break. Is it possible to do this, or do I have to leave the javascript in the body of the template file?

Link to comment
Share on other sites

You may have to reference the tpl file as an include to external file and then try it without the literal tags. Normally, this is not something we support so you may just have to tweak it until you find what works. Unfortunately it just may not work the way you would like it to.

 

--Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated