Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Category Tabs v 1.3 Error


valeriestw

Recommended Posts

I just installed the Tabs ver. 1.3 contribution by Tom O'Neill, and it seems to be working just fine, except I've got one little weird error.

 

At the very top of the page, where the logo should be, there's nothing but a < symbol in the extreme top left corner. See my test page so far:

 

http://www.kwwhost.com/catalog/default.php

 

How can I fix it so my logo will appear?

 

Any help would be greatly appreciated. Thanks!

www.knownworldweb.com

Link to comment
Share on other sites

<!-- header //-->

<table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr class="header">

<<td align="right" valign="top">

 

<table width="100%" border="0" cellspacing="0" cellpadding="0" align="right">

<tr>

<td height="40" align="right" valign="top"><form name="quick_find" method="get"

 

 

This is the source code form the page Some were in the hearder.php three lines below

the <!-- header //--> is a << remove one of the <.

 

As Far as wrapping tabs its my fault I assumed (wrongly) that five maybe six top line category items would be used. I needed to fix this. Menu tabs can handle this the category tabs can't yet.

And yes I understand that using fewer top line categories is not an option.

 

Also when I originally wrote this is I did it with Linda's Quantity controller installed. Because of the way she implemented the original code this problems did not apepar to happen.

 

When I tried to adapted my original code to a standard OSC install. I did not test the install well enough (my bad). I am hoping to get an updated version out the fixes some of these problems.

 

Sorry for seeming to take so long to answere I only am able to look here once a day.

 

 

Tom

Link to comment
Share on other sites

Tom,

 

Thanks.

 

I'll be looking for the update.

 

What do you think the time frame will be?

 

No pressure, I just need to decide which way to go with my project.

 

The added design flexibility of category tabs is a welcome option.

 

Thanks for your good work.

 

ALR

Link to comment
Share on other sites

Good guestion I spend two months on category tabs and menu tabs.

 

I may get it this week end and may take a while.

 

Sorry I can be more specific.

 

I am trying to get the fixes to menu tabs done in between everything else.

 

Tom

Link to comment
Share on other sites

Do a search on your most recently changed files for a ... <

 

Find one that does not belong.

 

Last time I did this was in categories.php

 

Was the 583rd search ... :shock:

 

Well, I tried doing this and couldn't find anything (oh, my poor aching brain). So, instead, I started going thru and reverting all the mod files I've uploaded to the original OSC files and refreshing each time to see which one fixes it.

 

I haven't gone thru every single one yet, but when I hit catalog/includes/header.php and reverted to the original file, the logo comes back, but of course, the tabs are gone.

 

So, I tried re-modifying the original header.php file as per the instructions in the Tabs v1.3 instructions to see if maybe there was a mistake there. The instructions say:

 

Step 6.

 

Open catalog/includes/header.php

 

On or about line 54

 

replace:

 

<td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>

 

with:

 

<td align="right" valign="top">

<table width="100%" border="0" cellspacing="0" cellpadding="0" align="right">

<tr>

<td height="40" align="right" valign="top"><form name="quick_find" method="get" action="<?php echo tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false);?>">

<input type="text" name="keywords" size="30" maxlength="40" value="<?php echo htmlspecialchars(StripSlashes(@$HTTP_GET_VARS["keywords"]));?>">

 <?php echo tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH);?></form>

</td>

<td height="40" align="right" valign="top"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  

 

</td>

</tr>

<tr>

<td colspan="2" align="center" valign="bottom" nowrap>

<?php include(DIR_WS_INCLUDES . 'categories_tab.php'); ?>

</td>

</tr>

</table>

 

</td>

 

 

However, when I search header.php for that code, it says "not found." Sure enough the code on line 54 is very SIMILAR, but it's not exactly that.

 

Is it possible there is a problem in there somewhere that's causing my logo issue?

www.knownworldweb.com

Link to comment
Share on other sites

OKAY!!! Disregard my previous message! That was it - and I've now got my logo AND the tabs on the same page.

 

The new problem is that the tabs are not appearing below the logo, they are showing up to the right of the logo. How do I tell it to wrap down to the next line?

 

Here's the page so you can see what I mean:

 

http://www.kwwhost.com/catalog/index.php

 

Thanks in advance for any help!!

www.knownworldweb.com

Link to comment
Share on other sites

Now I am confused, I just checked the files I published and don't see those

instructions any where. Are you using the original.

 

I did some more checking and I did not publish V1.3 of category tabs.

 

The verision I did comes with menu tabs. and it still

has v 1.0 in the file.

 

You might try that one instead,

 

so far I have fixed everything but need to work on the admin controls

for some of the new things I added. This weekend I should get more time to finish it.

 

The version I worked on was designed to work with Lilnda Quantity controller.

 

Tom

Link to comment
Share on other sites

I'm sorry! I don't know what I was looking at. The author of this one is Borkur Ingi Jonsson. I could swear it said Tom O'Neill.....

 

Well, the brain is the first to go, I suppose. I obviously downloaded *something* of yours. Sorry for the confusion! :oops:

www.knownworldweb.com

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...