The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    16
    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:
    16
    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