Jump to content

Custom page on encrypted addon module


emresavas

Recommended Posts

Hello, I want to add a custom page (or tab) inside an encrypted addon module. Let's say this addon module is cPanel. Since the code repo is encrypted, I can not add a new custom page for this module using alter the code. Is it possible to add a custom hook and action to create a new page or tab like this: /clientarea.php?action=productdetails&id=758&custom-page=customAction

Note: I able to add a custom button via a hook but interested in creating a new custom page with a custom .tpl file.

Link to comment
Share on other sites

  • 3 weeks later...

I believe ClientAreaPrimarySidebar hook would allow you to add a menu item to the module's side bar.  That link would then just go to a custom page else where.  I don't think you can add a custom page that uses the module's own client area layout and menus and such.  Doing that with a javascript waiting for that link to be hit and then injecting fetched html may work. 

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