Jump to content

WHMCS Integration Problem


poweruphosting

Recommended Posts

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.

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

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 by tripler
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 by poweruphosting
Link to comment
Share on other sites

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.

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