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!

Cpanel13-skel some technical information

Discussion in 'General Discussion' started by ozzi4648, Oct 3, 2002.

  1. ozzi4648

    ozzi4648 Guest

    I have looked everwhere for some kind of technical manual on variables i need to use. For example we would like to place a rollout html for our users to see after their accounts have been created. We need to find actual variable names that we can embed in the skeleton index.html page so that those variables are converted to links that users will see. You can see what I'm talking about here

    You will see three links on this page, one called
    and the variable that passes this link is called http://ENSIM_DOMAINNAME/ The same goes for the other 2 links on the page. When the users site is created the link is replaced with the name of the domain. I know these variables must exist because howelse would we see actually links to the users sites in the themes, the problem is i cant find any documentation on this.

    Thanks for your help.

  2. moronhead

    moronhead Well-Known Member

    Aug 12, 2001
    Likes Received:
    Trophy Points:
    This is easy to do with javascript, you don't need any cpanel variables.
  3. ozzi4648

    ozzi4648 Guest

    [quote:12c63fe1f5][i:12c63fe1f5]Originally posted by moronhead[/i:12c63fe1f5]

    This is easy to do with javascript, you don't need any cpanel variables.[/quote:12c63fe1f5]

    Why Javascript? CPanel must have variables one can use, surely? I guess nobody ever rolled out a custom index.html to their users before?
  4. BJMG

    BJMG Active Member

    Jul 24, 2002
    Likes Received:
    Trophy Points:
    cPanel has variables for everything, however, the problem with what you need is that cPanel themes are parsed. The files in the skel directory are just &cp&ed to the new users &public_html& directory.

    To do what is done on, you could use SSI to do this.

    Upload/create an index.shtml file in the skel directory and then place the following html within the file:

    & a hr ef = & http:// & ! -- # echo var= ' SERVER_NAME ' --& & &
    & ! -- # echo var= & SERVER_NAME & --&
    & / a &

    & a hr ef = & http:// & ! -- # echo var = ' SERVER_NAME ' --&:2082 & &
    Control Panel
    & / a &

    ( Added spaces for obvious reasons. ) You could probably get the same results using an index.php file as well

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