Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Moving Category pictures links to top of pages

Moving Category pictures links to top of pages

Started by cshart on 4 Feb 2013, 1:55 AM · Views: 642

Results 1 to 3 of 3
4 Feb 2013, 1:55 AM
#1
cshart avatar

cshart

Zen Follower

Join Date:
Mar 2005
Posts:
370
Plugin Contributions:
0

Post #1 by cshart

I saw a reply on this subject from 2005, tried it and it didn't work. Was able to move the categories up on the tpl_index_categories.php. Category buttons did appear at the top of the main page but the main text appeared at the bottom of one of the category pages actually a subcategory page.

I just need the categories at the top of the page on the main page. Inside pages is optional, but having the main page text appear on the subcategories pages is not acceptable.

Does anyone know how to do this?

Thanks

C

4 Feb 2013, 2:37 AM
#2
gjh42 avatar

gjh42

Black Belt

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

Post #2 by gjh42

What exactly was the suggestion that didn't work for you? A picture of what you want would help, as well as possibly seeing the current page you want to change.

4 Feb 2013, 3:47 AM
#3
cshart avatar

cshart

Zen Follower

Join Date:
Mar 2005
Posts:
370
Plugin Contributions:
0

Post #3 by cshart

http://www.jollyhoppers.com/cart/ I would like the 3 categories to appear at the top of the page above Jolly Hoppers Bouncing Center.

This worked on the index.php page. Unfortunately it put an instance of the front page text on the Private Parties May Availability page. What did I do wrong to cause this problem.

Re: Move category images above text on index.php
/includes/templates/YOURTEMPLATE/templates/tpl_index_categories.php
Code:

<?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: Code: <!-- 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 -->