launcap Posted January 3, 2007 Share Posted January 3, 2007 Hi, I have managed to remove the "new products for month" box on the front screen and replace it with the top-level categories view (ie the same as the default 'Categories' box at top-left). Sadly my boss is now asking if it is possible to have some extra text in this copy of the categories box - I've copied the categories.php as categories-frontpage.php and pointed the index.php at it but then I'm stuck. Does anyone have a php script that does a category overview but includes the category image and some brief text? Cheers, Phil Link to comment Share on other sites More sharing options...
CMAdmin Posted January 3, 2007 Share Posted January 3, 2007 I have managed to remove the "new products for month" box on the front screen and replace it with the top-level categories view (ie the same as the default 'Categories' box at top-left). I'm trying to figure out how to do this...Can you point me in the right direction? What files do I edit? Thanks! Link to comment Share on other sites More sharing options...
launcap Posted January 4, 2007 Author Share Posted January 4, 2007 I'm trying to figure out how to do this...Can you point me in the right direction? What files do I edit? Thanks! Edit the main index.php and change the following: <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> to: <td><?php include(DIR_WS_BOXES . 'categories.php'); ?></td> Cheers, Phil. Link to comment Share on other sites More sharing options...
Guest Posted June 25, 2007 Share Posted June 25, 2007 I got to of these lines in my index.php. If i change the first nothing happens end if i change the second i get: Fatal error: Cannot redeclare tep_show_category() (previously declared in /home/ccamstel/public_html/shop/includes/boxes/categories.php:13) in /home/ccamstel/public_html/shop/includes/boxes/categories.php on line 13 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.