View Single Post
Old 03-01-2010, 04:39 PM   #1 (permalink)
punarnava
The Visitor
 
Join Date: Mar 2010
Posts: 2
Thanks: 0
punarnava is on a distinguished road
Confused Problem with Dropdown Menu

Hi friends.. :)

I am Dev and I have come here for some php coding help. I am just beginning to learn php, just so that I can tweak the code of a social network I am building using the script called phpFox. Since I don't legally own a copy of the script I cannot get their official support. So I am hoping I'll get help from this vast community :)

My problem is quite small I believe: In my community's sign-up page, under the gender field there is a drop-down but the text is not displayed in it. Although.. there are 2 rows of blank space, and if we select one of them, the value gets saved into the profile. So all I need is to figure out how to display the labels of the fields: 'Male' and 'Female' respectively.

Have attached a screenshot of the erroneous page and I am also jotting the part of the code from the 'Signup.html.php' file on my server which deals with that dropdown menu. Hope that could give u an idea as to how to proceed. And if you require details from other parts of the code or related files; pls do let me know.


Code:
{if Phpfox::getParam('core.registration_enable_gender')}
		<div class="table">
			<div class="table_left">
				<label for="gender">{required}{phrase var='user.gender'}:</label>
			</div>
			<div class="table_right">
				{select_gender}
			</div>			
		</div>


Thanks in advance :)

Waiting

Dev
Attached Thumbnails
problem-dropdown-menu-screen-shot-2010-03-01-9.50.13-pm.png  
punarnava is offline  
Reply With Quote