Jump to content

Invalid


flynryan692

Recommended Posts

Hey!

I've put my "Edit Profile", and "Change Password" pages into a popup fancybox for added flare. B) Problem is though that when the box pops up I have no options for Location or background image for the pilot badge. I'd imagine this is because I've moved all of the "Edit Profile" code into my pilot center .tpl file.

When I view page source I see

Invalid argument supplied for foreach()

where the option values should be. How can I work around this? I know I could just put them in manually, because I doubt major countries will be changing soon, but what would I do for the pilot badge background option?

Thanks!

EDIT: I guess I'll ask this other simple question while I am at it, do I need to change the form action? The form does work, I can edit my profile and change my password, but I have to go to another page and back to the pilot center, then click the "Edit Profile" link to see the changes in the fancybox popup.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...