PDA

View Full Version : Help in Customizing Drop Down Menu


LauraCampbell
03-27-2008, 05:13 AM
I'm using V 1.7 with the Bad Arrow template. I'm interested in changing the default text, "Select Category," in the category drop down menu, to custom text. While I've looked in the template and Pixelpost files to make the changes, I'm unable to locate the appropriate file. Can someone steer me to the correct file and its location?
This is the code, taken from the page source, I'm interested in customizing. I've bolded the text I'd like to change:

<div id="image-info">
<div class="selectgallery"><select name='browse' onchange='self.location.href=this.options[this.selectedIndex].value;'><option value=''>Select Category</option><option value='index.php?x=browse&amp;category='>All</option></select></div>

Thanks so much for your help,
Laura

dhdesign
03-27-2008, 11:33 AM
That text is defined in the language file. Open language/lang-english.php in a plain text editor, and look for the following line (around line 63):

$lang_browse_select_category = "Select Category";

Change Select Category to whatever text you want it to be, then save the file. Make sure the file is saved with UTF-8 encoding.

LauraCampbell
03-27-2008, 03:32 PM
Excellent! Thank you for your help. -- Laura