This topic is locked

Add new before login

8/26/2008 01:53:22
PHPRunner General questions
J
jmask5 author

I'm building a database for my school where students input their information and it is recorded in the database. The thing is I don't want the sutdents to see the database at all just the add new page. So I tried putting a link on the login page and it messed things up. Now whenever I login with my info it takes me right to add new instead of the list page. Just wondering what is the best way to do this??

J
Jane 8/26/2008

Hi,
you can do the following:

  • create separate security group for students (or use default) on theUser group permissions dialog on theSecurity tab
  • and assign add permissions only for this group.

J
jmask5 author 8/26/2008

Hi,

you can do the following:

  • create separate security group for students (or use default) on theUser group permissions dialog on theSecurity tab
  • and assign add permissions only for this group.


But that means the students have to login does it not? I just want the add new to be treated as an application form like a registration form without the password stuff.

J
jmask5 author 8/26/2008

Alright I understand what you meant now. I made it so that if you type default into the username area and clicked submit it would allow you just to add. I guess that should do it but if there is a way to hard code that action that would be great also. So just have link that when clicked takes them to the page where they can click on add new?

J
Jane 8/27/2008

Hi,
I see what you're saying.

Use Guest account for this purpose. To turn on Guest account check off corresponding option on the Advanced security settings dialog on the Security tab.

Also you will need to change permissions for guest account (set up add permissions only) on the User froup permissions dialog on the Security tab.

Then just open add page directly and add new record.

J
jmask5 author 8/27/2008

Thanks a lot Jane I did the Guest account thing and it works like a charm. Right now it takes me to my list page but without any list just the apply button. Is there a way to go directly to the add new page. If not then I guess that should be fine the way it is.

J
Jane 8/28/2008

Hi,
Just open add page directly and point generated index.html file to your add page.