Results 1 to 7 of 7

Category Index Box and USPS

This is a discussion on Category Index Box and USPS within the osCMax v1.7 Installation forums, part of the osCmax v1.7 Forums category; I am curious how I control the category index box. For some reason I can't get it to look anything ...

      
  1. #1
    New Member
    Join Date
    Aug 2004
    Posts
    8
    Rep Power
    0


    Default Category Index Box and USPS

    I am curious how I control the category index box. For some reason I can't get it to look anything like the other boxes. Other then the css where else can I get to it?

    USPS, when you sign up for an acct and then ask them to switch you to the active server, how long does it take? Why doesnt the test for USPS work in max? I have my username and id for the web tools so I should be able to access the test but it doesnt want to connect. Location for the test is here http://testing.shippingapis.com/Ship...ITest.dll?API=

    Thanks!

  2. #2
    New Member
    Join Date
    Jul 2004
    Location
    a mountaintop in Florida
    Posts
    22
    Rep Power
    0


    Default

    In most cases, the look and feel for the Categories box on the index page should only be manipulated through the stylesheet. By default the boxes use the infoBoxHeading, infoBoxContents, and boxText styles. If you're changing those styles in stylesheet.css, and the other boxes are updating but the Categories box still it isn't displaying correctly, there is an error in your HTML code somewhere, probably an improperly nested table that's throwing off the style, which is applied to the enclosing table cell. Can you post a link to the page in question?

    Re: USPS, in the USPS shipping module, do you have your username and password entered, (and "Enable USPS Shipping" set to true, obviously), and the server set to "test"? At this point you'll only have access to the test server until you confirm a correct implementation by email with USPS, and then you'll be given access to the production server. If those settings are correct, can you reply with more detail about exactly how and where the process bombs?

  3. #3
    New Member
    Join Date
    Aug 2004
    Posts
    8
    Rep Power
    0


    Default

    yes, I need to edit the actual categories box html code
    Code:
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
      <tr>
        <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="1" height="1"></td>
        <td width="100%" height="14" class="infoBoxHeading">Categories</td>
        <td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>
      </tr>
    </table>
    The header uses 3 data cells and I want to change that to only one, this way when the border is used it looks proper.

    I have a USPS account username and ID. I've entered them properly and the module is set to true. I have the application set to the test server since currently they have not moved my account to the production server. When I use my test user and go to buy an item, the program gets the following
    Code:
    An error occured with the USPS shipping calculations.
    If you prefer to use USPS as your shipping method, please contact the store owner.
    Now, it could be, even though I have my username and password that my account is fully made so I will give this a through today before I start asking for more help.

    I would like help on that category box though.

  4. #4
    New Member
    Join Date
    Jul 2004
    Location
    a mountaintop in Florida
    Posts
    22
    Rep Power
    0


    Default

    If you just want to add a border around your boxes, what I would do in that case is edit box.tpl.php and wrap the 3 tables that make up an infoBox in a 4th table that does nothing but set a 1 px border around the whole thing. But if you just want a border around the box that contains the list, and not the header, you can add
    Code:
      border: 1px;
      border-style: solid;
      border-color: #000000;
    to the TD.infoBox style in stylesheet.css.

  5. #5
    New Member
    Join Date
    Jul 2004
    Location
    a mountaintop in Florida
    Posts
    22
    Rep Power
    0


    Default

    On line 273 of the USPS shipping module usps.php (/includes/modules/shipping), there's a line of debugging code that you can temporarily uncomment that will send the XML that's being sent to the USPS server to your email address so you can verify that it's valid. I'd try that if you don't make any progress with it... could be that it's not sending well-formed XML.

  6. #6
    Anonymous
    Guest


    Default

    Thanks!

  7. #7
    New Member
    Join Date
    Aug 2004
    Posts
    8
    Rep Power
    0


    Default

    yup, thanks. All is good now. USPS is working and my minimal template is complete, minus one question that still needs to be answered.

Similar Threads

  1. Notice from USPS
    By mrocket in forum osCommerce 2.2 Discussion
    Replies: 5
    Last Post: 01-18-2007, 05:33 PM
  2. Adding Category Descriptions in Category List for each Cat.
    By el1jones in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 03-15-2006, 01:37 AM
  3. Category icons at index
    By jamlvs in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 07-11-2005, 04:13 AM
  4. Category index box contents disappear
    By groone in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 08-04-2004, 03:37 AM
  5. New category does not create new category folder
    By Anonymous in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 02-23-2003, 12:52 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
  •