Author Topic: If category have not any image, category link dont be shown on the main page.  (Read 3369 times)

0 Members and 1 Guest are viewing this topic.

Offline Ersen

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
If category have not any image,category link dont be shown on the main page. if is this possible?

Rembrandt

  • Guest
Hi!

search in includes/functions.php three times:

    
if (check_permission("auth_viewcat"$val)) {
      
$visible_cat_cache[$key] = $val;
    }

and replace:

   
if (check_permission("auth_viewcat"$val)) {
      if((
$cat_cache[$val]['num_images'])) {
        
$visible_cat_cache[$key] = $val;
      }
    }


mfg Andi
« Last Edit: August 28, 2012, 04:13:18 PM by Rembrandt »

Offline Ersen

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
Hello rembrandt.

Thank you so much!!

i found these codes 3 times in page. and i replaced first and second codes.

Nothing happened.

i replaced 3 codes. and did it.

Thank you. God bless you :)
« Last Edit: August 28, 2012, 01:30:04 PM by Ersen »