Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

firefox fix and link title


cuteguy

Recommended Posts

Hello everyone

First of it all, a was searching for issues related to my problems but nothing found so I decide to open this topic.

In fact I can`t handle two situations:

1st. On mainpage for my future shop averything goes perfect but when I use advanced search form, the left column goes wrong in Firefox (3.6.3). I took a look over left_colum.php and advanced_search.php and didn`t saw differences for how it shows categories. I was trying to fix this up for 2 days now and no result. Would you please give me some hints?

2nd. When working with .html files I usually add a title on links <a href="#" title="title"> but for OSC i can`t figure it out how to do it for categories. Beeing afraid not to mess up everything, I was trying to use title="'<? echo $name; ?>'" in categories.php but nothing good. How can be done?

Thanks a lot! :thumbsup:

 

LE: Here is the link

Link to comment
Share on other sites

Adding the title tags is relatively easy.

 

In /includes/boxes/categories.php find this line:

 

    $categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">';

Change it to:

 

    $categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new) . '" title="' . $tree[$counter]['name'] . '">';

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Adding the title tags is relatively easy.

 

In /includes/boxes/categories.php find this line:

 

    $categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">';

Change it to:

 

    $categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new) . '" title="' . $tree[$counter]['name'] . '">';

Thanks a lot germ ! I was afraid that if I'll use this code, it will display too, the number of products in the specific category. :blush:

2nd problem solved

Cheers

Link to comment
Share on other sites

Didn`t worked but I did change the following line:

 

$categories_string .= tep_image(DIR_WS_IMAGES . 'Marker800.jpg','','3','5','style="margin:0 8px 0 14px"') . '<a class="categor" title="' . $tree[$counter]['name'] . '"  href="';
} 

to

$categories_string .= tep_image(DIR_WS_IMAGES . 'Marker800.jpg','','3','5','style="margin:0 8px 0 14px"') . '<a class="categor" title="' . $tree[$counter]['name'] . '"  href="';
} 

and everything is GREAT B)

Link to comment
Share on other sites

1st problem fixed too. It was from column_left.php Just removing some extra <td> and give fixed sizes. Still wondering why just FF had a problem showing up correctly :huh:

Again, many thanks to germ !

// closed

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...