Page 1 of 1

Remove blank drop down menu?

Posted: Tue Sep 28, 2010 10:34 pm
by chrismaddox3d
I have a blank drop down menu on my website i wanna remove,
Least want to comment it out,
Not sure how to find the php file and code,
Looked at the view source and only came up with this code,
here is a link to my site http://youniverseonline.com
Will post a image and circle the drop down menu so everyone can see what i am talking about,
Hope someone can help,
Thanks,

Code: Select all

<select size="1" onchange="this.form.submit();" name="manufacturers_id" gtbfieldid="6">
</select>
Image

Re: Remove blank drop down menu?

Posted: Tue Sep 28, 2010 10:46 pm
by twinedev
Looks to be a drop down where you can filter by Manufacturer. I'm not that familiar with Zen Cart, so I would start by search all the source code for name="manufacturers_id" to find out where it is generating this code. "Search In Files" is a great tool :-)

-Greg

Re: Remove blank drop down menu?

Posted: Tue Sep 28, 2010 10:47 pm
by John Cartwright
Most IDE's these days will allow you to specify to search recursively over a directory. However, I can probably narrow it down to a header template file located somewhere in the includes/templates/theme346/ directory.

The entire code you want to comment is

Code: Select all

<div class="manufacturers">

											<!-- ========== MANUFACTURERS ========== -->
												<form name="manufacturers_form" action="http://youniverseonline.com/index.php?main_page=index" method="get">													<div>
														<input name="main_page" value="index" type="hidden"><select name="manufacturers_id" onchange="this.form.submit();" size="1">
</select>
													</div>
												</form>
											
											<!-- =================================== -->
										</div>

Re: Remove blank drop down menu?

Posted: Tue Sep 28, 2010 10:50 pm
by chrismaddox3d
Is there such a tool i can scan all my php files to search a certain line of code,
I mean with out having to open them all,
This site has tons of php files,
Would i need to open each one and put key word in like i have done in the past and search,
Thanks,

Re: Remove blank drop down menu?

Posted: Tue Sep 28, 2010 10:56 pm
by John Cartwright
One was already recommended, and I most certainly narrowed it down to just a few files to look in.

I use PHP Designer and Adobe Dreamweaver (both have folder search capabilities).

Re: Remove blank drop down menu?

Posted: Tue Sep 28, 2010 11:08 pm
by chrismaddox3d
I own Dream Weaver CS4,
never knew it had a folder search capabilities,
where might that be located,
I will dig through some more php files as well,
Thanks for all the help,

Re: Remove blank drop down menu?

Posted: Tue Sep 28, 2010 11:10 pm
by John Cartwright
Under the normal search utility (Ctrl + F)

Re: Remove blank drop down menu?

Posted: Tue Sep 28, 2010 11:13 pm
by chrismaddox3d
That is an amazing tool,
Never knew of it,
This can save me tons of time now,
You guys are the best,
Thanks,