bookman53 Posted April 24, 2020 Share Posted April 24, 2020 I'm not sure my topic title was clear enough. I just updated to 7.10.1, but this issue was going on before. I thought the update might solve it. I have an issue with the client area displaying properly. I have a theme designed by WHMCS Themes which I am very happy with. The problem is that whether it's announcements, domains, invoices or anything else that might display in the client area, once the content reaches the bottom of first navigation box in the left sidebar, the content goes full width and stays that way, pushing the bottom navigation box down below it. I have the basic WHMCS license so my site displays the WHMCS credit line at the bottom of every page. (I'll be talking to my webhost about upgrading my license to get past that.) I suspect it is a CSS issue in whichever tpl controls the basic layout of the client area. Whatever is doing it, that credit line is above the bottom navigation box which should stay just below the first one. Instead of that credit line being just above the footer, the bottom navigation box is just above the footer, then the WHMCS credit line, then the main content. If I could figure out which tpl file controls the basic client area page, I might be able to figure out where the hiccup is. I'd appreciate any input. Thanks. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted April 27, 2020 Share Posted April 27, 2020 On 24/04/2020 at 21:04, bookman53 said: I just updated to 7.10.1, but this issue was going on before. I thought the update might solve it. if there is a problem before updating, often updating can make it worse - depending on what the problem is! On 24/04/2020 at 21:04, bookman53 said: I have a theme designed by WHMCS Themes which I am very happy with. The problem is that whether it's announcements, domains, invoices or anything else that might display in the client area, once the content reaches the bottom of first navigation box in the left sidebar, the content goes full width and stays that way, pushing the bottom navigation box down below it. two thoughts - it would be useful to see a screenshot so I can visualise what you're seeing, and probably more importantly, have you contacted WHMCS Themes and either downloaded an updated release for your current WHMCS installed release, or contacted their support for help.... granted, if it's a free template, then I don't think they offer support. a third thought - if you go to their site, and choose the online demo of your template, does what you see on your site occur on their demo too ?? On 24/04/2020 at 21:04, bookman53 said: I have the basic WHMCS license so my site displays the WHMCS credit line at the bottom of every page. (I'll be talking to my webhost about upgrading my license to get past that.) I suspect it is a CSS issue in whichever tpl controls the basic layout of the client area. Whatever is doing it, that credit line is above the bottom navigation box which should stay just below the first one. Instead of that credit line being just above the footer, the bottom navigation box is just above the footer, then the WHMCS credit line, then the main content. it does sound like a css issue.. or perhaps an unclosed div. On 24/04/2020 at 21:04, bookman53 said: If I could figure out which tpl file controls the basic client area page, I might be able to figure out where the hiccup is. a page in the client area is basically 3 templates (and of which can load more embedded templates!)... so header.tpl will be used to define the main layout of the page; footer.tpl will be used for the content of the footer and then the middle template will contain the content of that specific page, e.g if it's announcements, then that will be announcements.tpl and so on. header.tpl might be your best bet, so unless you've already tinkered with the layout design, i'd be more inclined to see if downloading/updating the template would fix the issue. 0 Quote Link to comment Share on other sites More sharing options...
bookman53 Posted April 27, 2020 Author Share Posted April 27, 2020 (edited) Regarding the update possibly causing or fixing the issue, I don't really think it is a WHMCS issue because if I activate the Six theme, the problem doesn't exist. The theme is a paid theme. I've contacted their tech support. Waiting for a reply. The demo on their site does not have this problem. I opened a brand new copy of the header.tpl file from the theme .zip file and compared it to the one I have active. There is no difference except the main navigation is different because of the pages I've added and removed from the demo content. I don't understand how anything in the header.tpl could cause the WHMCS credit line to inject in the wrong place in the main body. Just shows I have things to learn. 🙂 I have attached a screenshot of the client area for a dummy client. There are no domains to display, but you can see that the "Powered by WHMCompleteSolution" <p> is injected just before the secondary nav box, rather than the last thing before the footer. The same thing happens on the announcements page or the Knowledge Base page. on those pages, the content starts in the top of the content area and as soon as it passes the bottom of the first nav box, it wraps under it and stays full-width across the page until it runs out of content. Then the "Powered by" <p>, then the secondary nav box, then the footer as shown in the attached screenshot. Thank you. Edited April 27, 2020 by bookman53 0 Quote Link to comment Share on other sites More sharing options...
bookman53 Posted April 27, 2020 Author Share Posted April 27, 2020 I found the problem, thanks to your lead about the header which I said I didn't understand. I still don't understand what exactly about the following lines of code would cause havoc with the client area pages, but something there did. I copied the header section by section from a new unedited copy of the header.tpl and tested the page after every update. Nothing changed until I copied in these lines: <div id="clientarea" class="{$clientarea_layout_type}"> {if $whmcs_menu eq 'separated'} {$whmcs_navigation} {/if} {$whmcs_header} {/if} As soon as I did that, everything straightened out. I had visually compared the header files before and found nothing. I suppose it could have been an extra space or something that I accidentally caused somewhere along the way. Nevertheless, thank you for the suggestion. That issue is now fixed. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted April 28, 2020 Share Posted April 28, 2020 18 hours ago, bookman53 said: As soon as I did that, everything straightened out. I had visually compared the header files before and found nothing. I suppose it could have been an extra space or something that I accidentally caused somewhere along the way. often the most trivial of things like that can cause utter confusion with the layout - glad you got to the bottom of the issue. ☺️ 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.