TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 03-01-2010, 04:39 PM   #1 (permalink)
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
Click image for larger version

Name:	Screen shot 2010-03-01 at 9.50.13 PM.png
Views:	107
Size:	45.1 KB
ID:	277  
punarnava is offline  
Reply With Quote
 



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dropdown menu with icons? allworknoplay Javascript, AJAX, E4X 12 03-14-2009 05:16 PM
Huge Session Problem Killswitch General 1 11-17-2008 02:36 AM
Menu Display Problem in IE6+ obolus XHTML, HTML, CSS 14 03-01-2008 07:57 PM
Some help with dropdown menu Tanax Javascript, AJAX, E4X 2 02-18-2008 04:38 PM
Menu using 2 js functions. Sam Granger Javascript, AJAX, E4X 0 11-15-2007 01:26 PM


All times are GMT. The time now is 10:31 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design