Author Topic: field shows up in control panel but can't be changed  (Read 4395 times)

0 Members and 1 Guest are viewing this topic.

Offline sookes

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • http://www.deliasdesign.com
field shows up in control panel but can't be changed
« on: January 14, 2003, 10:18:49 PM »
I added a new field in the control panel/ member_editprofile and the information shows up if I put it in when using phpmyadmin.  THe information shows up in the control panel but it can't be changed.  The code for the new field looks just like the code for the other fields that can be changed in the control panel.  I've checked every thing I know and can't figure it out.

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
db_field_definitions.php
« Reply #1 on: January 15, 2003, 06:07:34 PM »
Did you add these fields according to the instructions inside 4iamges/includes/db_field_definitions.php ?

Offline sookes

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • http://www.deliasdesign.com
Yes, I did and I have rechecked and now I see what I did...
« Reply #2 on: January 15, 2003, 07:56:13 PM »
I added all the new fields to the database and to the additonal fields file at the same time but forgot to put this one into the editprofile form until now.  All the others work fine but now this one doesn't.  If you try to enter or alter that field, the page returns with the correct message of page updated but no changes are made in the database.

I have gone back and checked everything all over again and can see no problem.

I just rechecked and found that I had not added the correct  name to the form for that field.

<input type="text" name="DojoName"  size="30" value="{DojoName}" class="input" />

I am explaining what I did because one of the most frustrating I've found in forums is someone mentioning a problem but once they solve it themselves, no one else knows what happened.

Thanks for your response!

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
field shows up in control panel but can't be changed
« Reply #3 on: January 16, 2003, 10:28:59 AM »
Did you created the required fields in the database?

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline sookes

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • http://www.deliasdesign.com
I solved the problem.
« Reply #4 on: January 16, 2003, 03:55:25 PM »
Yes, I did.  I had simply done the form wrong.