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!

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:
    51
    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. PlatinumServerM

    PlatinumServerM Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2005
    Messages:
    400
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    New Jersey, USA
    cPanel Access Level:
    Root Administrator
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    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

  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