osCmax v2.5 User Manual
Results 1 to 6 of 6

checkout_payment.php is broken on compromise

This is a discussion on checkout_payment.php is broken on compromise within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; not to be lazy, or simply not sure if you guys know but the checkout_payment.php page on the compromise template ...

      
  1. #1
    Senior Member blackhawk's Avatar
    Join Date
    Aug 2009
    Location
    indiana
    Posts
    640
    Blog Entries
    1
    Rep Power
    27


    Exclamation checkout_payment.php is broken on compromise

    not to be lazy, or simply not sure if you guys know but the checkout_payment.php page on the compromise template is jacked up. the content region is shifted to the right of the screen dramatically and the sidebar panel is either gone or nested inside the content area. It's a pretty long page of code too. I just wanted to let you all know. bh

  2. #2
    Senior Member blackhawk's Avatar
    Join Date
    Aug 2009
    Location
    indiana
    Posts
    640
    Blog Entries
    1
    Rep Power
    27


    Default Re: checkout_payment.php is broken on compromise

    my apologies, i put a width of 610px on my css content ID which is what caused the break - I'M SORRY!!!....but that is still not a page to customize. man its beastly! I do have one question, how did you guys manage to nest {sidebar} into the mid content section, only on that particular page?
    Last edited by blackhawk; 06-04-2010 at 02:53 AM.

  3. #3
    ITF
    ITF is offline
    New Member
    Join Date
    Aug 2010
    Posts
    17
    Rep Power
    0


    Default Re: checkout_payment.php is broken on compromise

    Hi,

    I found the width and changed it to 900px, with 0 padding on all sides.
    However, the tables for that page is still protruding out the right side.. I do not know how to make it less.
    I've tried changing the main table width to 700px in checkout_payment.tpl.php but no luck, it's still protruding out.

    Can you tell me how you fixed it? Thanks

  4. #4
    ITF
    ITF is offline
    New Member
    Join Date
    Aug 2010
    Posts
    17
    Rep Power
    0


    Default Re: checkout_payment.php is broken on compromise

    Okay, so I took some more time to look more into it. I'm not sure if the actual problem was found and corrected. But, I searched and couldn't find an answer. I hope this helps other users looking for the fix.

    The table being protruding to the right had nothing to do with the content id width 610px.

    in checkout_payment.tpl.php if you add a border of 1px to the main table, you can see that it's holding the footer.. which isn't right since the main layout itself is all in <div> layers.

    So, that suggested that the table is missing some tags.
    At the very end of the page you see

    Code:
    </table></form>
    You add these missing tags (below) to the end after the </form> tag.

    Code:
      </td></table></td></tr></table>

    For me, this fixed the problem. The sidebar also isn't nested at the bottom, it was moved to the bottom because the table wasn't closed properly. After applying the code the sidebar goes back to the left column.

  5. #5
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    26


    Default Re: checkout_payment.php is broken on compromise

    all the better reason to move away from table layouts to css based layouts. I can't count the number of times I've had to trace broken tables with border=5/4/3/2/1 to find out where the missing td tr or table closes are.
    so endith the lesson
    <think>sometimes I just sit's and thinks</think>
    "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB

  6. #6
    ITF
    ITF is offline
    New Member
    Join Date
    Aug 2010
    Posts
    17
    Rep Power
    0


    Default Re: checkout_payment.php is broken on compromise

    Quote Originally Posted by met00 View Post
    all the better reason to move away from table layouts to css based layouts. I can't count the number of times I've had to trace broken tables with border=5/4/3/2/1 to find out where the missing td tr or table closes are.
    Lol, couldn't agree with you more!

Similar Threads

  1. move your tell-a-friend box with the compromise template
    By blackhawk in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 06-04-2010, 09:01 AM
  2. right column not showing in compromise?
    By dyna moe in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 06-03-2010, 12:35 PM
  3. Stuck at checkout_payment.php after v2.0.15 upgrade
    By dknowle in forum osCmax v2 Installation issues
    Replies: 10
    Last Post: 02-23-2010, 10:06 PM
  4. Cannot get past checkout_payment.php
    By shona324 in forum osCmax v2 Customization/Mods
    Replies: 8
    Last Post: 12-17-2009, 09:47 AM
  5. Bug Fix: Compromise HTML template for thumbnails
    By ridexbuilder in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 11-26-2009, 08:21 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •