Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: many forms...many tables

Quote Reply
Re: many forms...many tables In reply to
Hi,

1) Direct the user to add a profile at "members_profiles" afte filling up their

registration fields at "members"?????

>> You can change "signup" subroutine in Home.pm like that

sub signup {
...................
...................

# Print the welcome screen.
return $self->login();
# return $self->login_form($self->_language('MSG_SIGNUP_SUCC', $username ));
}

2) Add a button to allow them to add/delete/modify their "members_private" table.???

>> First of all, you have to create a user field for tables that you wanna add/delete/modify their's own records. After that, you must be setup the auth_user_field in admin site.

Ex: members_interview table
- Create a userid field that is auth_user_field.
- You have to add a hidden input <input name='userid' type=hidden value='<%user_name%>'> in add_form.html, modify_search_form.html, delete_search_form.html.

It will be add/modify/delete their's own records.

Cheers.

Subject Author Views Date
Thread many forms...many tables lubatico 2616 Aug 21, 2001, 11:25 AM
Thread Re: many forms...many tables
911 2512 Aug 21, 2001, 9:52 PM
Post Re: many forms...many tables
lubatico 2469 Aug 22, 2001, 7:59 AM