osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Installation

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 08-02-2004, 06:11 PM
New Member
 
Join Date: Aug 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
groone
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 08-02-2004, 07:07 PM
New Member
 
Join Date: Jul 2004
Location: a mountaintop in Florida
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
gravenimage
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 08-03-2004, 02:26 AM
New Member
 
Join Date: Aug 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
groone
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 08-03-2004, 05:52 AM
New Member
 
Join Date: Jul 2004
Location: a mountaintop in Florida
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
gravenimage
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 08-03-2004, 06:08 AM
New Member
 
Join Date: Jul 2004
Location: a mountaintop in Florida
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
gravenimage
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 08-03-2004, 07:40 AM
Anonymous
Guest
 
Posts: n/a
Default

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 08-03-2004, 09:32 AM
New Member
 
Join Date: Aug 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
groone
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 07:35 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax