Forums / Templates, Stylesheets, Page Layout / Move category images above text on index.php

Move category images above text on index.php

Locked

Views: 1,874

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
11 Oct 2006, 1:47 PM
#1
tmdelia avatar

tmdelia

New Zenner

Join Date:
May 2005
Posts:
69
Plugin Contributions:
0

Move category images above text on index.php

How do I move the category images so they are below the TEXT_GREETING_GUEST or TEXT_GREETING_PERSONAL but above the define_main_page.php text on the index.php page?

12 Oct 2006, 1:11 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Move category images above text on index.php

/includes/templates/YOURTEMPLATE/templates/tpl_index_categories.php

<?php if (DEFINE_MAIN_PAGE_STATUS >= 1 and DEFINE_MAIN_PAGE_STATUS <= 2) { ?>
<div id="indexCategoriesMainContent" class="content"><?php
/**
 * require the html_define for the index/categories page
 */
  include($define_page);
?></div>
<?php } ?>

move down below this:```

<!-- 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 -->

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

12 Oct 2006, 2:53 PM
#3
tmdelia avatar

tmdelia

New Zenner

Join Date:
May 2005
Posts:
69
Plugin Contributions:
0

Re: Move category images above text on index.php

Many Thanks!