Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where did I change the link of this icon?


valquiria23

Recommended Posts

What version of osC are you exactly using? Did you try to upgrade the font awesome icons?

That looks like a broken icon usually happening when going from Font Awesome v4 to v5

You should find that icon inside the language definition file. My guess would be english.php or inside the breadcrumb content module language file, not sure though. 

Try to change it from fa fa-home to fas fa-home.

Link to comment
Share on other sites

Hi @ArtcoInc.

I want to change the link from www.<your_domain>.com to www.<your_domain>.com/XXX.html or www.<other_domain>.com .

@Tsimi

I'm using the @raiwa Spanish version EDGE 22/02/2018.

Any idea where and what do I have to look for to change the icon?

Best regards.

Valqui 

:heart: Community Oscommerce fan :heart: You'll find the latest osC community version here.

 

Link to comment
Share on other sites

@valquiria23,

in the main

22 minutes ago, valquiria23 said:

Any idea where and what do I have to look for to change the icon

in the main language files (includes/languages/english.php and espanol.php):

// text in includes/application_top.php
define('HEADER_TITLE_TOP', '<i class="fas fa-home"></i><span class="sr-only"> Home</span>');

saludo cordial

Rainer

Link to comment
Share on other sites

@valquiria23

To change the actual link in your breadcrumb, in application_top.php, find:

  $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);
  $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

Change it to something like this:

  $breadcrumb->add(HEADER_TITLE_TOP, tep_href_link(<your_url_link_here>));
  $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

HTH

Malcolm

Link to comment
Share on other sites

  • 3 months later...
On 3/24/2018 at 2:38 AM, ArtcoInc said:

@valquiria23

To change the actual link in your breadcrumb, in application_top.php, find:


  $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);
  $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

Change it to something like this:


  $breadcrumb->add(HEADER_TITLE_TOP, tep_href_link(<your_url_link_here>));
  $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

HTH

Malcolm

@ArtcoInc
Hi Malcolm,

i am trying to installed the old 2.3.1 website addons to 234.1 Edge version now.
when error happened, like tep_href_link(FILENAME_INDEX), if i change to tep_href_link('index.php') then in 234.1 Edge version the error will go away. However I don't know tep_href_link(FILENAME_DEFAULT), what will i have to type for tep_href_link('?.php'), or is there any other better way to fix the error? Many thanks in advance. Lyn

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...