Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Plugins Open In New Window v64

Discussion in 'User Experience' started by Vetinari, Sep 4, 2017.

Tags:
  1. Vetinari

    Vetinari Registered

    Joined:
    Sep 4, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Houston
    cPanel Access Level:
    Root Administrator
    Has anyone else been able to get a WHM plugin to open in the same window post v64? Neither target=mainFrame nor target=_self has worked for me in either of these versions. running v66 at the moment. Confirmed that /usr/local/cpanel/bin/show_appconfig shows target: _self on the plugin in question. I even tried target=_self in the /var/cpanel/apps conf file for the Configure ClamAV Scanner plugin, and that too still opens in a new window.

    If anyone has a link to an example plugin that opens in the same window, I would be happy to review that.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    The updated behavior is documented under the "target" key on the following document:

    Guide to WHM Plugins - AppConfig Configuration File - Software Development Kit - cPanel Documentation

    Here's the corresponding entry from the 64 Release Notes:

    In the 66 Release Notes:

    Let us know if this helps.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. kssuhesh

    kssuhesh Member

    Joined:
    Jan 11, 2009
    Messages:
    16
    Likes Received:
    5
    Trophy Points:
    128
    Location:
    Kochi
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I'm setting up a whm plugin in the same window and added "target=_self" in app config. But still the plugin interface open in new window. ( cPanel version used is v68.0.37 ). Can you give me some hints for this.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @kssuhesh,

    Can you let us know the contents of your plugin's app configuration file?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. kssuhesh

    kssuhesh Member

    Joined:
    Jan 11, 2009
    Messages:
    16
    Likes Received:
    5
    Trophy Points:
    128
    Location:
    Kochi
    cPanel Access Level:
    Root Administrator
    Twitter:
    Contents are here;

    --------
    name=xxxxx
    service=whostmgr
    url=/cgi/addon_xxx.cgi
    target=_self
    user=root
    acls=any
    displayname=XXXX

    --------
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    kssuhesh likes this.
  7. kssuhesh

    kssuhesh Member

    Joined:
    Jan 11, 2009
    Messages:
    16
    Likes Received:
    5
    Trophy Points:
    128
    Location:
    Kochi
    cPanel Access Level:
    Root Administrator
    Twitter:
    I have added the following entry and it worked for me.

    entryurl=addon_xxxx.cgi
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelMichael likes this.
  8. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I'm glad to see that helped. Thank you for sharing the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice