Author Topic: Category Dropdown  (Read 3379 times)

0 Members and 1 Guest are viewing this topic.

Offline cch

  • Jr. Member
  • **
  • Posts: 95
    • View Profile
Category Dropdown
« on: April 13, 2009, 05:00:40 PM »
Hi guys

In the Category Dropdown there are 2 options:

1. Select Category
2. ---------------------

How do you remove these so my 1st Category display as default, or is there a way of adding an option so you can search in all my Categories, I only have 1 Category which is "Audio" but I want to add an option called "All Covers" so if they choose that they can search in all my Categories. This will be useful when I add more Categories later.

Thanks

Offline CanonInk

  • Newbie
  • *
  • Posts: 48
    • View Profile
Re: Category Dropdown
« Reply #1 on: April 13, 2009, 05:24:29 PM »
Edit {4images-root}./includes/functions.php

Find:

Code: [Select]
    $category .= "<option value=\"0\">".$lang['select_category']."</option>\n";
    $category .= "<option value=\"0\">-------------------------------</option>\n";

Change:
Code: [Select]
//    $category .= "<option value=\"0\">".$lang['select_category']."</option>\n";
//    $category .= "<option value=\"0\">-------------------------------</option>\n";

Should be work.

Take care, CanonInk

Offline cch

  • Jr. Member
  • **
  • Posts: 95
    • View Profile
Re: Category Dropdown
« Reply #2 on: April 13, 2009, 05:36:24 PM »
Hi

Thank you for your help but this doesn't work, anymore ideas :?: