|
|||
|
Adding Custome Features (Google Hosted Apps)
Hello,
I've moved email hosting to Google Hosted Apps for all of my customers and I'd like to have a "Feature" as part of the Feature Manager so that I can add a Google Mail Icon to the user's control panel. That Icon should simply link to mail.%domain% or google.com/a/%domain%. It would be nice to have it open in a new window as well. Does anybody have any idea how to add an Icon with a "dynamic" link to the skin? Thanks, Brad |
|
||||
|
You can add this by using the cPanel Plugin Generator located here:
http://www.cpanel.net/plugins/devel/installgen.html Instructions are here: http://www.cpanel.net/plugins/devel/install.html Please let me know if you have any questions.
__________________
-Dave cPanel Inc. Need support? Submit a request here. These forums are not an official support channel. www.cpanel.net |
|
||||
|
You should put the full URL of the content you wish to access if it's not on the same server.
If it's located on the same server inside the theme, the URL relative to https://IP:2083/frontend/theme/ should be used.
__________________
-Dave cPanel Inc. Need support? Submit a request here. These forums are not an official support channel. www.cpanel.net |
|
|||
|
Thanks
Hi Dave,
Thanks, but is there any way to substitute items into the URL? Items like email address, domain name, username, etc. so that they can be different URLs for each user? I want to point to http://google.com/a/%domain_name% like http://google.com/a/cpanel.net Or, if I point at a file like /googleapps.php, is there a way to get access to these types of variables? Can I <?php include> anything? Thanks, Brad |
|
|||
|
Solved
Here is the solution for the URL:
http://google.com/a/$CPDATA{'DNS'} Does anybody know all of the different $CPDATA variables that are available for the plugin? This would be great information to include in the API documentation. Thanks, Brad |
![]() |
| Thread Tools | |
| Display Modes | |
|
|