poweruphosting Posted February 18, 2012 Share Posted February 18, 2012 Hello, This is my first attempt to integrate WHMCS and my wordpress based hosting site after I read the documentation on WHMCS wiki I edited all the required files mentioned in the docs (header, homepage and footer) and my front end of the integration looks perfect but I have ran into issues to : If you would look at this page : http://poweruphosting.com/members/, the integration for the front page looks perfect but when I click on any of the options for example submit ticket : https://poweruphosting.com/members/submitticket.php, those files are not picking up all the styling from the site. This is a bit weird and I am not sure what exactly the problem is. Also, do I have to edit any other files apart from header, homepage or footer ? (I used the default theme as a startup and modified those). I am using WHMCS 5.0 This is getting kinda annoying and any help would be really appreciated Thank You. 0 Quote Link to comment Share on other sites More sharing options...
WebsiteIntegrations Posted February 18, 2012 Share Posted February 18, 2012 Hello, The main files to edit are the header and footer. If for some reason you added some of your wp header/footer to the homepage then that will not show up on other pages. (also: the sidebar should be in the header or footer file - is that where you have it? I think no just because it does not show up on other pages). 0 Quote Link to comment Share on other sites More sharing options...
tripler Posted February 18, 2012 Share Posted February 18, 2012 (edited) You will need to edit all the TPL files in /templates/yourtemplate and then some.. to completely skin everything Its a pain in the butt and will take a while to hunt down all the incorrect pages and then when you think you are done, you go click around and find another unstyled area =) ex, there are about 5 tpl files for submitticket.php Also dont neglect your lang files when you scratch your head on copy editing Also for stuff like http://poweruphosting.com/web-hosting/ you can pull that table data from whmcs and so on. Edited February 18, 2012 by tripler 0 Quote Link to comment Share on other sites More sharing options...
poweruphosting Posted February 18, 2012 Author Share Posted February 18, 2012 Hello, The main files to edit are the header and footer. If for some reason you added some of your wp header/footer to the homepage then that will not show up on other pages. (also: the sidebar should be in the header or footer file - is that where you have it? I think no just because it does not show up on other pages). Thank you so much for the reply. You did pointed out the things correctly. The problem was in the homepage file. I have moved few of the things to the header section and the integration works like a charm now. Once again thank for you the reply. Really appreciated 0 Quote Link to comment Share on other sites More sharing options...
WebsiteIntegrations Posted February 19, 2012 Share Posted February 19, 2012 also because you hotlink to your wp files using http you will notice the https does not work properly where it should - like the order page. Ideally when i make a theme i take all the files from the main design and include them in the theme itself not just hotlink, that way you can also edit the css files from wp without effecting your main site and fix stuff like the css reset which is causing your portal home links to drop lower then the icons. 0 Quote Link to comment Share on other sites More sharing options...
poweruphosting Posted February 19, 2012 Author Share Posted February 19, 2012 (edited) also because you hotlink to your wp files using http you will notice the https does not work properly where it should - like the order page. Ideally when i make a theme i take all the files from the main design and include them in the theme itself not just hotlink, that way you can also edit the css files from wp without effecting your main site and fix stuff like the css reset which is causing your portal home links to drop lower then the icons. Yes I was looking to fix that small issue. You mean, you just link the css files as source in the head file ? I am using all the files from the main file as is it and I didn't alter anything. Further I did added https and I am trying to find the exact problem for images not aligning properly. This is not a big problem but rectifying it can make the site look much more professional Edited February 19, 2012 by poweruphosting 0 Quote Link to comment Share on other sites More sharing options...
Sitepearl Posted February 19, 2012 Share Posted February 19, 2012 Yes I was looking to fix that small issue. You mean, you just link the css files as source in the head file ? I am using all the files from the main file as is it and I didn't alter anything. Further I did added https and I am trying to find the exact problem for images not aligning properly. This is not a big problem but rectifying it can make the site look much more professional Yep, but a few things to watch out for would be CSS rules from both style sheets that effect elements on both sides (body, forms, etc). Might be wiser to pick out the CSS rules you need and just copy them into your theme's existing CSS file. That would also be only 1 HTTP request instead of 2. 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.