TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   Absolute Beginners (http://www.talkphp.com/absolute-beginners/)
-   -   Problem with Dropdown Menu (http://www.talkphp.com/absolute-beginners/5296-problem-dropdown-menu.html)

punarnava 03-01-2010 04:39 PM

Problem with Dropdown Menu
 
1 Attachment(s)
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

delayedinsanity 03-01-2010 04:43 PM

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...

Hightower 03-01-2010 04:46 PM

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.

punarnava 03-01-2010 05:15 PM

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

delayedinsanity 03-01-2010 06:09 PM

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.

Village Idiot 03-03-2010 02:19 AM

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

alice005 03-03-2010 03:13 AM

Quote:

Originally Posted by delayedinsanity (Post 30099)
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

Enfernikus 03-03-2010 03:31 AM

Quote:

Originally Posted by delayedinsanity (Post 30102)
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

delayedinsanity 03-03-2010 06:02 PM

Oh one of them fancy shmancy templating languages built on top of a templating language. I get bloated enough drinking Nos. ;)


All times are GMT. The time now is 11:21 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0