Jump to content

Problems with Getting javascript to work correctly in header.tpl

Recommended Posts

I have almost successfully integrated whmcs into my wordpress website but the top menu on my website is not displaying correctly on the whmcs side.


The problem is within my header.tpl file from whmcs, getting the .tpl file to display javascript correctly.. I understand that javascript needs to be wrapped in {literal} tags in order for smarty template to accept it.. for some reason the drop down is spaced out from the services tab & the menu links are alot more cosed in compared to my wordpress websites menu


http://www.clients.sitemaintenance.co/ <--- this shows you the broken drop down over the services link



http://www.sitemaintenance.co/ <--- this is showing the correct display of the top menu. when you hover over the services tap the dropdown does work and you can move your mouse down to the other links.

Share this post

Link to post
Share on other sites

Your main website has been coded and is rendering in HTML5, while the WHCMS system is rendering your WHMCS into HTML Traditional. Also, looks like you have conflicting CSS that is causing spacing issues within parts of your site.


About the dropdown, could be related to multiple jquery files.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.


Important Information

By using this site, you agree to our Terms of Use & Guidelines