Page 1 of 1

User without login

Posted: Fri Jul 09, 2010 5:16 pm
by antoniogarcia
Hello,
How can i do that one user start sesion directily without login? Its posible?
Can one user belong to several groups??

Thanks.

Re: User without login

Posted: Mon Jul 12, 2010 4:41 am
by steven
How can i do that one user start sesion directily without login? Its posible?
It can't be done globally, but it can be done for individual forms.
eg.
nologin.png
Then you can just call the url of that Browse Screen.
http://localhost/productionnu2/browse.p ... okup_code=

or the url of a specific record with the Edit Screen.
http://localhost/productionnu2/nubuilde ... a7ff1aa9b1


Steven



Can one user belong to several groups??
Sorry, but not at this stage. You'll need to create another group.

Re: User without login

Posted: Mon Jul 12, 2010 1:18 pm
by antoniogarcia
Thanks for your reply.
I do a form like Index, and i put in 'no login' propierty.
Then i insert into this form botton for other forms.
I think that a god solution.
What do you think??

Antonio.

Re: User without login

Posted: Mon Jul 12, 2010 6:47 pm
by steven
Antonio,

Can you explain that again please.
I'm sorry but I didn't understand.

Steven

Re: User without login

Posted: Mon Jul 12, 2010 10:54 pm
by antoniogarcia
Ok, sorry for my bad english.
My solution for an index without login:
I make a form like Index, and then put 'access without login' to yes
In this form insert 1or more button that launch other form without login.
In this case i have a index of forms without need of login.

Can i put a head image to this form??

Sorry one more time again.

Antonio.

Re: User without login

Posted: Tue Jul 13, 2010 6:28 am
by steven
Antonio,

Your solution sounds like a good idea.

To display your banner logo on your alternative Index page, put this JavaScript in the JavaScript tab on its form.

Code: Select all

function nuLoadThis() {

 var _body         = document.getElementsByTagName('body') [0];
 var _div          = document.createElement('div');

 _div.setAttribute('id','nuBanner');
 _body.appendChild(_div);

 var theBanner  = document.getElementById('nuBanner');
 theBanner.style.overflow        = 'hidden'
 theBanner.style.position        = 'absolute'
 theBanner.style.top             = '0px'
 theBanner.style.left            = '0px'
 theBanner.style.width           = '992px'
 theBanner.style.height          = '70px'

 var _img                        = document.createElement('img');
 _img.setAttribute('src','formimage.php?dir=db/sample&iid=149bf07777e6a0');
 _div.appendChild(_img);


}

(149bf07777e6a0 - needs to be the id of the image stored in zzsys_image)

good luck!


Steven