Jump to content

Nmuta

Retired Forum Member
  • Posts

    18
  • Joined

  • Last visited

About Nmuta

Nmuta's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Wow... I never thought that the cart would have had its own stylesheet...... THANK YOU SO MUCH....that worked !!!!!!!!! Much obliged.
  2. 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
  3. 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.........
  4. 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 ?
  5. Ok, I think I may have determined part of the problem. The cart.php contents are too wide for my template. (which should not be the case, because the cart contents seem to be in a table that has a relative width (100%) But at any rate, the table that is created with the cart contents in it is too wide and that seems to be breaking my template apart . I don't see the code in products.tpl that govern how wide the table is that holds the products in it. Where does that code come from ? (the code that is used to display the cart elements)? It does not appear to be in the admin --> setup --> products/services drop down menu.
  6. Well, to use a technical terms, there's a bunch of junk in the cart.php file. But yes, seriously, what is happening is an effect that looks similar to the effect you get when you have an extra <td> or an unclosed <tr> tag..... the cart.php file has some misaligned table elements and background images of table elements that is causing the page not to display properly: Here is the one broken page: http://www.bizgronetwork.com/whmcs/cart.php But all of the other pages on the site look fine, like this one for example: http://www.bizgronetwork.com/whmcs/supporttickets.php
  7. I see templates/orderforms/cart I assume this is where I need to be working for cart files correct? I got everything working now EXCEPT the cart files, which seem to have some extra junk in them that is messing up my template and throwing things off
  8. I have a custom template in whmcs and I've edited header.tpl, homepage.tpl, and footer.tpl The page looks perfect. However, when I go to the shopping cart page, for example, that page does not use the template I used. The header and footer are there, but the core cart.php file does not use the template that I have created, and if I try to edit cart.php, I get a message saying that the file is 'corrupted'. What am I doing wrong? It's the same way with so many other pages.... they won't let me touch them. How do I get the contents of these files to show up within the context of the template that I have created? Thanks in advance. By the way, here is an example of what I mean: Home page is fine: http://www.bizgronetwork.com/whmcs/ But submit ticket page is not: http://www.bizgronetwork.com/whmcs/submitticket.php
  9. Ok I found it.... <WHMCSroot>/templates/MYTEMPLATENAME/homepage.tpl
  10. i thought it would be <WHMCSroot>/templates/portal/clientareahome.tpl but that does not appear to be it. I just need to figure out how to add links to my new pages I just created on the PORTAL HOME.
  11. Anyone? I'm sorry, I meant PORTAL HOME I just need to find out where to edit the pages that show up in the PORTAL HOME so that i can make links to my new pages.
  12. Ok, I should clarify The pages I've created show up fine in WHMCS. What I am wanting is for the LINKS to the new pages I made to show up in the client area. Which additional file do I need to edit to get LINKS TO MY NEW PAGES to show up in the client area?
  13. Yeah, that's what I have. I saved as follows: <WHMCSroot>/templates/template1/services.tpl <WHMCSroot>/templates/template2/services.tpl Maybe I'm looking in the wrong place for the links to show up? And I still don't understand how that main php file can be named "anything". How does whmcs know how to find it? Does it just search through every file in its root directory and just "include" it by default? That just does not seem to make sense.... I don't understand, please illuminate.
  14. Hm.... that's what I did ... i saved services.tpl in the root of every template folder on there. in other words <WHMCSroot>/templates/template1/services.tpl <WHMCSroot>/templates/template2/services.tpl that's what I did. so it should be showing up now, right? where does this new link show up? Maybe I'm looking for it in the wrong place.
  15. Actually , I should ask : WHERE do I manually add it to the template? Which file ?
×
×
  • 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