Hi Dan,
Dan wrote:
I have added a field to the PlumUser table called ParentUserID (int, 4)
What are you using for a database? Is this a manual add or via synchronization?
In the Plum IDE, I expand Modules, expand Plum User, expand
PluUserEditForm.cfm, select Edit Form: Plum User
Where is the path pointing to? Are you pointing back into the users folder in the admin directory, or is your module
path outside of admin?
One thing I would recommend: You might want to get into the habit of eliminating spaces in folder names and templates,
because the web doesn't like spaces in links, and if you don't URLEncode() all your links, you are bound to run into
problems down the road.
My new field PlumUser.ParentUserID shows in the “Controls not on this
form” box. I select if and click the arrow to move it to “Controls on
this form”. And then move it up to the top under the existing UserID
control.
I then run Generate Code, then Save.
I then go to my browser and login to the Admin site. I select Users, and
then Edit a User. The ParentUserID does NOT appear on the Edit form.
Did you open the template in your code editor to confirm the generated template
has the ParentUserID in it?
I then select Database and select Plum Users, get a list of users and
select my user to Edit, AND THERE IT IS, ParentUserID is showing on this
form—which appears to be the same PlumUserEditFrom, but contains the
filed, when if I select Users and Edit it does not show.
Check your module path and make sure it is pointing to where you think it is. If your Plum User module is not pointing
at the admin/users directory. Look at the path in the status bar when you move your mouse over the link in the Database
navbar and confirm whether it is pointing to admin/users. It sounds like you may have your module outside of admin.
I like to open a newly generated template in my Homesite or (whatever you use) to look at the code and confirm I got
what I expected. This also helps to confirm it was generated where you expect it to be.
v/r,
Jeff
Dan Kaufman
//An Elephant Never Forgets//
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
**********************************************************************
You can subscribe to and unsubscribe from lists, and you can change
your subscriptions between normal and digest modes here:
http://www.productivityenhancement.com/support/DiscussionListsForm.cfm
**********************************************************************