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.

easy cpanel skin wrapping

Discussion in 'General Discussion' started by tkoweb, Sep 20, 2003.

  1. tkoweb

    tkoweb Active Member

    Joined:
    Dec 26, 2002
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    All this time I was wondering what an easy way would be to do up my cpanel skins.. It just now occured to me that <cpanel include="/home/username/public_html/blah.htm"> does the job right. Now my skin is actively editable and fully integratable into my site design with no extra effort.

    Is this how you guys have been doing it all along?

    To think I was editing all those files in the frontend directory, tracing a nightmare of files to change one word or add one icon.

    cPanel.net Support Ticket Number:
     
  2. mickeymouse

    mickeymouse Well-Known Member

    Joined:
    Sep 16, 2003
    Messages:
    389
    Likes Received:
    0
    Trophy Points:
    16
    Dear tkoweb,

    Thanks for the information.I have been editing files in the frontend directiry as well.Also, it is better to change
    <cpanel
    include=\"/home/username/public_html/blah.htm\">
    instead of editing the main configuration files.

    Regards,

    cPanel.net Support Ticket Number:
     
  3. Stefaans

    Stefaans Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    451
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Vancouver, Canada
    Until about a month ago, we had our cPanel theme set up as a normal hosting account. A simlink /usr/local/cpanel/base/frontend/ourtheme -> /home/ourtheme/public_html was all that was needed to make it available as a cPanel theme.

    But our set up somehow stopped working on all our servers about a month ago after a cPanel update. We then decided to move everything into /usr/local/cpanel/base/frontend. Updates is still reasonable simple because we use SFTP to connect to that directory directly.

    cPanel.net Support Ticket Number:
     
  4. tkoweb

    tkoweb Active Member

    Joined:
    Dec 26, 2002
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    I ran into this at one point..

    You can still do it the way you used to do it, just copy the theme into a new theme, and chattr +i that theme folder after creating the symlink and pointing header and footer information to your own home folder.

    cPanel.net Support Ticket Number:
     
  5. Stefaans

    Stefaans Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    451
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Vancouver, Canada
    That's good news. I will try it again some time. Right now, uploading to frontend via SFTP is working quite OK. Thanks for the advice.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page