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!

CPanel Links - Help with variables

Discussion in 'User Experience' started by ryno267, Apr 3, 2004.

  1. ryno267

    ryno267 Well-Known Member

    Joined:
    Mar 3, 2004
    Messages:
    212
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Chandler, AZ
    cPanel Access Level:
    Root Administrator
    In the index.html page of cpanel and in email/email.html there are links to the webmail, which in cpanel is default of webmaillogin.html.

    I want to change that link to DOMAIN/webmail

    The variable for the domain is <cpanel print="DOMAIN">

    How do I make the domain a variable in the <a href="DOMAIN/webmail" target="_blank">

    Does somebody know how to do that?

    I've changed the link to ../../webmail - but when you click on it the url still has www.DOMAIN:2083/webmail which obviously doesnt work.

    Thanks in advance!
     
  2. ryno267

    ryno267 Well-Known Member

    Joined:
    Mar 3, 2004
    Messages:
    212
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Chandler, AZ
    cPanel Access Level:
    Root Administrator
    well i figured this one out by myself eventually by testing.

    Surprisingly it worked as simply as this:

    <a href="http://www.<cpanel print="DOMAIN">/webmail" target="_blank">

    rYno
     
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