Jump to content

Problem with Dropdown Menu


punarnava

Recommended Posts

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.

 

 

{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

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/193782-problem-with-dropdown-menu/
Share on other sites

You are illegally stealing copy protected work and you want help with it? Kind of inconsiderate of the hard work that people put into things I'd say. This does not look like a php issue either. It has the var keyword which makes me think that this is a javascript section in their code.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.