osCmax v2.5 User Manual
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

checkout_payment.php page appears incorrectly

This is a discussion on checkout_payment.php page appears incorrectly within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; I'm using the BTS template system and the main part of the site is laid out as <div id="header></div> <div ...

      
  1. #1
    New Member
    Join Date
    Sep 2009
    Posts
    14
    Rep Power
    0


    Default checkout_payment.php page appears incorrectly

    I'm using the BTS template system and the main part of the site is laid out as

    <div id="header></div>
    <div id="left"></div>
    <div id="main"></div>
    <div id="footer"></div>

    HEADER

    LEFT MAIN

    FOOTER

    The footer 'clears' both the 'left' and 'main' divs.

    All the pages appear fine except for the checkout_payment.php page. It appears to have merged the 'footer' into the 'main' section.

    Login : The SQ Club

  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 page appears incorrectly

    ridexbuilder, looks like we got another one...do your thing
    Last edited by blackhawk; 01-31-2011 at 06:43 AM.

  3. #3
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Default Re: checkout_payment.php page appears incorrectly

    Quote Originally Posted by blackhawk View Post
    ridexbuilder, looks like we got another one...do your thing
    Ah, but not so bad - at least it's compromise that's been messed with - almost acceptable.
    Wonders if fallback/content/checkout_payment.tpl.php has been ffff... screwed up, though.

    @johnnyjo
    The footer 'clears' both the 'left' and 'main' divs.
    That does seem like an appropriate thing to do!
    http://wiki.oscdox.com/bts_docs

    Last edited by ridexbuilder; 01-31-2011 at 07:25 AM.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  4. #4
    New Member
    Join Date
    Sep 2009
    Posts
    14
    Rep Power
    0


    Default Re: checkout_payment.php page appears incorrectly

    Thanks for the reply. Can you advise on the next course of action? I suspect that the php code is generating some unclosed tags/extra tags that is causing the footer to be merged with the main {contents}.

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


    Default Re: checkout_payment.php page appears incorrectly

    Many of us here use Firefox and the firebug plug-in to fix css issues. I advice for you to do the same. Find what the css is doing on that page, and simply adjust the css in your stylesheet.css inside your template folder. It's one way to fix your clearing, etc..

  6. #6
    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 page appears incorrectly

    In addition, there is a Firefox addin called "web developer" that adds a bar of tools that I have found helps a great deal (like the "outline tables" tool which is great for finding broken tables).
    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

  7. #7
    New Member
    Join Date
    Sep 2009
    Posts
    14
    Rep Power
    0


    Default Re: checkout_payment.php page appears incorrectly

    Quote Originally Posted by blackhawk View Post
    Many of us here use Firefox and the firebug plug-in to fix css issues. I advice for you to do the same. Find what the css is doing on that page, and simply adjust the css in your stylesheet.css inside your template folder. It's one way to fix your clearing, etc..
    Hi blackhawk, I've rechecked the code and even though I've put Clear: Both; for the footer CSS, it probably wasn't necessary as I have wrapped the 'left' and 'main' sections around in a div:

    <div id="wrap">
    <div id="left>{left}</div>
    <div id="main>{contents}</div>
    </div>
    <div id="footer">*footer code*</div>


    So that doesn't quite explain why the checkout_payment.php page is causing the problem. If it is a code generated issue then I'm not sure whether CSS will be sufficient and I will probably need to edit the compromise template file for checkout_payment.php. Is this a bug with the template file?

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


    Default Re: checkout_payment.php page appears incorrectly

    you have to learn where to clear your floats. read up on some div and floating tutorials. but if you have a test site up, pm me the link

  9. #9
    New Member
    Join Date
    Sep 2009
    Posts
    14
    Rep Power
    0


    Default Re: checkout_payment.php page appears incorrectly

    Quote Originally Posted by blackhawk View Post
    you have to learn where to clear your floats. read up on some div and floating tutorials. but if you have a test site up, pm me the link
    Hi blackhawk, can't seem to PM you. Anyway the site is www.thesqc.com/index.php
    Thanks for your help!

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


    Default Re: checkout_payment.php page appears incorrectly

    Just for testing purposes, you have to clear your <div id="main">...</div> block, so put another div right under it that says something like
    <div style="clear:both;">helps a bit</div>, to see what I mean. from there you can figure out what to do. Read more on how to set up floats and clearing them within div blocks. tutorials are all over the web.

Page 1 of 2 12 LastLast

Similar Threads

  1. Default CC appears when turned off
    By Spectra in forum osCmax v2 Installation issues
    Replies: 37
    Last Post: 03-19-2010, 06:01 AM
  2. enter credit card details on checkout_payment page?
    By earth-friendly in forum Authorize.net
    Replies: 2
    Last Post: 06-23-2009, 07:17 PM
  3. Removed the /install directory but the warning still appears
    By oling in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 08-24-2006, 06:23 PM
  4. File path appears in the _big image pop up
    By KCount in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 09-02-2004, 09:53 PM

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
  •