4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: cch on April 13, 2009, 05:00:40 PM

Title: Category Dropdown
Post by: cch 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
Title: Re: Category Dropdown
Post by: CanonInk 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
Title: Re: Category Dropdown
Post by: cch on April 13, 2009, 05:36:24 PM
Hi

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