DarthVader Posted July 7, 2003 Share Posted July 7, 2003 Hi All, I want to amend my test website on oscommerce 2.2MS1 to display images to the centre as categories rather than the categories text in the left hand column. Each image would hyperlink to its own sub-categories which would also be images before returning to normal test when a product is reached. I have checked the forums without luck. Anyone any ideas? many thanks.. Link to comment Share on other sites More sharing options...
tidalx Posted July 8, 2003 Share Posted July 8, 2003 To make sure I understand you, try adding this, ?cPath=0 to the end of your home URL, for example, www.yourhomeurl.com/catalog/default.php?cPath=0 If what shows up is what you want, then go into catalog/includes/application_top.php find // calculate category path if (isset($HTTP_GET_VARS['cPath'])) { $cPath = $HTTP_GET_VARS['cPath']; } elseif (isset($HTTP_GET_VARS['products_id']) && !isset($HTTP_GET_VARS['manufacturers_id'])) { $cPath = tep_get_product_path($HTTP_GET_VARS['products_id']); } else { $cPath = ''; } and change that last $cPath=''; to $cPath='0'; Link to comment Share on other sites More sharing options...
DarthVader Posted July 10, 2003 Author Share Posted July 10, 2003 Perfect tidalax! Works great now why didn't i think of that? maybe because I didn't have a clue! :shock: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.