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
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
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
problem-dropdown-menu-screen-shot-2010-03-01-9.50.13-pm.png  
punarnava is offline  
Reply With Quote
Old 03-01-2010, 04:43 PM   #2 (permalink)
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

Quote:
Since I don't legally own a copy of the script I cannot get their official support.
I'm sure we've all pirated a few copies of Microsoft products in our day, and have been more than proud to stick it to them, but it might have been best to not mention that. Coders are a tight knit bunch, with the exception of those monkeys that work... at... nevermind. Anywho...
delayedinsanity is offline  
Reply With Quote
Old 03-01-2010, 04:46 PM   #3 (permalink)
The Acquainted
 
Hightower's Avatar
 
Join Date: May 2009
Location: Durham, UK
Posts: 134
Thanks: 9
Hightower is on a distinguished road
Default

As delayedinsanity has said, we are a close knit bunch and I'm sure we're all chuffed to hear you are trying to rip off somebody's hard work. I wouldn't like to think that it had happened to me.

Might struggle to find someone willing to help I'm afraid.
__________________
Hightower's Softpolio
Send a message via MSN to Hightower
Hightower is offline  
Reply With Quote
Old 03-01-2010, 05:15 PM   #4 (permalink)
The Visitor
 
Join Date: Mar 2010
Posts: 2
Thanks: 0
punarnava is on a distinguished road
Default

Sorry guys. maybe all of you do own original software. as for me, i do buy the ones that give me value for money. As with phpfox I'd gladly buy it if I find it filling my requirements. Also because I'll be getting premium support and other updates.

But to straight away go buy a $300 software without even trying it out or knowing its possibilities; prolly one day I'll be rich enough for that :) Was also alarmed to find that such a popular software does not have a try-before-you-buy option.. :)

Anyways i wasn't trying to be proud or overconfident about not owning a legal copy. Din't want you guys wondering why I wasn't using their extensive forum (which is members only).

Thanks
punarnava is offline  
Reply With Quote
Old 03-01-2010, 06:09 PM   #5 (permalink)
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

I'm no saint. I'm also not going to go into detail right now on what is and isn't paid for on my various computers. I also realize you weren't trying to brag, I'm just suggesting that you might want to be careful who you make those kind of admissions to - some folk don't have try before you buy because it's a hard realm to maintain control over with uncompiled software, even with junk out there like ioncube (crap crap crap).

Anyways, honestly without looking at the code of the entire system it'd be hard to diagnose your problem to begin with. It looks like they're using an internal templating language, which would mean troubleshooting begins at understanding how that works. Personally, I've never even heard of phpFox, so I can't help.
delayedinsanity is offline  
Reply With Quote
Old 03-03-2010, 02:19 AM   #6 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

Thats expensive software you stole there, was it the $99, $199 or $299 one? Buy it and ask for their help.
__________________

Village Idiot is offline  
Reply With Quote
Old 03-03-2010, 03:13 AM   #7 (permalink)
The Visitor
 
Join Date: Mar 2010
Posts: 1
Thanks: 0
alice005 is on a distinguished road
Default

Quote:
Originally Posted by delayedinsanity View Post
I'm sure we've all pirated a few copies of Microsoft products in our day, and have been more than proud to stick it to them, but it might have been best to not mention that. Coders are a tight knit bunch, with the exception of those monkeys that work... at... nevermind. Anywho...
I agree with you.
_____________________
Virtual Assistant
alice005 is offline  
Reply With Quote
Old 03-03-2010, 03:31 AM   #8 (permalink)
The Addict
 
Enfernikus's Avatar
 
Join Date: Jun 2008
Posts: 335
Thanks: 2
Enfernikus is on a distinguished road
Default

Quote:
Originally Posted by delayedinsanity View Post
I'm no saint. I'm also not going to go into detail right now on what is and isn't paid for on my various computers. I also realize you weren't trying to brag, I'm just suggesting that you might want to be careful who you make those kind of admissions to - some folk don't have try before you buy because it's a hard realm to maintain control over with uncompiled software, even with junk out there like ioncube (crap crap crap).

Anyways, honestly without looking at the code of the entire system it'd be hard to diagnose your problem to begin with. It looks like they're using an internal templating language, which would mean troubleshooting begins at understanding how that works. Personally, I've never even heard of phpFox, so I can't help.
I'm not particularly trying to help but in reference to Delayed's post, it's called smarty and it's developed by Zend/PHP Community
__________________
My Blog
Enfernikus is offline  
Reply With Quote
Old 03-03-2010, 06:02 PM   #9 (permalink)
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

Oh one of them fancy shmancy templating languages built on top of a templating language. I get bloated enough drinking Nos. ;)
delayedinsanity is offline  
Reply With Quote
Reply



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 01:58 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