Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Oct 2003
    Posts
    46

    Default 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

  2. #2
    Member
    Join Date
    Dec 2001
    Posts
    746

    Default

    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.

  3. #3
    Member
    Join Date
    Oct 2003
    Posts
    46

    Default Excellent

    That is great, but what would I put in the "Access URL" if I wanted to open "http://google.com/a/%domain%". Or, does it have to be an HTML file and how could I generate that?

    Thanks,
    Brad

  4. #4
    Member
    Join Date
    Dec 2001
    Posts
    746

    Default

    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.

  5. #5
    Member
    Join Date
    Oct 2003
    Posts
    46

    Default 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

  6. #6
    Member
    Join Date
    Oct 2003
    Posts
    46

    Default 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

Similar Threads & Tags
Similar threads

  1. Google Apps
    By Ghansham in forum E-mail Discussions
    Replies: 2
    Last Post: 08-24-2011, 05:37 AM
  2. Need Help. Google Apps
    By ellardchua in forum New User Questions
    Replies: 1
    Last Post: 10-04-2010, 08:14 AM
  3. Subdomains for Google Apps
    By GoWilkes in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 11-13-2009, 01:21 AM
  4. Using google apps
    By sitekeeper in forum E-mail Discussions
    Replies: 5
    Last Post: 01-18-2008, 06:45 PM
  5. Google Apps - gmail
    By drhamad in forum New User Questions
    Replies: 1
    Last Post: 02-13-2007, 09:16 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube