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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| 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>
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. I would like help on that category box though. |
|
#4
| |||
| |||
| 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; |
|
#5
| |||
| |||
| 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
| |||
| |||
| Thanks! |
|
#7
| |||
| |||
| yup, thanks. All is good now. USPS is working and my minimal template is complete, minus one question that still needs to be answered. |
| Thread Tools | |
| |
| ||||
| 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 |