Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Catalog


theherbman

Recommended Posts

Posted

Hi I have just noticed that when I click on to catalog on the admin/index page top right inbetween admin and support I do not get directed back to the cat/index can someone tell be which file the link is in so that I can check to see if it is pointed in the right direction.

 

Regards Mel

Posted

Hi I have just noticed that when I click on to catalog on the admin/index page top right inbetween admin and support I do not get directed back to the cat/index can someone tell be which file the link is in so that I can check to see if it is pointed in the right direction.

 

Regards Mel

 

I found this and there seems to be something missing

 

tep_href_link(FILENAME_DEFAULT) . '">' . ADMINISTRATION . '</a>  |  <a href="' . tep_catalog_href_link() . '">' . CATALOGUE . '</a>  |  <a href="http://www.oscommerce.com" target="_blank">' . SUPPORT . '</a>'; ?>  </td>

 

but I dont know what can someone help please.

 

Mel

Posted

Hi,

 

Try looking in your admin/includes/configure.php file and also the admin/includes/local/configure.php (if you have one).

 

All the internal links in admin are set from these files.

 

Thanks

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Posted

I found this and there seems to be something missing

 

tep_href_link(FILENAME_DEFAULT) . '">' . ADMINISTRATION . '</a>  |  <a href="' . tep_catalog_href_link() . '">' . CATALOGUE . '</a>  |  <a href="http://www.oscommerce.com" target="_blank">' . SUPPORT . '</a>'; ?>  </td>

 

Looks the function tep_catalog_href_link is responsible for that. That can be found in admin/includes/functions/html_output.php:

 

 function tep_catalog_href_link($page = '', $parameters = '', $connection = 'NONSSL') {
   if ($connection == 'NONSSL') {
     $link = HTTP_CATALOG_SERVER . DIR_WS_CATALOG;
   } elseif ($connection == 'SSL') {
     if (ENABLE_SSL_CATALOG == 'true') {
       $link = HTTPS_CATALOG_SERVER . DIR_WS_CATALOG;
     } else {
       $link = HTTP_CATALOG_SERVER . DIR_WS_CATALOG;
     }
etcetera

So ultimately the settings in your admin/includes/configure.php are to blame.

Archived

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

×
×
  • Create New...