If this is your first visit, check our documentation. To post, register or login.
Forums / Basic Configuration / Category Thumbnails below New Products box

Category Thumbnails below New Products box

Locked

Started by sam_m on 25 Dec 2007, 1:53 AM · Views: 1,158

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
25 Dec 2007, 1:53 AM
#1
sam_m avatar

sam_m

New Zenner

Join Date:
Nov 2007
Posts:
71
Plugin Contributions:
0

Category Thumbnails below New Products box

Hello, On my Index page, I have The main_page.php then it shows Category Thumbnails and below I have a New Products box displayed with 1 row of products. Is it possible to get the Category Thumbnails to show at the bottom of the page?

There doesnt seem to be an order number for displaying the Categorys on the index page unless ive missed it somewhere?

Can anyone advise
Thank you
Sam

P.S Merry Christmas

25 Dec 2007, 2:56 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Category Thumbnails below New Products box

Assuming that you have your own template - get a copy of the template default tpl_main_page.php file and reorder the display of these items in that file.

Save it and upload to your template name/common/ folder

Zen-Venom Get Bitten

25 Dec 2007, 3:49 AM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Category Thumbnails below New Products box

For that page, there is not an admin option to display the centerboxes above the listing. Edit /includes/templates/your_template/templates/tpl_index_categories.php, and find the following block of code:```php

<!-- BOF: Display grid of available sub-categories, if any --> <?php if (PRODUCT_LIST_CATEGORY_ROW_STATUS == 0) { // do nothing } else { // display subcategories /** * require the code to display the sub-categories-grid, if any exist */ require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_row.php'); } ?> <!-- EOF: Display grid of available sub-categories -->

</div>

to get```php
} // !EOF
?>

<!-- BOF: Display grid of available sub-categories, if any -->
<?php
  if (PRODUCT_LIST_CATEGORY_ROW_STATUS == 0) {
    // do nothing
  } else {
    // display subcategories
/**
 * require the code to display the sub-categories-grid, if any exist
 */
   require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_row.php');
  }
?>
<!-- EOF: Display grid of available sub-categories -->

</div>
25 Dec 2007, 7:24 PM
#4
sam_m avatar

sam_m

New Zenner

Join Date:
Nov 2007
Posts:
71
Plugin Contributions:
0

Re: Category Thumbnails below New Products box

Fantastic, thank you very much for the replies :)