ixon Posted December 13, 2003 Share Posted December 13, 2003 Someone asked here awhile ago if they could get the poduct name into the top bit eg: catalog > memory > product name instead of the model search for // add the products model to the breadcrumb trail replace with the following if (isset($HTTP_GET_VARS['products_id'])) { $model_query = tep_db_query("select products_name from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'"); if (tep_db_num_rows($model_query)) { $model = tep_db_fetch_array($model_query); $breadcrumb->add($model['products_name'], tep_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . $cPath . '&products_id=' . $HTTP_GET_VARS['products_id'])); } } im still finding out how to put all that into the title on your web browers, anyone got any ideas... gotta extract $breadcrumb somehow? Link to comment Share on other sites More sharing options...
Guest Posted December 13, 2003 Share Posted December 13, 2003 Look for code that says something like <title><?php echo TITLE; ?></title> and replace with something like <title><?php echo $breadcrumb->trail(' » '); ?></title> Hth, Matt Link to comment Share on other sites More sharing options...
ixon Posted December 13, 2003 Author Share Posted December 13, 2003 Nah, dosen't work I think $breadcrumb is init'ed after title... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.