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 Theme Variables

Discussion in 'User Experience' started by bmcpanel, Nov 26, 2002.

  1. bmcpanel

    bmcpanel Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    546
    Likes Received:
    0
    Trophy Points:
    16
    I am updating a theme, and want to include the customer's email address that is entered into CPanel, into a form field automatically. I know CPanel has its own code, API, or whatever. Someone published a list on this forum at one time with all of the variables that CPanel uses. I cannot find it with the search function.

    Can someone help me out here?

    Thanks
     
  2. kosmo

    kosmo Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    403
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    All over Europe
    You probably need this:

    &cpanel CustInfo=&getemail()&&

    kosmo
     
  3. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    The code you want is
    &cpanel CustInfo=&getemail()&&

    For a list of all variables, have fun finding one. I learn what I can by studying the code.

    Good timing. ;)
     
  4. bmcpanel

    bmcpanel Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    546
    Likes Received:
    0
    Trophy Points:
    16
    Thank you both.
     
Loading...

Share This Page