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.

Quick Tip to make your user's life easier

Discussion in 'User Experience' started by ckizer, Mar 31, 2005.

  1. ckizer

    ckizer Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    129
    Likes Received:
    0
    Trophy Points:
    16
    If you don't have a custom cpanel skin, you should consider adding the path to the user's home directory. Users seem to ask this question often.

    Here's how to print it back: (nice thing to add to the index.html)

    /home/<cpanel print="$user">/public_html/

    So putting that would display back in cpanel:
    /home/username/public_html/
     
  2. kosmo

    kosmo Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    403
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    All over Europe
    A user dir may also be at /home2/ or wherever, so this command will not be accuarte. This will be:
    <cpanel print="$homedir">

    kosmo
     
  3. ckizer

    ckizer Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    129
    Likes Received:
    0
    Trophy Points:
    16
    Thanks that's much better. I didn't see that in the api.txt file anywhere....
     
  4. ckizer

    ckizer Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    129
    Likes Received:
    0
    Trophy Points:
    16
    That command prints back /home/username
    I recommend adding (in the index.html) for the control panel theme
    "/public_html/" onto that. Often "idiot" users will forget that and just copy/paste the path listed in their control panel ;-)

    Thanks.
     
Loading...
Similar Threads - Quick Tip user's
  1. internetbug256
    Replies:
    1
    Views:
    11

Share This Page