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.

Theme Varables?

Discussion in 'User Experience' started by AlexSmithMCP, Mar 7, 2005.

  1. AlexSmithMCP

    AlexSmithMCP Well-Known Member

    Joined:
    May 26, 2004
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hi all,

    does there happen to be a list with all the varables for the cpanel themes e.g.
    Code:
    <cpanel print="$CPDATA{'MAXSUB'}">
    i have searched here and cant find anything. if not i'll just try to work them out myself but it would be nice if the kind people at cpanel could point me in the right direction ;)

    Thnxs,

    Alex
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You're pretty much on your own with the theme API's, i.e. trial and error using the x skin will give you most of what you need. There is some information in:

    /usr/local/cpanel/*api.txt

    Beyond that, cPanel haven't released any other documentation on the API's AFAIK.
     
  3. richy

    richy Well-Known Member

    Joined:
    Jun 30, 2003
    Messages:
    276
    Likes Received:
    1
    Trophy Points:
    16
  4. ckizer

    ckizer Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    129
    Likes Received:
    0
    Trophy Points:
    16
    BEST WAY:

    <cpanel print="$homedir">/public_html/
     
    #4 ckizer, Mar 30, 2005
    Last edited: Mar 31, 2005
Loading...

Share This Page