Results 1 to 6 of 6

Thread: some help with the header.tpl

  1. #1
    Join Date
    Nov 2009
    Posts
    41

    Default some help with the header.tpl

    Hi,
    I am trying to customize my install. I am working on the header section and I have found what everything does but I can not find the section that checks if I am logged in as an admin. I think it is not in the header.tpl, where is it? I am new to this so I don't want to inadvertently ruin something.

    Thanks

  2. #2

    Default

    Hi Carlos,

    The Admin and Client sections have seperate templates, so no need to worry! Any changes you make to the templates in /whmcs/templates will only affect clients, and any changes you make to the templates in /whmcs/admin/templates will only affect admins.

    All the best,

    Chris

  3. #3
    Join Date
    Nov 2009
    Posts
    41

    Default

    I understand that but, When I login as a client, there is a section in the upper right corner that says Logged in as administrator|return to administrator area. I would like that to match the rest of the color scheme I am creating, I know that only admins will see it but if I'm going to do something, I would like to do it totally. Also, it has to get that info from somewhere to be able to put it there, I don't want to remove it by accident so I would like to know where it is, I would guess that instead of a {if $loggedin} line there might be a {if $adminloggedin} line. That is what I am looking for.
    Thanks

  4. #4
    Join Date
    Jun 2009
    Location
    UK
    Posts
    6,331

    Default

    There isn't a way to customise, or accidentally remove the "Logged in as Admin" div.
    WHMCompleteSolution
    The Complete Client Management, Billing & Support System
    www.whmcs.com

  5. #5
    Join Date
    Nov 2009
    Posts
    41

    Default

    Ok, Thanks.

  6. #6
    Join Date
    Nov 2009
    Posts
    41

    Default

    Hi All,
    Another snag for me . I am trying to get the company name (<div id="comany_title">{companyname}</div>) in the header.tpl to appear as far left as possible from where it is now.

    Also, at the same time, if possible, I would like to add another image to the top section, just to the left of the register or login area. Would that require adding another <div section? If so where/how?

    Thank you

Similar Threads

  1. How to call wordpress header in header.tpl
    By dick1980 in forum Customisation & Integration Questions
    Replies: 4
    Last Post: 07-18-11, 04:33 PM
  2. header.tpl to header.php
    By milestonemedia in forum General Discussion
    Replies: 1
    Last Post: 06-28-10, 09:27 PM
  3. changes to header.tpl, homepage.tpl, etc.
    By JerusaHost- Mark in forum Customisation & Integration Questions
    Replies: 2
    Last Post: 05-17-10, 07:03 PM
  4. header.tpl
    By skmd in forum Customisation & Integration Questions
    Replies: 19
    Last Post: 09-29-09, 07:28 PM