Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Arrows as pictures instead of textarrows


porrier

Recommended Posts

Hello!

 

One more question I have. In the old shop I had built in nice litte coloured triangels on the left of the categoriesnames, the module was called categoriesbox-neco_mod_v1.1.

 

I assume that does not work anymore with shop version 2.3.4 because there is no includes/boxes/ anymore to copy the included categories.php to.

 

Is there a similar module available for oscommerce version 2.3.4?

 

Regards

 

Andreas

Link to comment
Share on other sites

Are you talking about the -> in category lists?

 

I searched version 2.3.4 with findstr, and found this in /catalog/includes/modules/boxes/bm_categories.php:

$categories_string = '->';

Change it to something like

$categories_string = '<img src="images/arrow.gif" />';

I think I've seen that done before. Search the forum, looking for ->. Obviously, the location and name of the image will vary.

Link to comment
Share on other sites

There is also font awesome

 

you can <i class="fa fa-angle-right"></i>

 

no image to worry about and you can style it in your css.

 

:thumbsup:

 

i haven't tested the above but in theory it should work

I don't know how to realise your recommendation. If I set this in includes/modules/boxes/bm_categories.php

$categories_string .= '<i class="fa fa-angle-right"></i>';
the testarrow disappears but what about this font?

 

Regards

 

Andreas

Link to comment
Share on other sites

Sorry i expect you are on a different version to mine.

For font awesome to work you need to add

<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">

into your template top or header.

This is already included in the BS version of oscommece.

You can see what font awesome can do here

 

https://fortawesome.github.io/Font-Awesome/

 

you can then call it just about anywhere using <i class="fa fa-nameoficon"></i>

also can be used on buttons in the BS version of oscommerce.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...