Jump to content

Customize the client area and order form


mhassan

Recommended Posts

There are several different ways to do this. The template files will depend on which you have selected in Setup > General Settings.

 

If you have default template selected it will be located at pathtowhmcs/templates/default

If you have classic it will be located in pathtowhmcs/templates/classic

If you have portal it will be located in pathtowhmcs/templates/portal

 

These templates are only for the functions of whmcs and not the ordering pages.

 

To edit the ordering pages goto pathtowhmcs/templates/orderpages

 

Now this will depend on what you setup in Setup > General Settings > Ordering

 

If you need to edit any of the wording it's in a folder located at pathtowhmcs/lang/english.php all the other files are used to translate the languages. However the only down fall is if you change one then you will have to change all the others also or it will not convert correctly.

Link to comment
Share on other sites

  • 4 weeks later...

Please guide me what I can edit in Footer and Header files.? See a lots of code into it.?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<html xmlns="http://www.w3.org/1999/xhtml">

 

<head>

 

<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />

 

<title>WHMCS - {$pagetitle}</title>

 

<link href="templates/v4/style.css" rel="stylesheet" type="text/css" />

 

<link href="../includes/jscript/css/ui.all.css" rel="stylesheet" type="text/css" />

 

<script type="text/javascript" src="../includes/jscript/jquery.js"></script>

 

<script type="text/javascript" src="../includes/jscript/jqueryui.js"></script>

 

<script type="text/javascript" src="../includes/jscript/textext.js"></script>

 

<script type="text/javascript">

 

var datepickerformat = "{$datepickerformat}";

 

{if $jquerycode}$(document).ready(function(){ldelim}

 

{$jquerycode}

 

{rdelim});

 

{/if}

 

{if $jscode}{$jscode}

 

{/if}

 

</script>

 

<script type="text/javascript" src="templates/{$template}/head.js"></script>

 

<script type="text/javascript" src="../includes/jscript/adminsearchbox.js"></script>

 

{$headoutput}

 

</head>

 

<body>

 

{$headeroutput}

 

<div id="headerWrapper" align="center">

 

<div id="bodyContentWrapper" align="left">

 

<div id="mynotes"><textarea id="mynotesbox" rows="15" cols="80">{$admin_notes}</textarea><br /><input type="button" value="Save" id="savenotes" /></div>

 

<div id="topnav">

 

<div id="welcome">{$_ADMINLANG.global.welcomeback} <strong>{$admin_username}</strong>  - <a href="../" title="Client Area">{$_ADMINLANG.global.clientarea}</a> | <a href="#" id="shownotes" title="My Notes">{$_ADMINLANG.global.mynotes}</a> | <a href="myaccount.php" title="My Account">{$_ADMINLANG.global.myaccount}</a> | <a href="logout.php" title="Logout">{$_ADMINLANG.global.logout}</a></div>

 

<div id="date">{$smarty.now|date_format:"%A | %d %B %Y | %H:%M %p"}</div>

 

<div class="clear"></div>

 

</div>

 

<div id="intellisearch"><strong>{$_ADMINLANG.global.intellisearch}</strong><br />

 

<div style="padding-top: 5px;" align="center">

 

<input type="text" id="intellisearchval" />

 

<img src="images/icons/delete.png" alt="Cancel" width="16" height="16" class="absmiddle" id="intellisearchcancel" />

 

</div>

 

<div align="left" id="searchresults"></div>

 

</div>

 

<a title="WHMCS Home" href="./" id="logo"></a>

 

<div class="navigation">

 

<ul id="menu">

 

{include file="v4/menu.tpl"}

 

</ul>

 

</div>

 

</div>

 

</div>

 

<div id="content_container">

 

<div id="left_side">

 

 

 

{include file="v4/sidebar.tpl"}

 

 

 

</div>

 

<div id="content">

 

{if $helplink}<div class="contexthelp"><a href="http://docs.whmcs.com/{$helplink}" target="_blank"><img src="images/icons/help.png" border="0" align="absmiddle" /> {$_ADMINLANG.help.contextlink}</a></div>{/if}

 

<h1>{$pagetitle}</h1>

 

<div id="content_padded">

Link to comment
Share on other sites

If you need to edit any of the wording it's in a folder located at pathtowhmcs/lang/english.php all the other files are used to translate the languages. However the only down fall is if you change one then you will have to change all the others also or it will not convert correctly.

you only have the change the language(s) you use - you don't need to change the ones that you don't use.

 

also, you can leave the language files unaltered and use Overriding Language Strings to just edit the strings you want to change.

 

http://docs.whmcs.com/Language_Files#Overriding_Language_Strings

 

I wish i'd known about that before altering the English language file, but i'll update it with overrides at the next update.

Link to comment
Share on other sites

Please guide me what I can edit in Footer and Header files.? See a lots of code into it.?

that looks to me like the source code for the Admin area rather than the client area.

 

if all you want to do is change the logo, then where you edit will depend on which template you're using...

 

so if you're using the "default" template, the logo is shown using the code below in header.tpl

 

<div id="whmcsheader">
   <div class="whmcscontainer">
       <div id="whmcstxtlogo"><a href="index.php">{$companyname}</a></div>
       <div id="whmcsimglogo"><a href="index.php"><img src="templates/{$template}/img/whmcslogo.png" alt="{$companyname}" /></a></div>
   </div>
</div>

you would either need to upload your logo image to the server and then change the 'whmcslogo.png' to your filename, or save your logo as "whmcslogo.png" and upload it to the correct template directory.

 

if the logos aren't the same dimensions, then you might need to edit further files.

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