dtmicro Posted May 6, 2010 Share Posted May 6, 2010 Trying to figure out which template page corresponds to clientarea.php (the login part of the app). I see a bunch of clientarea template pages, but none seem to correspond to that particular page. Also, is there anywhere in the docs that show which template files correspond to which page? 0 Quote Link to comment Share on other sites More sharing options...
dtmicro Posted May 6, 2010 Author Share Posted May 6, 2010 I guess the easiest way is just to open up the original PHP file and look, that is if it is not too obfuscated to where I cant tell what templates are used in it (which I believe they are obfuscated heavily). 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted May 10, 2010 WHMCS Support Manager Share Posted May 10, 2010 The php files are Ioncube encrypted. The template filenames should be fairly self explanatory. If you can't find one feel free to post the URL and I'd be happy to advise. 0 Quote Link to comment Share on other sites More sharing options...
ndragun Posted January 18, 2011 Share Posted January 18, 2011 Hm, actually I'd like to add to this thread as the content is relevant.... Ok, I see the basic structure here for a given area, but there seem to be content areas which I can't seem to pin down in the header/body/footer pages. For example, in the default template where is the right menu deriving from on the homepage page? Secondly, I don't see the content between the header file and body file which define printing of the company name on the top left and the "Please Login or Register" on the right. Maybe I'm missing something simple here .... 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted January 18, 2011 WHMCS Support Manager Share Posted January 18, 2011 1. There is no right menu on the default template. If you're referring to the portal template, that's located in footer.tpl. 2. That's the following code in header.tpl: <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> 0 Quote Link to comment Share on other sites More sharing options...
ndragun Posted January 18, 2011 Share Posted January 18, 2011 Hm, ok, something must be very strange here .... because I don't have a single line of code in my header/footer tpl's that would suggest what you are saying! lol footer consists only of: {if $langchange} <br /> <div class="contentbox">{$setlanguage}</div> {/if} <br /> </div> </body> </html> I may stand corrected if the right 'menu' (list of links) is called the portal template. Yes, that is the ENTIRE footer file. The same thing goes for the header, I don't see either line of code. Did something change in the latest release? I grabbed the source from the download link after I registered for my 15 day trial. (Which I am planning on either buying out-right or monthly depending on some thing.) 0 Quote Link to comment Share on other sites More sharing options...
bear Posted January 19, 2011 Share Posted January 19, 2011 that is the ENTIRE footer file. I have 68 lines in my footer.tpl from the portal templates. If all you have is that, something is amiss. That code is in the "default" template set, not the portal set. 0 Quote Link to comment Share on other sites More sharing options...
ndragun Posted January 19, 2011 Share Posted January 19, 2011 I have 68 lines in my footer.tpl from the portal templates. If all you have is that, something is amiss. That code is in the "default" template set, not the portal set. Correct, full path: {ziproot}/whmcs/templates/default/footer.tpl Download link was for the following zip file: whmcs_v442.zip footer.tpl size as reported: 117 bytes lines: 11 Perhaps there is something wrong with the zip file. Feel free to look at the live version of this zip file at: http://www.dragunhosting.com/whmcs/ I've changed nothing from unzipping. 0 Quote Link to comment Share on other sites More sharing options...
JofleyUK Posted January 19, 2011 Share Posted January 19, 2011 OK, the template you are using is the "Portal" template NOT The Default Template. Correct, full path: yoursite/whmcs/templates/portal/footer.tpl The default layout for WHMCS on installation is the Portal Template. You can check this from Setup --> General Settings. Look for: Template "Portal" The template you want WHMCS to use. This means the footer you should be looking at is in the portal directory. 0 Quote Link to comment Share on other sites More sharing options...
ndragun Posted January 20, 2011 Share Posted January 20, 2011 lol ... thank you for this clarification, it makes much more sense when explained that way. If I wanted to update the verbiage for a given label, is the proper method suggested to modify the language file? Thank you! 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted January 20, 2011 WHMCS Support Manager Share Posted January 20, 2011 Yes modifying the language files is the right way to do it. 0 Quote Link to comment Share on other sites More sharing options...
Alistair Posted January 20, 2011 Share Posted January 20, 2011 Yes modifying the language files is the right way to do it. And remember not to overwrite them when upgrading! 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted January 21, 2011 WHMCS Support Manager Share Posted January 21, 2011 It's always mentioned in the release notes, so that'd act as a reminder 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.