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.

Differant Skel File for differant package?

Discussion in 'General Discussion' started by JamieWarren09, Jun 24, 2009.

  1. JamieWarren09

    JamieWarren09 Registered

    Joined:
    Jun 24, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hi there! I am wondering if its possible to have a differant file in the skel directory for each package?

    For example :

    Silver = silver.html
    gold = gold.html

    Is it possible?

    Please can someone help me?

    Thanks all the best!
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Do you have root access to the server? If so, you can use /scripts/postwwwacct to load content into a user's home directory based on package. This wouldn't make use of the skeleton directory functionality, but since skeleton directories can't meet your needs, building this custom script will let you do what you desire.

    You can find documentation on creating this script at:

    ScriptHooks < AllDocumentation < TWiki
     
Loading...

Share This Page