Jump to content

Custom ClientArea PHP Header


Recommended Posts

Hi Guys,

I've searched the net and I can not seem to get this damned thing working.

 

I'm wanting to change the top of the client area where it normally has the company name....I want to put my custom .php header file in order to integrate my website with my whmcs theme.....

 

I've tried adding multiple lines of code to the header.tpl file under templates but it still does nothing, the company name disappears and thats it.

 

Could someone help me?

 

 

Thanks in advance

Link to comment
Share on other sites

Sorry guys, alright, so i've got the header.tpl file right (well at least the top half of the file.....) - unmolestered version....

 

<body>
<div id="top_container">
 <div id="top">
   <div id="company_title">{$companyname}</div>
   <div id="welcome_box">{if $loggedin}{$LANG.welcomeback}, <strong>{$loggedinuser.firstname}</strong>   <img src="templates/{$template}/images/icons/details.gif" alt="{$LANG.clientareanavdetails}" width="16" height="16" border="0" class="absmiddle" /> <a href="clientarea.php?action=details" title="{$LANG.clientareanavdetails}"><strong>{$LANG.clientareanavdetails}</strong></a>   <img src="templates/{$template}/images/icons/logout.gif" alt="{$LANG.logouttitle}" width="16" height="16" border="0" class="absmiddle" /> <a href="logout.php" title="Logout"><strong>{$LANG.logouttitle}</strong></a>{else}{$LANG.please} <a href="clientarea.php" title="{$LANG.loginbutton}"><strong>{$LANG.loginbutton}</strong></a> {$LANG.or} <a href="register.php" title="{$LANG.clientregistertitle}"><strong>{$LANG.clientregistertitle}</strong></a>{/if}</div>
 </div>
</div>

 

my whmcs install is http://www.byehosting.com.au/

 

now i'm trying to pull http://www.byehosting.com.au/header.php into it somehow....so where I have the black bit at the top that says "Ben Young Enterprises" i want it to display the contents of the above header.php file...

 

I was reading this forum: http://www.webhostingtalk.com/showthread.php?t=940480 and I tried putting the line of code:

{include file="http://www.byehosting.com.au/header.php"}

just inside the body tag but the only thing that happened was that the company name (Ben Young Enterprises) Disappeared.......

 

 

I'm stuck on this one....I hope i'm making sense?

 

 

 

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated