pwatson04 Posted February 7, 2007 Share Posted February 7, 2007 Could someone tell me how to remove the category title but not the sub-category title. I would also like to move the image that appears on the right hand corner in the category page to the center and make it larger. How would i go about doing this? Thanks Link to comment Share on other sites More sharing options...
pwatson04 Posted February 7, 2007 Author Share Posted February 7, 2007 anybody? Link to comment Share on other sites More sharing options...
pwatson04 Posted February 8, 2007 Author Share Posted February 8, 2007 Plz can someone help me on this or even give me a step for a hint Link to comment Share on other sites More sharing options...
psynaptic Posted February 8, 2007 Share Posted February 8, 2007 Plz can someone help me on this or even give me a step for a hint It's not clear what you would like to achieve. Give more details. My Profile | Contribs I like most: 'On The Fly' Auto Thumbnailer, Active Countries, Header Tags Controller, Ultimate SEO URLs, UK Based osC, UK Postcode Validation, Open Featured Sets, UK Postcode Based Carrier Shipping Link to comment Share on other sites More sharing options...
pwatson04 Posted February 8, 2007 Author Share Posted February 8, 2007 right okay. whenever you select a category from the left hand menu, you are presented with a page with a heading and a small picture on the right hand side. what i am wanting to do is get rid of the title and make the image larger and appear in the centre. how would i go about this? thanks Link to comment Share on other sites More sharing options...
Guest Posted February 8, 2007 Share Posted February 8, 2007 check your catalog\index.php the heading/image for categories appears few lines after if ($category_depth == 'nested') { shows like: <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> so you remove the heading_title line and then you center the categories image. Remove the HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT parameters as they force the image resizing. Link to comment Share on other sites More sharing options...
pwatson04 Posted February 8, 2007 Author Share Posted February 8, 2007 thanks that fixed the picture problem but for some reason it didn't remove the title. is there any reason why thats staying there? thanks Link to comment Share on other sites More sharing options...
Guest Posted February 8, 2007 Share Posted February 8, 2007 maybe you changed it on another place? There are 3 instances there the heading_title is used to display as the header. For the main page, subcategories and categories with products. If you view a category that only has products then you repeat the same process inside the } elseif ($category_depth == 'products' || isset($HTTP_GET_VARS['manufacturers_id'])) { case. further down you will see <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> Link to comment Share on other sites More sharing options...
pwatson04 Posted February 8, 2007 Author Share Posted February 8, 2007 you were right in the first place. i hadn't added any sub-categorys but i just added one there and the title was removed. thanks awesome cheers Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.