osCmax v2.5 User Manual
Results 1 to 4 of 4

hide the category name under the images

This is a discussion on hide the category name under the images within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; how can I hide the category name text link that displays under the category image....

      
  1. #1
    New Member guedes's Avatar
    Join Date
    Dec 2009
    Posts
    10
    Rep Power
    0


    Default hide the category name under the images

    how can I hide the category name text link that displays under the category image.

  2. #2
    New Member
    Join Date
    Feb 2010
    Posts
    9
    Rep Power
    0


    Default Re: hide the category name under the images

    in index_nested.tpl.php

    Replace:
    Code:
    echo '                <td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . CATEGORY_IMAGES_DIR . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br>' . $categories['categories_name'] . '</a></td>' . "n";
    with:
    Code:
      echo '                <td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . CATEGORY_IMAGES_DIR . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '</a></td>' . "n";

  3. #3
    Lurker
    Join Date
    Jun 2010
    Posts
    1
    Rep Power
    0


    Default Re: hide the category name under the images

    do you know where to find this code? is it under index.php ... but tried to change the code here but it doesn't work

  4. #4
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Arrow Re: hide the category name under the images

    Assuming you're using 'Max and not just osC (read about BTS)
    Quote Originally Posted by tapenh View Post
    do you know where to find this code? is it under index.php ... but tried to change the code here but it doesn't work
    Quote Originally Posted by wowsaver
    in index_nested.tpl.php
    Hosting plans with installation, configuration, contributions, support and maintenance.

Similar Threads

  1. Hide No product Category In Category Menu
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 07-31-2009, 12:03 AM
  2. Category Images
    By bluesin in forum osCmax v2 Customization/Mods
    Replies: 5
    Last Post: 02-23-2009, 02:24 PM
  3. Hide Parent Category and Display only Child or Sub Category in a DHTML menu
    By michael_s in forum New osCommerce Contributions
    Replies: 1
    Last Post: 01-15-2009, 06:45 AM
  4. Temporary hide a category
    By yulises in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 05-15-2008, 03:34 AM
  5. Deleting Category Images
    By Twister in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 05-14-2007, 10:52 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •