Jump to content

Single sign on cPanel template modification


Recommended Posts

I am trying to add a link to a cPanel app through the single sign on section of the client area, but it only takes me to the cPanel, & not load the app itself.

The app I am trying to link to is RVSiteBuilder, which is a third party app, that each client has a license to use via our cPanel accounts. I assume one issue might be that the normal method of using this App is to go via the cPanel link, which then includes the cPanel identifier in the referring URL to take the user to the RVSitebuilder website where they can then use the full resources of the software.

 

The code I have tried to use in modules/servers/cpanel/overview.tpl is

<div class="col-sm-3 col-xs-6" id="cPanelRVSiteBuilder">

<a href="clientarea.php?action=productdetails&id={$serviceid}&dosinglesignon=1&app=RVSiteBuilder_home" target="_blank">

<img src="modules/servers/cpanel/img/rvsitebuilder.png" />

{$LANG.cPanel.rvsitebuilder}

</a>

</div>

Anyone know how I could make this work?

Link to comment
Share on other sites

Hi Brian. Yep, have read that and the section dealing what I am trying to do. The section you pointed me to is about having the client side info appear on the cPanel itself. I am trying to add an extra link into the client are of the WHMCS installation. Example is that among the standard things a person can access from with the client area is cron jobs, file manager, etc. I want to add a link inside the client are, not inside the cPanel so that a person can access RVSiteBuilder without having to go into the cPanel.

Link to comment
Share on other sites

I get what you were trying to do, it's just that you're trying to point to a 3rd party app rather than a built-in cpanel feature... and I don't know if that needs additional authorisation.

 

anyway, I haven't really played with the cPanel SSO links yet, so I don't know how to do what you want to do - i'd be tempted to email Support about this as cPanel handle WHMCS support.. so you might get someone who knows both WHMCS and cPanel - worst case scenario would be they throw their hands in the air, claim it's a customisation and send you back here! :)

Link to comment
Share on other sites

ROFL, yep might give that a try. I can see why this would be difficult to achieve though, because any website created using RVSitebuilder then has to be installed to the client's web root, RVSitebuilder does this from a remote location, so having the correct account identifier would be extremely important.

 

Includign most cPanel links is not that tricky. IF you take a look at modules/servers/cPanel/overview.tpl the syntax & structure are very straightforward, for MOST things that is ROFL

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