Nmuta Posted June 1, 2010 Share Posted June 1, 2010 Ok, here is the deal : I built a template using tables. All pages in my template display properly..... all EXCEPT cart.php. I got so frustrated that I finally compared the source of two generated whmcs pages, one that works fine, and the cart, which does not. Not surprisingly, I disovered a huge patch of table cell code that has no <table> tag starting it off, so it is essentially breaking up my entire table strcuted. The generated code in cart.php starts off like this: </TD></TR><TR><TD class="webkit-line-number"><TD class="webkit-line-content"><SPAN class="webkit-html-tag"><h2></SPAN>Browse Products & Services<SPAN class="webkit-html-tag"></h2></SPAN> </TD></TR><TR> etc. So you can see how this is terribly bad if a table has already been started in header.tpl, because cart.php just comes along and breaks it. Any suggestions ? What should I do ? 0 Quote Link to comment Share on other sites More sharing options...
Nmuta Posted June 1, 2010 Author Share Posted June 1, 2010 Actually, sorry... the downloaded "source" files were corrupted due to the way my browser saved them (Chrome). I just copied the sources of the broken "cart.php" page and another page that is not broken and I compared those. The main difference is simply a big table with the cart contents in what appears to be pretty clean table code. No missing < /td> or <td> or <tr> or </tr> tags anywhere. I cannot seem to figure this out so far......... 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted June 1, 2010 Share Posted June 1, 2010 Your url would help us to help you to find the problem. 0 Quote Link to comment Share on other sites More sharing options...
Nmuta Posted June 1, 2010 Author Share Posted June 1, 2010 Ok so here is my url : Here is the working code: http://www.bizgronetwork.com/whmcs/submitticket.php and here is the cart that uses the same template with the table craziness: http://www.bizgronetwork.com/whmcs/cart.php 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted June 1, 2010 Share Posted June 1, 2010 Go to orderforms/web20cart/styles.css and remove this line table tr td{padding:10px;} 0 Quote Link to comment Share on other sites More sharing options...
Nmuta Posted June 1, 2010 Author Share Posted June 1, 2010 Wow... I never thought that the cart would have had its own stylesheet...... THANK YOU SO MUCH....that worked !!!!!!!!! Much obliged. 0 Quote Link to comment Share on other sites More sharing options...
mylove4life Posted June 1, 2010 Share Posted June 1, 2010 I think it's a little to wide, the page I mean, a good part is cut off and I have to move to the right to see it... 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.